Difference between revisions of "Template:Location"

From The Coppermind
Jump to navigation Jump to search
m (hmmm)
m (+raw tags)
Line 10: Line 10:
 
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}}<!-- -->}}|}}
 
{{#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}}}{{raw/city}}<!-- -->}}|}}
 
{{#if:{{{city|}}} |{{row/kv| City |{{place tag|{{{city}}}|}}<!-- -->}}|}}
 
{{#if:{{{city|}}} |{{row/kv| City |{{place tag|{{{city}}}|}}<!-- -->}}|}}
{{#if:{{{raw-state|}}} |{{row/kv| State |{{{raw-state}}}<!-- -->}}|}}
+
{{#if:{{{raw-state|}}} |{{row/kv| State |{{{raw-state}}}{{raw/state}}<!-- -->}}|}}
 
{{#if:{{{state|}}} |{{row/kv| State |{{place tag|{{{state}}}|}}<!-- -->}}|}}
 
{{#if:{{{state|}}} |{{row/kv| State |{{place tag|{{{state}}}|}}<!-- -->}}|}}
 
{{#if:{{{dominance|}}} |{{row/kv| Dominance |{{tag|{{{dominance}}} Dominance}}<!-- -->}}|}}
 
{{#if:{{{dominance|}}} |{{row/kv| Dominance |{{tag|{{{dominance}}} Dominance}}<!-- -->}}|}}
 
{{#if:{{{princedom|}}} |{{row/kv| Princedom |{{tag|{{{princedom}}} princedom}}<!-- -->}}|}}
 
{{#if:{{{princedom|}}} |{{row/kv| Princedom |{{tag|{{{princedom}}} princedom}}<!-- -->}}|}}
{{#if:{{{raw-region|}}}|{{row/kv| Region |{{{raw-region}}}<!-- -->}}|}}
+
{{#if:{{{raw-region|}}}|{{row/kv| Region |{{{raw-region}}}{{raw/region}}<!-- -->}}|}}
 
{{#if:{{{region|}}} |{{row/kv| Region |{{place tag|{{{region}}}|}}<!-- -->}}|}}
 
{{#if:{{{region|}}} |{{row/kv| Region |{{place tag|{{{region}}}|}}<!-- -->}}|}}
{{#if:{{{raw-nation|}}}|{{row/kv| Nation |{{{raw-nation}}}<!-- -->}}|}}
+
{{#if:{{{raw-nation|}}}|{{row/kv| Nation |{{{raw-nation}}}{{raw/nation}}<!-- -->}}|}}
 
{{#if:{{{nation|}}} |{{row/kv| Nation |{{place tag|{{{nation}}}|}}<!-- -->}}|}}
 
{{#if:{{{nation|}}} |{{row/kv| Nation |{{place tag|{{{nation}}}|}}<!-- -->}}|}}
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}}<!-- -->}}|}}
+
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}}{{raw/world}}<!-- -->}}|}}
 
{{#if:{{{earth|}}} |{{row/kv| World |{{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
 
{{#if:{{{earth|}}} |{{row/kv| World |{{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |{{place tag|{{{world}}}|}}<!-- -->}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |{{place tag|{{{world}}}|}}<!-- -->}}|}}

Revision as of 10:56, 31 January 2017

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.