Difference between revisions of "Template:Location"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{infobox
 
{{infobox
|title={{{place|{{PAGENAME}}|}}}<includeonly>[[Category:Places]]</includeonly>
+
|title={{{place|{{PAGENAME}}|}}}<includeonly>[[Category: Places]]</includeonly>
 
|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}<!--
 
|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}<!--
 
location
 
-->{{#if:{{{region|}}}|{{row/kv|Region|{{{region}}}|}}|}}<!--
 
-->{{#if:{{{country|}}}|{{row/kv|Country|{{{country}}}|}}|}}<!--
 
-->{{#if:{{{city|}}}|{{row/kv|City|{{{city}}}|}}|}}<!--
 
-->{{#if:{{{capital|}}}|{{row/kv|Capital|{{{capital}}}|}}|}}<!--
 
-->{{#if:{{{ruler|}}}|{{row/kv|Ruler|{{{ruler}}}|}}|}}<!--
 
-->{{{location|}}}<!--
 
-->{{row/kv|World|{{{raw-world|{{#if:{{{world|}}}|{{tag|{{{world}}}|cat={{{world}}}|}}|''Unknown''}}|}}}|}}<!--
 
-->{{#if:{{{universe|}}}|{{row/kv|Universe|{{{universe}}}|}}|}}<!--
 
   
 
time-period
 
time-period
 
-->{{#if:{{{era|}}}|{{row/kv|Era|{{{era}}}|}}|}}<!--
 
-->{{#if:{{{era|}}}|{{row/kv|Era|{{{era}}}|}}|}}<!--
   
  +
ethnicity
ethnicity -->{{#if:{{{ethnicity|}}}|{{row/kv|Ethnicity|{{{ethnicity}}}|}}|}}<!--
+
-->{{#if:{{{ethnicity|}}}|{{row/kv|Ethnicity|{{{ethnicity}}}|}}|}}<!--
  +
 
location
 
-->{{{location|}}}<!--
 
-->{{#if:{{{capital|}}} |{{row/kv|Capital |{{{capital}}} |}}|}}<!--
 
-->{{#if:{{{ruler|}}} |{{row/kv|Ruler |{{{ruler}}} |}}|}}<!--
 
-->{{#if:{{{city|}}} |{{row/kv|City |{{{city}}} |}}|}}<!--
 
-->{{#if:{{{region|}}} |{{row/kv|Region |{{{region}}} |}}|}}<!--
 
-->{{#if:{{{country|}}} |{{row/kv|Country |{{{country}}} |}}|}}<!--
 
-->{{row/kv|World|{{{raw-world|{{#if:{{{world|}}}|{{tag|{{{world}}}|}}|''Unknown''}}|}}}|}}<!--
 
-->{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}} |}}|}}<!--
   
 
featured in
 
featured in

Revision as of 09:37, 12 June 2014

Location
World Unknown
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.