Template:Beginner: Difference between revisions
ArrowHead294 (talk | contribs) No edit summary |
ArrowHead294 (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{Mbox|type=notice|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.{{#if: {{{1|}}}|{{#ifeq: {{{1|}}}|noexpert|<br>No corresponding expert page currently exists for this topic.|<br>The corresponding expert page for this topic is [[{{{1|}}}]].|}}}}}} | <includeonly>{{Mbox|type=notice|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{{#if: {{{2|}}}|, {{{2|}}}|.}}{{#if: {{{1|}}}|{{#ifeq: {{{1|}}}|noexpert|<br>No corresponding expert page currently exists for this topic.|<br>The corresponding expert page for this topic is [[{{{1|}}}]].|}}}}}} | ||
[[Category:Beginner pages]]</includeonly><noinclude> | [[Category:Beginner pages]]</includeonly><noinclude> | ||
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]]. | 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]]. | ||
| Line 6: | Line 6: | ||
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. | ||
For example, | For example, the "[[Regular temperament]]" page has the template added in this form: | ||
: <code><nowiki>{{Beginner|Mathematical theory of regular temperaments}}</nowiki></code> | : <code><nowiki>{{Beginner|Mathematical theory of regular temperaments}}</nowiki></code> | ||
| Line 14: | Line 14: | ||
{{Mbox|type=notice|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]].}} | {{Mbox|type=notice|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 (<code><nowiki>{{Beginner}}</nowiki></code>) will produce: | ||
{{Mbox|type=notice|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.}} | {{Mbox|type=notice|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 (<code><nowiki>{{Beginner|noexpert}}</nowiki></code>) will produce: | ||
{{Mbox|type=notice|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.}} | {{Mbox|type=notice|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.}} | ||
The second argument can be used to add onto the top line of the template. For example, | |||
== See also == | == See also == | ||
| Line 26: | Line 28: | ||
[[Category:Message boxes]] | [[Category:Message boxes]] | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> | ||