Difference between revisions of "Template:Toponym tag"
Tag: Undo |
m |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{toponym|{{{1}}}|}}<!-- |
<includeonly><span class="cm-tag cm-toponym-tag">{{#if:{{toponym|{{{1}}}|}}<!-- |
||
-->| |
-->|{{toponym link|{{{1}}}}}<!-- |
||
-->{{#if:{{ |
-->{{#if:{{{2|}}}<!-- |
||
-->| |
-->|{{cat ns|{{{2}}} {{toponym|{{{1}}}|}}}}<!-- |
||
-->|{{#if:{{ |
-->|{{#if:{{demonym|{{{1}}}|}}<!-- |
||
-->| |
-->|{{cat ns|{{demonym|{{{1}}}|plural=y}}}}<!-- |
||
-->|{{ |
-->|{{#switch:{{lc:{{{1}}}}}<!-- |
||
-->|mirandus={{cat ns|Dark One characters}}<!-- |
|||
-->|{{toponym tag missing category|{{{1}}}|}}<!-- |
|||
-->}}<!-- |
|||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->|<span class="error" title="{{tag/toponym}}">?</span><!-- |
-->|<span class="error" title="{{tag/toponym}}">?</span><!-- |
||
-->}}</includeonly><noinclude>[[category: link macros]] |
-->}}</span></includeonly><noinclude>[[category: link macros]] |
||
This template should be used to link to a place and add the page to a plural-demonym category |
This template should be used to link to a place and add the page to a plural-demonym category |
Latest revision as of 22:12, 8 March 2024
This template should be used to link to a place and add the page to a plural-demonym category
It uses {{toponym}}
to generate a link and the category is either [[category: {{demonym|plural=y}}]
or [[category: {{{2}}} of {{toponym|{{{1}}}|}}]]
If you wish to tag as a toponym use {{place tag}}
, if you wish to tag a demonym use {{demonym tag}}