Difference between revisions of "Template:Toponym tag"

m
no edit summary
(I think swapping the order of these if statements will fix the residents categories without causing any other problems)
m
 
(3 intermediate revisions by 2 users not shown)
<includeonly><span class="cm-tag cm-toponym-tag">{{#if:{{toponym|{{{1}}}|}}<!--
-->|[[{{toponym link|{{{1}}}|}}|{{ucfirst:{{toponym|{{{1}}}|}}}}]]<!--
-->{{#if:{{{2|}}}<!--
-->|[[Category:{{cat ns|{{{2}}} {{toponym|{{{1}}}|}}]]}}<!--
-->|{{#if:{{demonym|{{{1}}}|}}<!--
-->|[[Category:{{cat ns|{{demonym|{{{1}}}|plural=y}}]]}}<!--
-->|{{toponym tag missing category|#switch:{{lc:{{{1}}}|}}<!--
-->|mirandus={{cat ns|Dark One characters}}<!--
-->|{{toponym tag missing category|{{{1}}}|}}<!--
-->}}<!--
-->}}<!--
-->}}<!--
-->|<span class="error" title="{{tag/toponym}}">?</span><!--
-->}}</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