Difference between revisions of "Template:Location"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 3: Line 3:
 
|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}<!--
 
|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}<!--
   
ethnicity
 
 
-->{{#if:{{{ethnicity|}}}|{{row/kv|Ethnicity|{{{ethnicity}}}|}}|}}<!--
 
-->{{#if:{{{ethnicity|}}}|{{row/kv|Ethnicity|{{{ethnicity}}}|}}|}}<!--
 
-->{{#if:{{{capital|}}}|{{row/kv|Capital|{{{capital}}}|}}|}}<!--
 
-->{{#if:{{{capital|}}} |{{row/kv|Capital |{{{capital}}} |}}|}}<!--
+
-->{{#if:{{{ruler|}}} |{{row/kv|Ruler |{{{ruler}}} |}}|}}<!--
-->{{#if:{{{ruler|}}} |{{row/kv|Ruler |{{{ruler}}} |}}|}}<!--
 
   
 
location
 
location
-->{{#if:{{{city|}}} |{{row/kv|City |{{{city}}} |}}|}}<!--
+
-->{{#if:{{{raw-city|}}} |{{row/kv|City |{{{raw-city}}}|}} |{{#if:{{{city|}}} |{{row/kv|City |{{tag|{{{city}}} |}}|}}|}}
-->{{#if:{{{state|}}} |{{row/kv|State |{{{state}}} |}}|}}<!--
+
-->{{#if:{{{raw-state|}}} |{{row/kv|State |{{{raw-state}}}|}} |{{#if:{{{state|}}} |{{row/kv|State |{{tag|{{{state}}} |}}|}}|}}
-->{{#if:{{{region|}}} |{{row/kv|Region |{{{region}}} |}}|}}<!--
+
-->{{#if:{{{raw-region|}}}|{{row/kv|Region|{{{raw-region}}}|}}|{{#if:{{{region|}}}|{{row/kv|Region|{{tag|{{{region}}}|}}|}}|}}
-->{{#if:{{{nation|}}} |{{row/kv|Nation |{{{nation}}} |}}|}}<!--
+
-->{{#if:{{{raw-nation|}}}|{{row/kv|Nation|{{{raw-nation}}}|}}|{{#if:{{{nation|}}}|{{row/kv|Nation|{{tag|{{{nation}}}|}}|}}|}}
-->{{row/kv|World|{{{raw-world|{{#if:{{{world|}}}|{{tag|{{{world}}}|}}|''Unknown''}}|}}}|}}<!--
+
-->{{#if:{{{raw-world|}}} |{{row/kv|World |{{{raw-world}}}|}} |{{#if:{{{world|}}} |{{row/kv|World |{{tag|{{{world}}} |}}|}}|}}
-->{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} |}}|}}<!--
+
-->{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}}|}}|}}<!--
   
 
featured in
 
featured in
Line 26: Line 24:
 
-->{{#if:{{{country|}}}|[[Category: infobox.country]]}}<!--
 
-->{{#if:{{{country|}}}|[[Category: infobox.country]]}}<!--
 
-->{{#if:{{{era|}}}|[[Category: infobox.era]]}}<!--
 
-->{{#if:{{{era|}}}|[[Category: infobox.era]]}}<!--
  +
-->{{#if:{{{universe|}}}|[[Category: infobox.universe]]}}<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>

Revision as of 12:05, 28 November 2014

{{infobox |title=Location |{{#if: | |- class="kv" ! | City | | {{{raw-city}}} |- | -->{{#if: | |- class="kv" ! | State | | {{{raw-state}}} |- | -->{{#if:| |- class="kv" ! | Region | | {{{raw-region}}} |-| -->{{#if:| |- class="kv" ! | Nation | | {{{raw-nation}}} |-| -->--> |- 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.