|
|
(9 intermediate revisions by 2 users not shown) |
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 |
| [[Category:Beginner pages]]</includeonly><noinclude>
| | | type=notice |
| 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]].
| | | 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.{{#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|}}}]].|}}}} |
| == Usage ==
| | }}</includeonly>{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:beginner||[[Category:Beginner pages]]}}<noinclude> |
| This template should be placed at the top of the page, with a single unnamed argument that indicates the corresponding expert page.
| | {{documentation}} |
| | |
| For example, on the "[[Regular temperament]]" page, you could add the template like this:
| |
| | |
| : <code><nowiki>{{Beginner|Mathematical theory of regular temperaments}}</nowiki></code>
| |
| | |
| to obtain:
| |
| | |
| {{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:
| |
| | |
| {{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:
| |
| | |
| {{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.}} | |
| | |
| == See also ==
| |
| * [[Template:Expert]]
| |
|
| |
|
| [[Category:Message boxes]] | | [[Category:Message boxes]] |
| </noinclude> | | </noinclude> |