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}}|}}}
 
|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}<!--
 
|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}<!--
   
Line 21: Line 21:
 
featured in
 
featured in
 
-->{{row/kv|Featured In|''{{{books}}}''|}}
 
-->{{row/kv|Featured In|''{{{books}}}''|}}
}}<noinclude>This template allows you to include information about a country, city, geographical landmark, building, or other place on its article.
+
}}[[Category: Places]]<noinclude>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.
 
There are two required parameters, the {{{world}}} that the place inhabits, and the {{{books}}} or series the place is set upon.
Line 29: Line 29:
 
An advanced field {{{location}}} allows you to add {{t|row/kv}}s directly, and {{{place}}} allows you to change the box heading.
 
An advanced field {{{location}}} allows you to add {{t|row/kv}}s directly, and {{{place}}} allows you to change the box heading.
   
[[Category: Infoboxes|{{PAGENAME}}]]
+
[[Category: Infoboxes]]
  +
[[Category: Places|~]]

Revision as of 18:44, 3 July 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.