Difference between revisions of "Template:Settlement"

From The Coppermind
Jump to navigation Jump to search
m (+redundant cat)
m (add 'raw variants and depreciate raw- variants)
Line 1: Line 1:
 
{{infobox
 
{{infobox
|title={{{name|{{PAGENAME}}|}}}|id=settlement|
+
|title={{{name|{{PAGENAME}}|}}}|id=Settlement|
 
<!-- map or image -->
 
<!-- map or image -->
 
{{#if:{{{map|}}} |{{row/image+artist |{{{map}}} }}|}}
 
{{#if:{{{map|}}} |{{row/image+artist |{{{map}}} }}|}}
Line 8: Line 8:
 
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}<!-- -->}}|}}
 
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}<!-- -->}}|}}
 
<!-- location -->
 
<!-- location -->
{{#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:{{{'state|}}} |{{row/kv| State |{{{state}}} {{raw/state}}<!-- -->}}|}}
 
{{#if:{{{raw-state|}}} |{{row/kv| State |{{{raw-state}}}{{raw/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}}}{{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}}}{{raw/nation}}<!-- -->}}|}}
+
{{#if:{{{'region|}}} |{{row/kv| Region |{{{'region}}} {{raw/region}}<!-- -->}}|}}
 
{{#if:{{{raw-region|}}}|{{row/kv| Region |{{{raw-region}}}{{raw/region}}<!-- -->}}|}}
 
{{#if:{{{nation|}}} |{{row/kv| Nation |{{place tag|{{{nation}}}|}}<!-- -->}}|}}
 
{{#if:{{{nation|}}} |{{row/kv| Nation |{{place tag|{{{nation}}}|}}<!-- -->}}|}}
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}}{{raw/world}}<!-- -->}}|}}
+
{{#if:{{{'nation|}}} |{{row/kv| Nation |{{{'nation}}} {{raw/nation}}<!-- -->}}|}}
{{#if:{{{earth|}}} |{{row/kv| World |{{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
+
{{#if:{{{raw-nation|}}}|{{row/kv| Nation |{{{raw-nation}}}{{raw/nation}}<!-- -->}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |{{place tag|{{{world}}}|}}<!-- -->}}|}}
 
{{#if:{{{world|}}} |{{row/kv| World |{{place tag|{{{world}}}|}}<!-- -->}}|}}
  +
{{#if:{{{earth|}}} |{{row/kv| World |{{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
  +
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}}<!-- -->}}|}}
  +
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-world}}}{{raw/world}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
 
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
Line 28: Line 32:
 
-->{{#if:{{{map-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
-->{{#if:{{{map-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
  +
  +
-->{{#if:<!--
  +
-->{{{state-raw|}}}{{{raw-state|}}}<!--
  +
-->{{{region-raw|}}}{{{raw-region|}}}<!--
  +
-->{{{nation-raw|}}}{{{raw-nation|}}}<!--
  +
-->{{{world-raw|}}}{{{raw-world|}}}<!--
  +
-->|[[category: depreciated raw parameters]]}}<--
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
Line 36: Line 47:
 
A number of optional parameters allow you to pinpoint the location to a particular {{{region}}}, {{{country}}}.
 
A number of optional parameters allow you to pinpoint the location to a particular {{{region}}}, {{{country}}}.
   
[[Category: Infoboxes]]
+
[[category: infoboxes]]

Revision as of 20:40, 20 April 2019

Settlement
Featured In {{{books}}}

This template allows you to include information about a city, town, village or other settlement 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}}}.