Difference between revisions of "Template:Geography"
m (fix raw region) |
m |
||
Line 1: | Line 1: | ||
{{infobox |
{{infobox |
||
|title={{{place|{{PAGENAME}}|}}}|id=geography|1= |
|title={{{place|{{PAGENAME}}|}}}|id=geography|1= |
||
+ | |||
<!-- map or image --> |
<!-- map or image --> |
||
{{#if:{{{map|}}} |{{row/image+artist |{{{map}}}<!-- -->}}|}} |
{{#if:{{{map|}}} |{{row/image+artist |{{{map}}}<!-- -->}}|}} |
||
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}} |
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}} |
||
+ | |||
<!-- information --> |
<!-- information --> |
||
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}} |
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}} |
||
{{#if:{{{occupied|}}} |{{row/kv| Occupied by |{{{occupied}}}<!-- -->}}|}} |
{{#if:{{{occupied|}}} |{{row/kv| Occupied by |{{{occupied}}}<!-- -->}}|}} |
||
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}}<!-- -->}}|}} |
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}}<!-- -->}}|}} |
||
+ | |||
<!-- 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:{{{'region|}}} |{{row/kv| Region |{{{'region}}} {{raw/region}}<!-- -->}}|}} |
||
− | {{#if:{{{raw-region|}}}|{{row/kv| Region |{{{raw-region}}}{{raw/region}}<!-- -->}}|}} |
||
{{#if:{{{world|}}} |{{row/kv| World |{{place tag|{{{world}}}|}}<!-- -->}}|}} |
{{#if:{{{world|}}} |{{row/kv| World |{{place tag|{{{world}}}|}}<!-- -->}}|}} |
||
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]][[Category: {{{earth}}} geography]] }}|}} |
{{#if:{{{earth|}}} |{{row/kv| World |[[Earth ({{{earth}}})]][[Category: {{{earth}}} geography]] }}|}} |
||
{{#if:{{{'world|}}} |{{row/kv| World |{{{'world}}} {{raw/world}}<!-- -->}}|}} |
{{#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 26: | Line 27: | ||
-->||{{infobox/no-world}}<!-- |
-->||{{infobox/no-world}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
− | |||
− | -->{{#if:<!-- |
||
− | -->{{{region-raw|}}}{{{raw-region|}}}<!-- |
||
− | -->{{{world-raw|}}}{{{raw-world|}}}<!-- |
||
− | -->|[[category: depreciated raw parameters]]}}<!-- |
||
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!-- |
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!-- |
||
Line 36: | Line 32: | ||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
+ | The ''{{t|geography}}'' infobox template can be used to describe geographical features, usually landforms - mountains, bodies of water, etc. |
||
− | This template allows you to include information about a geographical landmark. |
||
+ | __TOC__ |
||
− | To specify the location of this feature, use {{{region}}}, {{{world}}}, {{{universe}}}. |
||
− | |||
− | To indicate what kind of feature this is, use the {{{type}}} parameter. |
||
− | |||
− | It will add pages to the [[:Category: Locations|Locations]] categories. |
||
+ | === Template === |
||
<pre class=mw-code> |
<pre class=mw-code> |
||
{{geography |
{{geography |
||
− | |map= |
+ | |map= / image= |
− | | |
+ | |type= |
+ | |era= |
||
|region= |
|region= |
||
− | |'region= |
||
|world= / earth= |
|world= / earth= |
||
− | |'world= |
||
|universe= |
|universe= |
||
|books= |
|books= |
||
}} |
}} |
||
</pre> |
</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|Geography}} Parameters}} |
||
+ | |||
+ | <!-- ---------------- --> |
||
+ | <!-- ROW: image / map --> |
||
+ | <!-- ---------------- --> |
||
+ | {{docs/row/optional |
||
+ | |'param= <code>map <br><small>or</small><br> <code>image</code> |
||
+ | |desc= Use this to display a relevant map or image hosted on the Coppermind.<br> |
||
+ | <small>See [[Help:Infoboxes]] for further details.</small> |
||
+ | |eg= |
||
+ | <code><nowiki>|image=ashmount.png</nowiki></code> |
||
+ | }} |
||
+ | |||
+ | <!-- --------- --> |
||
+ | <!-- ROW: type --> |
||
+ | <!-- --------- --> |
||
+ | {{docs/row/required |
||
+ | |param= type |
||
+ | |desc= Use this to specify the type (e.g. river, mountain, plain) of the geographical feature. Apply a category if possible.<br> |
||
+ | <small>See [[#Types]] for common values.</small> |
||
+ | |eg= |
||
+ | <code><nowiki>|type={{cat tag|Mountains}}</nowiki></code> |
||
+ | }} |
||
+ | |||
+ | <!-- -------- --> |
||
+ | <!-- ROW: era --> |
||
+ | <!-- -------- --> |
||
+ | {{docs/row/optional |
||
+ | |param=era |
||
+ | |desc=If the geographical feature is known to exist only during a specific era of the world, use this to indicate which one. This mostly applies to Scadrial and Roshar. |
||
+ | |eg= |
||
+ | <code><nowiki>|era=[[Mistborn Era 2]]</nowiki></code><br> |
||
+ | <code><nowiki>|era=[[Silver Kingdoms]]</nowiki></code> |
||
+ | }} |
||
+ | |||
+ | <!-- ----------- --> |
||
+ | <!-- ROW: region --> |
||
+ | <!-- ----------- --> |
||
+ | {{docs/row/optional |
||
+ | |param= region |
||
+ | |desc= Use this to describe the region where the geographical feature can be found.<br> |
||
+ | <small>'''Note:''' Automatically generates a link. To bypass this, use <code>'region</code>.</small><br> |
||
+ | <small>See [[Help: Infoboxes]] for further details.</small> |
||
+ | |eg= |
||
+ | <code><nowiki>|region=Shattered Plains</nowiki></code><br> |
||
+ | }} |
||
+ | |||
+ | <!-- ------------------ --> |
||
+ | <!-- ROW: world / earth --> |
||
+ | <!-- ------------------ --> |
||
+ | {{docs/world|subject=geographical feature}} |
||
+ | |||
+ | <!-- ------------- --> |
||
+ | <!-- ROW: universe --> |
||
+ | <!-- ------------- --> |
||
+ | {{docs/universe|subject=geographical feature}} |
||
+ | |||
+ | <!-- ---------- --> |
||
+ | <!-- ROW: books --> |
||
+ | <!-- ---------- --> |
||
+ | {{docs/books|subject=geographical feature}} |
||
+ | |||
+ | |} |
||
+ | |||
+ | |||
+ | === Types === |
||
+ | Some common geographical feature types include: |
||
+ | * <code><nowiki>{{cat tag|Mountains}}</nowiki></code> - including mountain ranges and volcanoes |
||
+ | * <code><nowiki>{{cat tag|Water body}}</nowiki></code> - seas, rivers, lakes, oceans |
||
+ | * <code><nowiki>{{cat tag|Subsurface geography}}</nowiki></code> - caverns, tunnels, caves |
||
+ | * <code><nowiki>{{cat tag|Island}}</nowiki></code>s |
||
+ | * <code><nowiki>{{cat tag|Forests}}</nowiki></code> |
||
+ | * Plains, valleys, deserts |
||
+ | |||
+ | |||
+ | === Categories & Tags === |
||
+ | Pages that make use of the ''{{t|geography}}'' template will be added to [[:Category: Locations]]. |
||
+ | |||
[[Category: Infoboxes]] |
[[Category: Infoboxes]] |
Revision as of 18:07, 8 August 2019
Geography | |
---|---|
Featured In | {{{books}}} |
The {{geography}}
infobox template can be used to describe geographical features, usually landforms - mountains, bodies of water, etc.
Template
{{geography |map= / image= |type= |era= |region= |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.
Parameter | Description | Examples |
---|---|---|
map |
Use this to display a relevant map or image hosted on the Coppermind. See Help:Infoboxes for further details. |
|
type
|
Use this to specify the type (e.g. river, mountain, plain) of the geographical feature. Apply a category if possible. See #Types for common values. |
|
era
|
If the geographical feature is known to exist only during a specific era of the world, use this to indicate which one. This mostly applies to Scadrial and Roshar. |
|
region
|
Use this to describe the region where the geographical feature can be found. Note: Automatically generates a link. To bypass this, use |
|
world or earth
|
Use this to specify the planet where the geographical feature can be found. Note: Automatically generates a link. To bypass this, use |
|
universe
|
Use this to indicate the (connected) universe where the geographical feature can be found.
See Help: Infoboxes for further details. |
|
Types
Some common geographical feature types include:
{{cat tag|Mountains}}
- including mountain ranges and volcanoes{{cat tag|Water body}}
- seas, rivers, lakes, oceans{{cat tag|Subsurface geography}}
- caverns, tunnels, caves{{cat tag|Island}}
s{{cat tag|Forests}}
- Plains, valleys, deserts
Categories & Tags
Pages that make use of the {{geography}}
template will be added to Category: Locations.