Template:Expert/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
don't overcomplicate code as it makes it unreadable in source view; substitute templates to keep documentation from being categorized under expert pages
Ganaram inukshuk (talk | contribs)
uncategorize
Line 14: Line 14:
| 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.{{#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]].|}}}}
}}
}}
[[Category:Expert pages]]


Using the template without providing an argument will produce:
Using the template without providing an argument will produce:
Line 23: Line 22:
| 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.{{#if: |{{#ifeq: |nobeginner|<br />No corresponding beginner page currently exists for this topic.|<br />The corresponding beginner page for this topic is [[]].|}}}}
}}
}}
[[Category:Expert pages]]


Passing <code>nobeginner</code> as the first argument will produce:
Passing <code>nobeginner</code> as the first argument will produce:
Line 32: Line 30:
| 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.{{#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]].|}}}}
}}
}}
[[Category:Expert pages]]


=== See also ===
=== See also ===
* [[Template:Beginner]]
* [[Template:Beginner]]
* [[Template:Technical data]]
* [[Template:Technical data]]