Difference between revisions of "Template:Toponym tag"

From The Coppermind
Jump to navigation Jump to search
(try)
m (tweaks)
Line 5: Line 5:
 
-->|{{#if:{{{2|}}}<!--
 
-->|{{#if:{{{2|}}}<!--
 
-->|[[Category: {{{2}}} of {{toponym|{{{1}}}|}}]]<!--
 
-->|[[Category: {{{2}}} of {{toponym|{{{1}}}|}}]]<!--
-->|{{tag/empty}}<!--
+
-->|{{toponym tag missing category|{{{1}}}|}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}<!--
 
-->}}<!--
Line 11: Line 11:
 
-->}}</includeonly><noinclude>
 
-->}}</includeonly><noinclude>
   
This template should be used to link to a place and add the page to a plural-demonymus category
+
This template should be used to link to a place and add the page to a plural-demonym category
Uses {{t|toponym}} and {{t|demonym|plural=yes}}
 
   
  +
It uses {{t|toponym}} to generate a link and the category is either <code>[[category: {{[[template: demonym|demonym]]|plural=yes}}]]</code> or <code>[[category: {{{2}}} of {{[[template: toponym|toponym]]|{{{1}}}|}}]]</code>
If you wish to tag as a toponym use {{t|place tag}}, if you wish to tag a demonym use {{t|demonym tag}}
 
  +
 
If you wish to tag as a toponym use {{t|place tag}}, if you wish to tag a demonym use <code>{{[[Template: demonym tag|demonym tag]]}}</code>
   
 
[[Category: Link macros]]
 
[[Category: Link macros]]

Revision as of 12:07, 20 December 2017


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=yes}}]] 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}}