Template:Beginner/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
See also: Link to quickstart templates; they're related, right?
Ganaram inukshuk (talk | contribs)
Simplify (subst-ify) sample mboxes
Line 12: Line 12:
| type=notice
| type=notice
| icon=Icon-Beginner.png
| icon=Icon-Beginner.png
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.{{#if: Mathematical theory of regular temperaments|{{#ifeq: Mathematical theory of regular temperaments|noexpert|<br />No corresponding expert page currently exists for this topic.|<br />The corresponding expert page for this topic is [[Mathematical theory of regular temperaments]].|}}}}
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.<br />The corresponding expert page for this topic is [[Mathematical theory of regular temperaments]].
}}
}}


Line 20: Line 20:
| type=notice
| type=notice
| icon=Icon-Beginner.png
| icon=Icon-Beginner.png
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.{{#if: |{{#ifeq: |noexpert|<br />No corresponding expert page currently exists for this topic.|<br />The corresponding expert page for this topic is [[]].|}}}}
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.
}}
}}


Line 28: Line 28:
| type=notice
| type=notice
| icon=Icon-Beginner.png
| icon=Icon-Beginner.png
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.{{#if: noexpert|{{#ifeq: noexpert|noexpert|<br />No corresponding expert page currently exists for this topic.|<br />The corresponding expert page for this topic is [[noexpert]].|}}}}
| text='''This is a [[:Category:Beginner pages|beginner page]].''' It is written to allow new readers to learn about the basics of the topic easily.<br />No corresponding expert page currently exists for this topic.
}}
}}



Revision as of 08:44, 19 September 2024

Usage

This template should be placed at the top of the page, with a single unnamed argument that indicates the corresponding expert page.

For example, on the "Regular temperament" page, you could add the template like this:

{{Beginner|Mathematical theory of regular temperaments}}

to obtain:

This is a beginner page. It is written to allow new readers to learn about the basics of the topic easily.
The corresponding expert page for this topic is Mathematical theory of regular temperaments.

Using the template without providing an argument will produce:

This is a beginner page. It is written to allow new readers to learn about the basics of the topic easily.

Passing noexpert as the first argument will produce:

This is a beginner page. It is written to allow new readers to learn about the basics of the topic easily.
No corresponding expert page currently exists for this topic.

See also