Template:Expert: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Oops
Ganaram inukshuk (talk | contribs)
Added icon
Line 1: Line 1:
<includeonly>{{Mbox|type=notice|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.{{#if: {{{1|}}}|{{#ifeq: {{{1|}}}|nobeginner|<br>No corresponding beginner page currently exists for this topic.|<br>The corresponding expert page for this topic is [[{{{1|}}}]].|}}}}}}
<includeonly>{{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.{{#if: {{{1|}}}|{{#ifeq: {{{1|}}}|nobeginner|<br>No corresponding beginner page currently exists for this topic.|<br>The corresponding expert page for this topic is [[{{{1|}}}]].|}}}}}}
[[Category:Expert pages]]</includeonly><noinclude>
[[Category:Expert pages]]</includeonly><noinclude>
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]].
Line 12: Line 12:
to obtain:
to obtain:


{{Mbox|type=notice|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.
{{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.


The corresponding beginner page for this topic is [[Regular temperament]].}}
The corresponding beginner page for this topic is [[Regular temperament]].}}
Line 18: Line 18:
Using the template without providing an argument will produce:
Using the template without providing an argument will produce:


{{Mbox|type=notice|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.}}
{{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:


{{Mbox|type=notice|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.}}
{{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 ==

Revision as of 00:36, 11 May 2024

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|Mathematical theory of regular temperaments}}

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.

See also