Editing Template:Toponym tag
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | <includeonly |
+ | <includeonly>{{#if:{{toponym|{{{1}}}|}}<!-- |
− | -->|{{toponym link|{{{1}}}}}<!-- |
+ | -->|[[{{toponym link|{{{1}}}|}}|{{toponym|{{{1}}}|}}]]<!-- |
− | -->{{#if:{{ |
+ | -->{{#if:{{demonym|{{{1}}}|}}<!-- |
− | -->| |
+ | -->|[[Category: {{demonym|{{{1}}}|plural=y}}]]<!-- |
− | -->|{{#if:{{ |
+ | -->|{{#if:{{{2|}}}<!-- |
− | -->|{{ |
+ | -->|[[Category: {{{2}}} {{toponym link|{{{1}}}|}}]]<!-- |
− | -->|{{ |
+ | -->|{{toponym tag missing category|{{{1}}}|}}<!-- |
− | -->|mirandus={{cat ns|Dark One characters}}<!-- |
||
− | -->|{{toponym tag missing category|{{{1}}}|}}<!-- |
||
− | -->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->|<span class="error" title="{{tag/toponym}}">?</span><!-- |
-->|<span class="error" title="{{tag/toponym}}">?</span><!-- |
||
− | -->}} |
+ | -->}}</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-demonym 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> |
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> |
||
Line 20: | Line 15: | ||
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> |
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]] |
||
− | {{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full list of pages using this template|here}} |