Difference between revisions of "Template:Location"
m |
m |
||
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 |{{toponym tag|{{{city}}}|}}<!-- |
+ | -->{{#if:{{{city|}}} |{{row/kv|City |{{toponym 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 |{{toponym tag|{{{state}}}|}}<!- |
+ | -->{{#if:{{{state|}}} |{{row/kv|State |{{toponym 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}}<!-- -->}}|}}<!-- |
Revision as of 18:13, 2 December 2014
{{infobox |title=Location |{{#if: |{{row/kv|City |?[[Category: infobox.city}}|}} |- class="kv" ! | 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.