Difference between revisions of "Template:Location"

From The Coppermind
Jump to navigation Jump to search
m (+image)
m (tweaks)
Line 1: Line 1:
 
{{infobox
 
{{infobox
|title={{{place|{{PAGENAME}}|}}}|id=place
+
|title={{{place|{{PAGENAME}}|}}}|id=place|
  +
<!-- map or image -->
|
 
 
{{#if:{{{map|}}} |{{row/image |{{{map}}} |artist={{{map-artist|}}} }}|}}
 
{{#if:{{{map|}}} |{{row/image |{{{map}}} |artist={{{map-artist|}}} }}|}}
{{#if:{{{image|}}} |{{row/image |{{{image}}} |artist={{{image-artist|}}} }}|}}
+
{{#if:{{{image|}}} |{{row/image |{{{image}}} |artist={{{image-artist|}}} }}|}}
 
<!-- information -->
 
<!-- information -->
 
{{#if:{{{ethnicity|}}} |{{row/kv| Ethnicity |{{{ethnicity}}}<!-- -->}}|}}
 
{{#if:{{{ethnicity|}}} |{{row/kv| Ethnicity |{{{ethnicity}}}<!-- -->}}|}}
 
{{#if:{{{capital|}}} |{{row/kv| Capital |{{{capital}}}<!-- -->}}|}}
 
{{#if:{{{capital|}}} |{{row/kv| Capital |{{{capital}}}<!-- -->}}|}}
 
{{#if:{{{ruler|}}} |{{row/kv| Ruler |{{{ruler}}}<!-- -->}}|}}
 
{{#if:{{{ruler|}}} |{{row/kv| Ruler |{{{ruler}}}<!-- -->}}|}}
  +
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}}<!-- -->}}|}}
 
<!-- location -->
 
<!-- location -->
 
{{#if:{{{raw-city|}}} |{{row/kv| City |{{{raw-city}}}<!-- -->}}|}}
 
{{#if:{{{raw-city|}}} |{{row/kv| City |{{{raw-city}}}<!-- -->}}|}}
Line 26: Line 27:
 
}}<includeonly><!--
 
}}<includeonly><!--
   
-->{{{cats|[[Category: Locations]]|}}}<!--
+
-->[[Category: Locations]]<!--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
   
This template allows you to include information about a country, city, geographical landmark, building, or other place on its article.
+
This template allows you to include information about a place on its article. There's a number of more specific templates to fit some of the categories of places like {{t|nation}} for kingdoms, {{t|settlement}} for cities and villages, {{t|architecture}} for buildings, {{t|geography}} for features of the landscape.
   
 
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.

Revision as of 13:20, 16 December 2016

Location
Featured In {{{books}}}

This template allows you to include information about a place on its article. There's a number of more specific templates to fit some of the categories of places like {{nation}} for kingdoms, {{settlement}} for cities and villages, {{architecture}} for buildings, {{geography}} for features of the landscape.

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.