Template:Expert/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) m Use "pre" instead |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by 2 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]]. | 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 === | ||
Line 7: | 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: | ||
<pre>{{Expert| | <pre>{{Expert|Regular temperament}}</pre> | ||
to obtain: | to obtain: | ||
Line 14: | Line 14: | ||
| type=notice | | type=notice | ||
| icon=Icon-Expert.png | | 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 | | 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]]. | ||
}} | }} | ||
Line 30: | Line 30: | ||
| type=notice | | type=notice | ||
| icon=Icon-Expert.png | | 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 | | 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]] | ||
Latest revision as of 21:45, 25 May 2025
![]() |
This template should not be substituted. |
The Expert template adds a 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
This template should be placed at the top of the page, with a single unnamed argument that indicates the corresponding beginner page.
For example, on the "Mathematical theory of regular temperaments" page, you could add the template like this:
{{Expert|Regular temperament}}
to obtain:
![]() |
This is an expert page. It is written to allow experienced readers to learn more about the advanced elements of the topic. The corresponding beginner page for this topic is Regular temperament. |
Using the template without providing an argument will produce:
![]() |
This is an expert page. It is written to allow experienced readers to learn more about the advanced elements of the topic. |
Passing nobeginner
as the first argument will produce:
![]() |
This is an expert page. It is written to allow experienced readers to learn more about the advanced elements of the topic. No corresponding beginner page currently exists for this topic. |