Difference between revisions of "Template:Location"

m
+explanation
m (+planet as a synonym)
m (+explanation)
{{infobox|title={{{place|{{PAGENAME}}|}}}|width=200px
|1=
<!-- optional map -->
{{#if:{{{map|}}}|{{row|pre={{!}}colspan=2{{!}}|[[File:{{{map}}}|200px|center]]}}|}}
<!-- required world field -->
{{infobox/row|World|[[{{{planet|{{{world}}}|}}}]]}}
<!-- optional specific location -->
{{#if:{{{region|}}}|{{infobox/row|Region|{{{region}}}|}}|}}
{{#if:{{{country|}}}|{{infobox/row|Country|{{{country}}}|}}|}}
{{#if:{{{placecity|}}}|{{infobox/row|{{{place-type}}}City|{{{placecity}}}|}}|}}
<!-- optional space for more/other rows -->
{{{location|}}}
<!-- optional time-period -->
{{#if:{{{era|}}}|{{infobox/row|Era|{{{era}}}|}}|}}
<!-- books field -->
{{infobox/row|BooksFeatured 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.
 
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}}} or {{{city}}}.
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}}s directly, and {{{place}}} allows you to change the box heading.
 
{{cat|infoboxes}}
40,275

edits