Difference between revisions of "Template:Toponym tag"

m
no edit summary
m (try breaking it again)
m
 
(11 intermediate revisions by 2 users not shown)
<includeonly><span class="cm-tag cm-toponym-tag">{{#if:{{toponym|{{{1}}}|}}<!--
-->|[[{{toponym|{{{1}}}| link=y}}|{{toponym|{{{1}}}|}}]]<!--
-->{{#if:{{demonym{2|{{{1}}}|}}<!--
-->|[[Category:{{cat ns|{{demonym{2}}} {{toponym|{{{1}}}|plural=yes}}]]}}<!--
-->|{{#if:{{{2demonym|{{{1}}}|}}<!--
-->|[[Category: {{{2}}} ofcat ns|{{toponymdemonym|{{{1}}}|linkplural=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>This template should be used to[[category: link to a place and add the page to a plural-demonym categorymacros]]
 
This template should be used to link to a place and add the page to a plural-demonym category
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>
 
It uses {{t|toponym}} to generate a link and the category is either <code>[[category: {{[[template: demonym|demonym]]|plural=yesy}}]]</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 <code>{{[[Template: demonym tag|demonym tag]]}}</code>
 
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full list of pages using this template|here}}
[[Category: Link macros]]