Template:Beginner/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
Simplify (subst-ify) sample mboxes
ArrowHead294 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by 2 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><nowiki>{{Beginner|Mathematical theory of regular temperaments}}</nowiki></code>
<pre>{{Beginner|Mathematical theory of regular temperaments}}</pre>


to obtain:
to obtain:
Line 12: Line 14:
| type=notice
| type=notice
| icon=Icon-Beginner.png
| 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]].
| 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]].
}}
}}


Line 28: Line 30:
| type=notice
| type=notice
| icon=Icon-Beginner.png
| 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.
| 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:Quickstart]]
* [[Template: Has quickstart]]
* [[Template:Has quickstart]]