Difference between revisions of "Template:Location"
Jump to navigation
Jump to search
m |
m (replace toponym tag with place tag) |
||
Line 9: | Line 9: | ||
location |
location |
||
-->{{#if:{{{raw-city|}}} |{{row/kv|City |{{{raw-city}}}<!-- -->[[Category: infobox.raw-city]]<!-- -->}}|}}<!-- |
-->{{#if:{{{raw-city|}}} |{{row/kv|City |{{{raw-city}}}<!-- -->[[Category: infobox.raw-city]]<!-- -->}}|}}<!-- |
||
− | -->{{#if:{{{city|}}} |{{row/kv|City |{{tag |
+ | -->{{#if:{{{city|}}} |{{row/kv|City |{{place tag|{{{city}}}|}}[[Category: infobox.city]]<!-- -->}}|}}<!-- |
-->{{#if:{{{raw-state|}}} |{{row/kv|State |{{{raw-state}}}<!-- -->[[Category: infobox.raw-state]]<!-- -->}}|}}<!-- |
-->{{#if:{{{raw-state|}}} |{{row/kv|State |{{{raw-state}}}<!-- -->[[Category: infobox.raw-state]]<!-- -->}}|}}<!-- |
||
− | -->{{#if:{{{state|}}} |{{row/kv|State |{{tag |
+ | -->{{#if:{{{state|}}} |{{row/kv|State |{{place tag|{{{state}}}|}}[[Category: infobox.state]]<!-- -->}}|}}<!-- |
-->{{#if:{{{dominance|}}} |{{row/kv|Dominance |{{tag|{{{dominance}}} Dominance}}<!-- -->}}|}}<!-- |
-->{{#if:{{{dominance|}}} |{{row/kv|Dominance |{{tag|{{{dominance}}} Dominance}}<!-- -->}}|}}<!-- |
||
-->{{#if:{{{princedom|}}} |{{row/kv|Princedom |{{tag|{{{princedom}}} princedom}}<!-- -->}}|}}<!-- |
-->{{#if:{{{princedom|}}} |{{row/kv|Princedom |{{tag|{{{princedom}}} princedom}}<!-- -->}}|}}<!-- |
||
-->{{#if:{{{raw-region|}}}|{{row/kv|Region |{{{raw-region}}}<!-- -->[[Category: infobox.raw-region]]<!-- -->}}|}}<!-- |
-->{{#if:{{{raw-region|}}}|{{row/kv|Region |{{{raw-region}}}<!-- -->[[Category: infobox.raw-region]]<!-- -->}}|}}<!-- |
||
− | -->{{#if:{{{region|}}} |{{row/kv|Region |{{tag |
+ | -->{{#if:{{{region|}}} |{{row/kv|Region |{{place tag|{{{region}}}|}}[[Category: infobox.region]]<!-- -->}}|}}<!-- |
-->{{#if:{{{raw-nation|}}}|{{row/kv|Nation |{{{raw-nation}}}<!-- -->[[Category: infobox.raw-nation]]<!-- -->}}|}}<!-- |
-->{{#if:{{{raw-nation|}}}|{{row/kv|Nation |{{{raw-nation}}}<!-- -->[[Category: infobox.raw-nation]]<!-- -->}}|}}<!-- |
||
− | -->{{#if:{{{nation|}}} |{{row/kv|Nation |{{tag |
+ | -->{{#if:{{{nation|}}} |{{row/kv|Nation |{{place tag|{{{nation}}}|}}<!-- -->}}|}}<!-- |
-->{{#if:{{{raw-world|}}} |{{row/kv|World |{{{raw-world}}}<!-- -->[[Category: infobox.raw-world]]<!-- -->}}|}}<!-- |
-->{{#if:{{{raw-world|}}} |{{row/kv|World |{{{raw-world}}}<!-- -->[[Category: infobox.raw-world]]<!-- -->}}|}}<!-- |
||
-->{{#if:{{{earth|}}} |{{row/kv|World |[[Earth ({{{earth}}})]][[Category: {{{earth}}} places]]<!-- -->}}|}}<!-- |
-->{{#if:{{{earth|}}} |{{row/kv|World |[[Earth ({{{earth}}})]][[Category: {{{earth}}} places]]<!-- -->}}|}}<!-- |
||
− | -->{{#if:{{{world|}}} |{{row/kv|World |{{tag |
+ | -->{{#if:{{{world|}}} |{{row/kv|World |{{place tag|{{{world}}}|}}<!-- -->}}|}}<!-- |
-->{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}}<!-- -->[[Category: infobox.universe]]<!-- -->}}|}}<!-- |
-->{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}}<!-- -->[[Category: infobox.universe]]<!-- -->}}|}}<!-- |
||
Revision as of 19:29, 2 December 2014
Location | |
---|---|
Featured In | {{{books}}} |
This template allows you to include information about a country, city, geographical landmark, building, or other place on its article.
There are two required parameters, the {{{world}}} that the place inhabits, and the {{{books}}} or series the place is set upon. A number of optional parameters allow you to pinpoint the location to a particular {{{region}}}, {{{country}}}, {{{capital}}} or {{{city}}}. {{{capital}}} should be used when talking about countries, {{{city}}} should be used when talking about places inside a city. Another parameter allows you to define the {{{era}}} or time period the place existed in.
An advanced field {{{location}}} allows you to add {{row/kv}}
s directly, and {{{place}}} allows you to change the box heading.