Difference between revisions of "Template:Location"

Jump to navigation Jump to search
m (woops)
m
{{infobox|title={{{place|{{PAGENAME}}|}}}|width=200px
|1=
<!-- optional map -->
{{#if:{{{map|}}}|{{row/image|pre={{!}}colspan=2{{!}}|[[File:{{{map}}}|200px|center]]}}|}}
<!-- required world field -->
{{infobox/row|World|[[{{{planet|{{{world}}}|}}}]]}}
<!-- optional specific location -->
{{#if:{{{region|}}}|{{infobox/row/kv|Region|{{{region}}}|}}|}}
{{#if:{{{country|}}}|{{infobox/row/kv|Country|{{{country}}}|}}|}}
{{#if:{{{city|}}}|{{infobox/row/kv|City|{{{city}}}|}}|}}
{{#if:{{{capital|}}}|{{infobox/row/kv|Capital|{{{capital}}}|}}|}}
<!-- optional space for more/other rows -->
{{{location|}}}
<!-- optional time-period -->
{{#if:{{{era|}}}|{{infobox/row/kv|Era|{{{era}}}|}}|}}
<!-- books field -->
{{infobox/row/kv|Featured In|''{{{books}}}''|}}
}}<includeonly>[[Category:Places]][[Category:{{{planet|{{{world}}}|}}}]]</includeonly><noinclude>This template allows you to include information about a country, city, geographical landmark, building, or other place on its article.
 
Another parameter allows you to define the {{{era}}} or time period the place existed in.
 
An advanced field {{{location}}} allows you to add {{t|infobox/row/kv}}s directly, and {{{place}}} allows you to change the box heading.
 
{{cat|infoboxes}}