Difference between revisions of "Template:Location"

From The Coppermind
Jump to navigation Jump to search
(+capital)
m (woops)
Line 9: Line 9:
 
{{#if:{{{country|}}}|{{infobox/row|Country|{{{country}}}|}}|}}
 
{{#if:{{{country|}}}|{{infobox/row|Country|{{{country}}}|}}|}}
 
{{#if:{{{city|}}}|{{infobox/row|City|{{{city}}}|}}|}}
 
{{#if:{{{city|}}}|{{infobox/row|City|{{{city}}}|}}|}}
{{#if:{{{capital|}}}|{{infobox/row|Capital|{{{city}}}|}}|}}
+
{{#if:{{{capital|}}}|{{infobox/row|Capital|{{{capital}}}|}}|}}
 
<!-- optional space for more/other rows -->
 
<!-- optional space for more/other rows -->
 
{{{location|}}}
 
{{{location|}}}

Revision as of 19:06, 2 May 2012

Template:Infobox/rowTemplate:Infobox/row
Location

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 {{infobox/row}}s directly, and {{{place}}} allows you to change the box heading.

Template:Cat