Template:Beginner/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}{{substitute|no}}
The '''Beginner''' template adds a [[Template:Mbox|message box]] to inform readers of pages targeted towards a beginner audience. If a corresponding expert page exists, it may also be presented in that box. It also places the page in [[:Category: Beginner pages]].
 
=== Usage ===
=== Usage ===
This template should be placed at the top of the page, with a single unnamed argument that indicates the corresponding expert page.
This template should be placed at the top of the page, with a single unnamed argument that indicates the corresponding expert page.
Line 5: Line 7:
For example, on the "[[Regular temperament]]" page, you could add the template like this:
For example, on the "[[Regular temperament]]" page, you could add the template like this:


: <code>{{((}}Beginner{{!}}Mathematical theory of regular temperaments{{))}}</code>
<pre>{{Beginner|Mathematical theory of regular temperaments}}</pre>


to obtain:
to obtain:


{{{{ROOTPAGENAME}}|Mathematical theory of regular temperaments}}
{{Mbox
| type=notice
| icon=Icon-Beginner.png
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.<br>The corresponding expert page for this topic is [[Mathematical theory of regular temperaments]].
}}


Using the template without providing an argument will produce:
Using the template without providing an argument will produce:


{{{{ROOTPAGENAME}} }}
{{Mbox
| type=notice
| icon=Icon-Beginner.png
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.
}}


Passing <code>noexpert</code> as the first argument will produce:
Passing <code>noexpert</code> as the first argument will produce:


{{{{ROOTPAGENAME}}|noexpert}}
{{Mbox
| type=notice
| icon=Icon-Beginner.png
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.<br>No corresponding expert page currently exists for this topic.
}}


=== See also ===
=== See also ===
* [[Template:Expert]]
* [[Template: Expert]]
* [[Template:Technical data]]
* [[Template: Quickstart]]
* [[Template: Has quickstart]]