Difference between revisions of "Template:Nation"
Jump to navigation
Jump to search
m (tweak) |
m (add 'raw variants and depreciate raw- variants) |
||
Line 12: | Line 12: | ||
<!-- location --> |
<!-- location --> |
||
{{#if:{{{region|}}} |{{row/kv| Region |{{place tag|{{{region}}}|}}<!-- -->}}|}} |
{{#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:{{{raw-region|}}}|{{row/kv| Region |{{{raw-region}}}{{raw/region}}<!-- -->}}|}} |
||
{{#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}}}|}}<!-- -->}}|}} |
||
+ | {{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}}<!-- -->}}|}} |
||
{{#if:{{{raw-world|}}} |{{row/kv| World |{{{raw-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}}}''<!-- -->}} |
||
− | {{#if:{{{toc|}}} | |
||
− | {{!}}- |
||
− | {{!}} colspan=2 {{!}} __TOC__ |
||
− | {{!}}- |
||
− | }} |
||
}}<includeonly><!-- |
}}<includeonly><!-- |
||
− | -->[[ |
+ | -->[[category: nations]]<!-- |
− | -->[[ |
+ | -->[[category: locations]]<!-- |
set page properties |
set page properties |
||
Line 32: | Line 29: | ||
-->{{#if:{{{demonym|}}}|<set-property key="demonym">{{{demonym}}}</set-property>}}<!-- |
-->{{#if:{{{demonym|}}}|<set-property key="demonym">{{{demonym}}}</set-property>}}<!-- |
||
-->{{#if:{{{demonym-plural|}}}|<set-property key="demonym-plural">{{{demonym-plural}}}</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:<!-- |
-->{{#if:<!-- |
||
− | -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{world |
+ | -->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!-- |
-->||{{infobox/no-world}}<!-- |
-->||{{infobox/no-world}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
Line 61: | Line 65: | ||
|era= |
|era= |
||
|region= |
|region= |
||
− | | |
+ | |'region= |
⚫ | |||
|world= / earth= |
|world= / earth= |
||
⚫ | |||
|universe= |
|universe= |
||
|books= |
|books= |
Revision as of 20:37, 20 April 2019
Nation | |
---|---|
Featured In | {{{books}}} |
This template allows you to include information about a country or nation on its article.
There are two required parameters, the {{{world}}} that the place inhabits, and the {{{books}}} or series the place is set upon.
{{{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}}}
It automatically adds pages to Category: Nations, Category: Locations.
{{nation |map= |image= |ethnicity= |capital= |ruler= |occupied= |era= |region= |'region= |world= / earth= |'world= |universe= |books= }}