Difference between revisions of "Template:Toponym tag"

m
tweaks
(try)
m (tweaks)
-->|{{#if:{{{2|}}}<!--
-->|[[Category: {{{2}}} of {{toponym|{{{1}}}|}}]]<!--
-->|{{toponym tag/empty missing category|{{{1}}}|}}<!--
-->}}<!--
-->}}<!--
-->}}</includeonly><noinclude>
 
This template should be used to link to a place and add the page to a plural-demonymusdemonym 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>{{t[[Template: demonym tag|demonym tag]]}}</code>
 
[[Category: Link macros]]
40,275

edits