Difference between revisions of "Template:Location"

From The Coppermind
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
|title={{{place|{{PAGENAME}}|}}}
 
|title={{{place|{{PAGENAME}}|}}}
 
|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}<!--
 
|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}<!--
 
time-period
 
-->{{#if:{{{era|}}}|{{row/kv|Era|{{{era}}}|}}|}}<!--
 
   
 
ethnicity
 
ethnicity
Line 13: Line 10:
   
 
location
 
location
-->{{{location|}}}<!--
 
 
-->{{#if:{{{city|}}} |{{row/kv|City |{{{city}}} |}}|}}<!--
 
-->{{#if:{{{city|}}} |{{row/kv|City |{{{city}}} |}}|}}<!--
 
-->{{#if:{{{region|}}} |{{row/kv|Region |{{{region}}} |}}|}}<!--
 
-->{{#if:{{{region|}}} |{{row/kv|Region |{{{region}}} |}}|}}<!--
-->{{#if:{{{country|}}} |{{row/kv|Country |{{{country}}} |}}|}}<!--
 
 
-->{{#if:{{{nation|}}} |{{row/kv|Nation |{{{nation}}} |}}|}}<!--
 
-->{{#if:{{{nation|}}} |{{row/kv|Nation |{{{nation}}} |}}|}}<!--
 
-->{{row/kv|World|{{{raw-world|{{#if:{{{world|}}}|{{tag|{{{world}}}|}}|''Unknown''}}|}}}|}}<!--
 
-->{{row/kv|World|{{{raw-world|{{#if:{{{world|}}}|{{tag|{{{world}}}|}}|''Unknown''}}|}}}|}}<!--
Line 23: Line 18:
 
featured in
 
featured in
 
-->{{row/kv|Featured In|''{{{books}}}''|}}
 
-->{{row/kv|Featured In|''{{{books}}}''|}}
  +
}}<includeonly><!--
}}[[Category: Places]]<noinclude>
 
  +
 
-->[[Category: Places]]<!--
  +
  +
-->{{#if:{{{location|}}}|[[Category: infobox.location]]}}<!--
 
-->{{#if:{{{country|}}}|[[Category: infobox.country]]}}<!--
 
-->{{#if:{{{era|}}}|[[Category: infobox.era]]}}<!--
  +
  +
--></includeonly><noinclude>
   
 
This template allows you to include information about a country, city, geographical landmark, building, or other place on its article.
 
This template allows you to include information about a country, city, geographical landmark, building, or other place on its article.

Revision as of 19:33, 27 November 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.