Template:Expert/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
Simplify (subst-ify) sample mboxes
ArrowHead294 (talk | contribs)
m Use "pre" instead
Line 1: Line 1:
{{dochead}}
{{dochead}}
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><nowiki>{{Expert|Mathematical theory of regular temperaments}}</nowiki></code>
<pre>{{Expert|Mathematical theory of regular temperaments}}</pre>


to obtain:
to obtain: