Difference between revisions of "Template:Nation"

Jump to navigation Jump to search
m
Text replacement - "{{translated title}}" to "{{PAGENAME}}"
m (blah)
m (Text replacement - "{{translated title}}" to "{{PAGENAME}}")
(25 intermediate revisions by 6 users not shown)
{{infobox
|title={{{placename|{{PAGENAME}}|}}}|id=placeNation|
<!-- map or image -->
|
{{#if:{{{map|}}} |{{row/image +artist |{{{map}}} |width={{{map-width|240px}}} }}|}}
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}} }}|}}
<!-- information -->
{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{{ethnicity}}}<!-- -->}}|}}
{{#if:{{{capital|}}} |{{row/kv|Capital |{{{capital}}}<!-- -->}}|}}
{{#if:{{{ruler|}}} |{{row/kv|Ruler |{{{ruler}}}<!-- -->}}|}}
<!-- location -->
{{#if:{{{raw-world|}}} |{{row/kv|World |{{{raw-world}}}<!-- -->}}|}}
{{#if:{{{earth|}}} |{{row/kv|World |{{earth tag|earth={{{earth}}}|cat=Earth ({{{earth}}})}} |}}|}}
{{#if:{{{world|}}} |{{row/kv|World |{{place tag|{{{world}}}|}}<!-- -->}}|}}
 
<!-- about -->
{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}}<!-- -->}}|}}
{{#if:{{{ethnicity|}}} |{{row/kv| Ethnicity |{{{ethnicity}}}<!-- -->}}|}}
{{#if:{{{capital|}}} |{{row/kv| Capital |{{{capital}}}<!-- -->}}|}}
{{#if:{{{ruler|}}} |{{row/kv| Ruled by |{{{ruler}}}<!-- -->}}|}}
{{#if:{{{occupied|}}} |{{row/kv| Occupied by |{{{occupied}}}<!-- -->}}|}}
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}}<!-- -->}}|}}
 
<!-- location -->
<!-- featured in -->{{row/kv|Featured In |''{{{books}}}''<!-- -->}}
{{#if:{{{region|}}} |{{row/kv| Region |{{place tag|{{{region}}}|}}<!-- -->}}|}}
{{#if:{{{'region|}}} |{{row/kv| Region |{{{'region}}} {{raw/region}}<!-- -->}}|}}
{{#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 |{{{'world}}} {{raw/world}}<!-- -->}}|}}
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
 
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
}}<includeonly><!--
 
-->{{{cats|[[category: nations]]|}}}<!--
-->[[category: locations]]<!--
 
set page properties
-->{{#if:{{{toponym|}}}|<set-property key="toponym">{{{toponym}}}</set-property>}}<!--
-->{{#if:{{{demonym|}}}|<set-property key="demonym">{{{demonym}}}</set-property>}}<!--
-->{{#if:{{{demonym-plural|}}}|<set-property key="demonym-plural">{{{demonym-plural}}}</set-property>}}<!--
 
 
-->{{#if:<!--
-->{{{region-raw|}}}{{{raw-region|}}}<!--
-->{{{world-raw|}}}{{{raw-world|}}}<!--
-->|[[category: depreciated raw parameters]]}}<!--
 
 
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--
 
-->{{#if:{{{map-artist|}}}|[[category: redundant artist attribution]]}}<!--
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
--></includeonly><noinclude>
 
The ''{{t|nation}}'' template is used to describe nations, kingdoms, countries, city-states, and other similar communities.
This template allows you to include information about a country or nation on its article.
 
__TOC__
 
=== Template ===
<pre class=mw-code>
{{nation
|map= / image=
|ethnicity=
|capital=
|ruler=
|occupied=
|era=
|region=
|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|Nation}} 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: ethnicity -->
<!-- -------------- -->
{{docs/row/optional
|param= ethnicity
|desc= Use this to specify the dominant ethnic groups of the nation. Apply a [[:Special: Categories|category]] if possible.
|eg=
<code><nowiki>|ethnicity={{cat tag|Dula}}</nowiki></code>
}}
 
<!-- ------------ -->
<!-- ROW: capital -->
<!-- ------------ -->
{{docs/row/optional
|param= capital
|desc= Use this to specify the nation's capital city.
|eg=
<code><nowiki>|capital=[[Luthadel]]</nowiki></code>
}}
 
<!-- ---------- -->
<!-- ROW: ruler -->
<!-- ---------- -->
{{docs/row/optional
|param= ruler
|desc= Use this to specify the nation'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 nation 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 nation 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: region -->
<!-- ----------- -->
{{docs/row/optional
|param= region
|desc= Use this to specify the region where the nation can be found.<br>
<small>'''Note:''' The value here is passed to the {{t|place tag}} template, which forwards it to {{t|toponym}}, so it must be valid for both.<br>
<small>'''Note:''' Automatically generates a link. To bypass this and the {{t|place tag}}, use <code>'state</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: world / earth -->
<!-- ------------------ -->
{{docs/world}}
 
<!-- ------------- -->
<!-- ROW: universe -->
<!-- ------------- -->
{{docs/universe}}
 
<!-- ---------- -->
<!-- ROW: books -->
<!-- ---------- -->
{{docs/books}}
 
|}
 
 
=== Categories & Tags ===
Pages that make use of the ''{{t|nation}}'' template will be added to [[:Category: Nations]] and [[:Category: Locations]].
 
Specifying an <code>earth</code> in the infobox will apply the appropriate [[Earth]] category (<small>e.g. <code>|earth=Reckoners</code> will apply [[:Category: Earth (Reckoners)]]</small>).
 
There are two required parameters, the {{{world}}} that the place inhabits, and the {{{books}}} or series the place is set upon.
 
[[Category: Infoboxes]]
{{{ethnicity}}}, {{{capital}}} and {{{ruler}}} should be used to describe the city. {{{world}}}, {{{raw-world}}}, {{{earth}}} or {{{universe}}} should describe it's location. A map can be included on the top with {{{map}}}
 
== Articles using Template ==
[[category: infoboxes]]
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages.}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}

Navigation menu