Difference between revisions of "Template:Settlement"

From The Coppermind
Jump to navigation Jump to search
m (+places cat)
m
(19 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{infobox
 
{{infobox
|title={{{name|{{PAGENAME}}|}}}|id=settlement
+
|title={{{name|{{translated title}}|}}}|id=Settlement|
  +
<!-- map or image -->
|
 
{{#if:{{{map|}}} |{{row/image |{{{map}}} |width={{{map-width|240px}}} }}|}}
+
{{#if:{{{map|}}} |{{row/image+artist |{{{map}}} }}|}}
  +
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}} }}|}}
  +
<!-- information -->
  +
{{#if:{{{ruler|}}} |{{row/kv| Ruled by |{{{ruler}}}<!-- -->}}|}}
  +
{{#if:{{{occupied|}}} |{{row/kv| Occupied by |{{{occupied}}}<!-- -->}}|}}
  +
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}<!-- -->}}|}}
 
<!-- location -->
 
<!-- location -->
{{#if:{{{raw-state|}}} |{{row/kv|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:{{{dominance|}}} |{{row/kv|Dominance |{{tag|{{{dominance}}} Dominance}}<!-- -->}}|}}
+
{{#if:{{{raw-state|}}} |{{row/kv| State |{{{raw-state}}}{{raw/state}}<!-- -->}}|}}
{{#if:{{{princedom|}}} |{{row/kv|Princedom |{{tag|{{{princedom}}} princedom}}<!-- -->}}|}}
+
{{#if:{{{dominance|}}} |{{row/kv| Dominance |{{tag|{{{dominance}}} Dominance}}<!-- -->}}|}}
  +
{{#if:{{{princedom|}}} |{{row/kv| Princedom |{{tag|{{{princedom}}} princedom}}<!-- -->}}|}}
  +
{{#if:{{{region|}}} |{{row/kv| Region |{{place tag|{{{region}}}|}}<!-- -->}}|}}
  +
{{#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 |{{{'nation}}} {{raw/nation}}<!-- -->}}|}}
  +
{{#if:{{{raw-nation|}}}|{{row/kv| Nation |{{{raw-nation}}}{{raw/nation}}<!-- -->}}|}}
  +
{{#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}}}<!-- -->}}|}}
  +
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
  +
}}<includeonly><!--
   
  +
-->[[Category: Settlements]]<!--
{{#if:{{{raw-region|}}}|{{row/kv|Region |{{{raw-region}}}<!-- -->}}|}}
 
  +
-->[[Category: Locations]]<!--
{{#if:{{{region|}}} |{{row/kv|Region |{{place tag|{{{region}}}|}}<!-- -->}}|}}
 
   
{{#if:{{{raw-nation|}}}|{{row/kv|Nation |{{{raw-nation}}}<!-- -->}}|}}
+
-->{{#if:{{{map-artist|}}}|[[category: redundant artist attribution]]}}<!--
  +
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
{{#if:{{{nation|}}} |{{row/kv|Nation |{{place tag|{{{nation}}}|}}<!-- -->}}|}}
 
   
  +
-->{{#if:<!--
{{#if:{{{raw-world|}}} |{{row/kv|World |{{{raw-world}}}<!-- -->}}|}}
 
  +
-->{{{state-raw|}}}{{{raw-state|}}}<!--
{{#if:{{{earth|}}} |{{row/kv|World |{{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
 
  +
-->{{{region-raw|}}}{{{raw-region|}}}<!--
{{#if:{{{world|}}} |{{row/kv|World |{{place tag|{{{world}}}|}}<!-- -->}}|}}
 
  +
-->{{{nation-raw|}}}{{{raw-nation|}}}<!--
{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}}<!-- -->}}|}}
 
<!-- featured in -->{{row/kv|Featured In |''{{{books}}}''<!-- -->}}
+
-->{{{world-raw|}}}{{{raw-world|}}}<!--
  +
-->|[[category: depreciated raw parameters]]}}<!--
}}<includeonly><!--
 
 
-->{{{cats|[[category: settlements]][[category: places]]|}}}<!--
 
   
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
Line 28: Line 45:
 
This template allows you to include information about a city, town, village or other settlement on its article.
 
This template allows you to include information about a city, town, village or other settlement on its article.
   
  +
__TOC__
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}}}.
 
  +
=== Template ===
  +
<pre class=mw-code>
  +
{{settlement
  +
|map= / image=
  +
|ruler=
  +
|occupied=
  +
|era=
  +
|state=
  +
|dominance=
  +
|princedom=
  +
|region=
  +
|nation=
  +
|world= / earth=
  +
|universe=
  +
|books=
  +
}}
  +
</pre>
  +
  +
=== Parameters ===
  +
Highlighted lines indicate '''mandatory''' parameters. On lines with multiple parameters (e.g. <code>|world= / earth=</code>) pick only the one most appropriate.
  +
  +
{{docs|title={{t|Settlement}} Parameters}}
  +
  +
<!-- ---------------- -->
  +
<!-- ROW: map / image -->
  +
<!-- ---------------- -->
  +
{{docs/row/optional
  +
|'param= <code>map</code> <br><small>or</small><br> <code>image</code>
  +
|desc=Use this to display a relevant map or image hosted on the Coppermind.
  +
<small>See [[Help:Infoboxes]] for further details.</small>
  +
|eg=
  +
<code><nowiki>|image=Locator Alethkar.png</nowiki></code>
  +
}}
  +
  +
<!-- ---------- -->
  +
<!-- ROW: ruler -->
  +
<!-- ---------- -->
  +
{{docs/row/optional
  +
|param= ruler
  +
|desc= Use this to specify the settlement's ruler(s). Include their primary title.
  +
|eg=
  +
<code><nowiki>|ruler=King [[Taravangian]]</nowiki></code>
  +
}}
  +
  +
<!-- ------------- -->
  +
<!-- ROW: occupied -->
  +
<!-- ------------- -->
  +
{{docs/row/optional
  +
|param= occupied
  +
|desc= If the settlement is occupied by an invading force, use this to indicate what that force is.
  +
|eg=
  +
<code><nowiki>|occupied=[[Singer]]s</nowiki></code>
  +
}}
  +
  +
<!-- -------- -->
  +
<!-- ROW: era -->
  +
<!-- -------- -->
  +
{{docs/row/optional
  +
|param= era
  +
|desc= Use to specify which era the settlement exists or existed in.<br>
  +
<small>'''Note:''' Automatically generates a link.</small>
  +
|eg=
  +
<code><nowiki>|era=Classical Scadrial</nowiki></code><br>
  +
<code><nowiki>|era=Silver Kingdoms</nowiki></code>
  +
}}
  +
  +
<!-- ----------- -->
  +
<!-- ROW: state -->
  +
<!-- ----------- -->
  +
{{docs/row/optional
  +
|param= state
  +
|desc= Use this to specify the [[Wode]] [[State]] where the settlement can be found.<br>
  +
<small>'''Note:''' Automatically generates a link. To bypass this and the {{t|place tag}}, use <code>'state</code>.</small>
  +
|eg=
  +
<code><nowiki>|state=Alornia</nowiki></code>
  +
}}
  +
  +
<!-- ----------- -->
  +
<!-- ROW: dominance -->
  +
<!-- ----------- -->
  +
{{docs/row/optional
  +
|param= dominance
  +
|desc= Use this to specify the [[Final Empire]] [[Dominance]] where the settlement can be found.<br>
  +
|eg=
  +
<code><nowiki>|dominance=Terris Dominance</nowiki></code>
  +
}}
  +
  +
<!-- ----------- -->
  +
<!-- ROW: princedom -->
  +
<!-- ----------- -->
  +
{{docs/row/optional
  +
|param= princedom
  +
|desc= Use this to specify the [[Alethi]] Princedom where the settlement can be found.<br>
  +
|eg=
  +
<code><nowiki>|princedom=Sadeas</nowiki></code>
  +
}}
  +
  +
<!-- ----------- -->
  +
<!-- ROW: region -->
  +
<!-- ----------- -->
  +
{{docs/row/optional
  +
|param= region
  +
|desc= Use this to specify the region where the settlement can be found.<br>
  +
<small>'''Note:''' Automatically generates a link. To bypass this and the {{t|place tag}}, use <code>'region</code>.</small>
  +
|eg=
  +
<code><nowiki>|region=Free Kingdoms</nowiki></code><br>
  +
<code><nowiki>|region=Dayside</nowiki></code><br>
  +
<code><nowiki>|'region=Sycla (Opelon)</nowiki></code>
  +
}}
  +
  +
<!-- ----------- -->
  +
<!-- ROW: nation -->
  +
<!-- ----------- -->
  +
{{docs/row/optional
  +
|param= nation
  +
|desc= Use this to specify the country where the settlement can be found.<br>
  +
<small>'''Note:''' Automatically generates a link. To bypass this and the {{t|place tag}}, use <code>'nation</code>.</small>
  +
|eg=
  +
<code><nowiki>|nation=Jah Keved</nowiki></code><br>
  +
<code><nowiki>|nation=Final Empire</nowiki></code>
  +
}}
  +
  +
<!-- ------------------ -->
  +
<!-- ROW: world / earth -->
  +
<!-- ------------------ -->
  +
{{docs/world}}
  +
  +
<!-- ------------- -->
  +
<!-- ROW: universe -->
  +
<!-- ------------- -->
  +
{{docs/universe}}
  +
  +
<!-- ---------- -->
  +
<!-- ROW: books -->
  +
<!-- ---------- -->
  +
{{docs/books}}
  +
  +
|}
  +
  +
=== Categories & Tags ===
  +
Pages that make use of the ''{{t|Settlement}}'' template will be added to [[:Category: Settlements]] and [[:Category: Locations]].
   
 
[[category: infoboxes]]
 
[[category: infoboxes]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Revision as of 01:21, 25 March 2021

Template:Translated title
Featured In {{{books}}}

This template allows you to include information about a city, town, village or other settlement on its article.

Template

{{settlement
|map= / image=
|ruler=
|occupied=
|era=
|state=
|dominance=
|princedom=
|region=
|nation=
|world= / earth=
|universe=
|books=
}}

Parameters

Highlighted lines indicate mandatory parameters. On lines with multiple parameters (e.g. |world= / earth=) pick only the one most appropriate.

Template:Docs/books
{{Settlement}} Parameters
Parameter Description Examples
map
or
image
Use this to display a relevant map or image hosted on the Coppermind.

See Help:Infoboxes for further details.

|image=Locator Alethkar.png

ruler Use this to specify the settlement's ruler(s). Include their primary title.

|ruler=King [[Taravangian]]

occupied If the settlement is occupied by an invading force, use this to indicate what that force is.

|occupied=[[Singer]]s

era Use to specify which era the settlement exists or existed in.

Note: Automatically generates a link.

|era=Classical Scadrial
|era=Silver Kingdoms

state Use this to specify the Wode State where the settlement can be found.

Note: Automatically generates a link. To bypass this and the {{place tag}}, use 'state.

|state=Alornia

dominance Use this to specify the Final Empire Dominance where the settlement can be found.

|dominance=Terris Dominance

princedom Use this to specify the Alethi Princedom where the settlement can be found.

|princedom=Sadeas

region Use this to specify the region where the settlement can be found.

Note: Automatically generates a link. To bypass this and the {{place tag}}, use 'region.

|region=Free Kingdoms
|region=Dayside
|'region=Sycla (Opelon)

nation Use this to specify the country where the settlement can be found.

Note: Automatically generates a link. To bypass this and the {{place tag}}, use 'nation.

|nation=Jah Keved
|nation=Final Empire

world
or
earth
Use this to specify the planet where the settlement can be found.

Note: Automatically generates a link. To bypass this, use 'world.
See Help:Infoboxes for further details.

|world=Roshar
|earth=Reckoners
|'world=Mars

universe Use this to indicate the (connected) universe where the settlement can be found.

See Help: Infoboxes for further details.

|universe=[[Cosmere]]
|universe=[[Cytoverse]]
|universe=[[Wode]] [[State]]s
|universe=''Standalone''

Categories & Tags

Pages that make use of the {{Settlement}} template will be added to Category: Settlements and Category: Locations.

Articles using Template