Template:Expert/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
uncategorize
Ganaram inukshuk (talk | contribs)
Simplify (subst-ify) sample mboxes
Line 12: Line 12:
| 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.{{#if: Mathematical theory of regular temperaments|{{#ifeq: Mathematical theory of regular temperaments|nobeginner|<br />No corresponding beginner page currently exists for this topic.|<br />The corresponding beginner page for this topic is [[Mathematical theory of regular temperaments]].|}}}}
| 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 [[Mathematical theory of regular temperaments]].
}}
}}


Line 20: Line 20:
| 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.{{#if: |{{#ifeq: |nobeginner|<br />No corresponding beginner page currently exists for this topic.|<br />The corresponding beginner page for this topic is [[]].|}}}}
| 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.
}}
}}


Line 28: Line 28:
| 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.{{#if: nobeginner|{{#ifeq: nobeginner|nobeginner|<br />No corresponding beginner page currently exists for this topic.|<br />The corresponding beginner page for this topic is [[nobeginner]].|}}}}
| 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.
}}
}}



Revision as of 08:45, 19 September 2024

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

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