Difference between revisions of "Template:Location"

From The Coppermind
Jump to navigation Jump to search
m
m (-infobox/row)
Line 4: Line 4:
 
{{#if:{{{map|}}}|{{row/image|{{{map}}}|}}|}}
 
{{#if:{{{map|}}}|{{row/image|{{{map}}}|}}|}}
 
<!-- required world field -->
 
<!-- required world field -->
{{infobox/row|World|[[{{{planet|{{{world}}}|}}}]]}}
+
{{row/kv|World|[[{{{planet|{{{world}}}|}}}]]}}
 
<!-- optional specific location -->
 
<!-- optional specific location -->
 
{{#if:{{{region|}}}|{{row/kv|Region|{{{region}}}|}}|}}
 
{{#if:{{{region|}}}|{{row/kv|Region|{{{region}}}|}}|}}

Revision as of 18:33, 15 October 2012

Location
World [[{{{world}}}]]
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.

Template:Cat