Template:Expert/doc: Difference between revisions

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


: <code>{{((}}Expert{{pipe}}Mathematical theory of regular temperaments{{))}}</code>
<pre>{{Expert|Regular temperament}}</pre>


to obtain:
to obtain:


{{{{ROOTPAGENAME}}|Mathematical theory of regular temperaments}}
{{Mbox
| type=notice
| icon=Icon-Expert.png
| text='''This is an [[:Category:Expert pages|expert page]].''' It is written to allow experienced readers to learn more about the advanced elements of the topic.<br>The corresponding beginner page for this topic is [[Regular temperament]].
}}


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


{{{{ROOTPAGENAME}} }}
{{Mbox
| type=notice
| icon=Icon-Expert.png
| text='''This is an [[:Category:Expert pages|expert page]].''' It is written to allow experienced readers to learn more about the advanced elements of the topic.
}}


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


{{{{ROOTPAGENAME}}|nobeginner}}
{{Mbox
| type=notice
| icon=Icon-Expert.png
| text='''This is an [[:Category:Expert pages|expert page]].''' It is written to allow experienced readers to learn more about the advanced elements of the topic.<br>No corresponding beginner page currently exists for this topic.
}}


=== See also ===
=== See also ===
* [[Template:Beginner]]
* [[Template: Beginner]]
* [[Template:Technical data]]