Difference between revisions of "Template:Toponym tag"

From The Coppermind
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{toponym|{{{1}}}|}}<!-- -->|[[{{toponym|{{{1}}}|}}]]<!-- -->{{#if:{{demonym|{{{1}}}|}}<!-- -->|[[Category: {{demonym|{{{1}}}|plural=yes}}]]<!-- -->|[...")
 
m (tweaks)
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#if:{{toponym|{{{1}}}|}}<!--
 
<includeonly>{{#if:{{toponym|{{{1}}}|}}<!--
-->|[[{{toponym|{{{1}}}|}}]]<!--
+
-->|[[{{toponym link|{{{1}}}|}}|{{toponym|{{{1}}}|}}]]<!--
 
-->{{#if:{{demonym|{{{1}}}|}}<!--
 
-->{{#if:{{demonym|{{{1}}}|}}<!--
-->|[[Category: {{demonym|{{{1}}}|plural=yes}}]]<!--
+
-->|[[Category: {{demonym|{{{1}}}|plural=y}}]]<!--
-->|[[Category: Broken demonym]]<!--
+
-->|{{#if:{{{2|}}}<!--
  +
-->|[[Category: {{{2}}} {{toponym link|{{{1}}}|}}]]<!--
  +
-->|{{toponym tag missing category|{{{1}}}|}}<!--
  +
-->}}<!--
 
-->}}<!--
 
-->}}<!--
-->|[[Category: Broken toponym]]<!--
+
-->|<span class="error" title="{{tag/toponym}}">?</span><!--
-->}}</includeonly><noinclude>
+
-->}}</includeonly><noinclude>This template should be used to link to a place and add the page to a plural-demonym category
  +
This template should be used to link to a place and add the page to a plural-demonymus category
 
  +
It uses {{t|toponym}} to generate a link and the category is either <code>[[category: {{[[template: demonym|demonym]]|plural=y}}]</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>
   
 
[[Category: Link macros]]
 
[[Category: Link macros]]

Revision as of 20:27, 18 April 2019

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