Difference between revisions of "Template:Toponym tag"

From The Coppermind
Jump to navigation Jump to search
m (The demonym part is causing some silly things (like Geranid being put in the Reshi category instead of the one for residents of the Reshi Isles); added tracking cat to take a look at things)
m (Filter out ones coming from world parameters)
Line 2: Line 2:
 
-->|[[{{toponym link|{{{1}}}|}}|{{ucfirst:{{toponym|{{{1}}}|}}}}]]<!--
 
-->|[[{{toponym link|{{{1}}}|}}|{{ucfirst:{{toponym|{{{1}}}|}}}}]]<!--
 
-->{{#if:{{demonym|{{{1}}}|}}<!--
 
-->{{#if:{{demonym|{{{1}}}|}}<!--
-->|[[Category: {{demonym|{{{1}}}|plural=y}}]][[Category:toponym tag - using demonym]]<!--
+
-->|[[Category: {{demonym|{{{1}}}|plural=y}}]]{{#if:{{{2|}}}|[[Category:toponym tag - using demonym]]|}}<!--
 
-->|{{#if:{{{2|}}}<!--
 
-->|{{#if:{{{2|}}}<!--
 
-->|[[Category: {{{2}}} {{toponym|{{{1}}}|}}]]<!--
 
-->|[[Category: {{{2}}} {{toponym|{{{1}}}|}}]]<!--

Revision as of 17:16, 28 April 2020


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}}