Difference between revisions of "Template:Geography"

Jump to navigation Jump to search
m
+usage
m (tweaks +map)
m (+usage)
(27 intermediate revisions by 10 users not shown)
{{infobox
|title={{{place|{{PAGENAME}}|}}}|id=geography|1=
 
|1=
<!-- map or image -->
{{#if:{{{map|}}} |{{row/image |{{{map}}} |width={{{map-width|240px}}} }}|}}
{{#if:{{{imagemap|}}} |{{row/image +artist |{{{imagemap}}}<!-- -->}}|}}
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}}<!-- -->}}|}}
<!-- facts -->
 
{{#if:{{{type|}}} |{{row/kv|Type |{{{type}}}<!-- -->}}|}}
<!-- information -->
{{#if:{{{type|}}} |{{row/kv| Type |{{{type}}}<!-- -->}}|}}
{{#if:{{{occupied|}}} |{{row/kv| Occupied by |{{{occupied}}}<!-- -->}}|}}
{{#if:{{{era|}}} |{{row/kv| Era |{{{era}}}{{era/{{{era}}}|}}<!-- -->}}|}}
 
<!-- location -->
{{#if:{{{raw-region|}}} |{{row/kv| Region |{{place tag|{{{raw-region}}}|}}<!-- -->}}|}}
{{#if:{{{'region|}}} |{{row/kv| Region |{{place tag |{{{'region}}}| {{raw/region}}<!-- -->}}|}}
 
{{#if:{{{raw-world|}}} |{{row/kv|World |{{{raw-world}}}<!-- -->}}|}}
{{#if:{{{earthworld|}}} |{{row/kv| World |[[Earth ({ |{{earth}}})]][[Category:place tag|{{{earthworld}}}|}}<!-- geography]]-->}}|}}
{{#if:{{{worldearth|}}} |{{row/kv| World |[[Earth ({{place{earth}}})]][[Category: tag|{{{worldearth}}}|}}<!-- geography]] -->}}|}}
{{#if:{{{universe'world|}}} |{{row/kv|Universe World |{{{universe'world}}} {{raw/world}}<!-- -->}}|}}
{{#if:{{{universe|}}} |{{row/kv| Universe |{{{universe}}}<!-- -->}}|}}
<!-- featured in -->{{row/kv|Featured In|''{{{books}}}''|}}
 
<!-- featured in -->{{row/kv| Featured In |''{{{books}}}''<!-- -->}}
}}<includeonly><!--
 
-->[[categoryCategory: geographyLocations]]<!--
 
-->[[category: places]]<!--
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--
 
--></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__
 
=== Template ===
<pre class=mw-code>
{{geography
|map= / image=
|type=
|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|Geography}} Parameters}}
 
<!-- ---------------- -->
<!-- ROW: image / map -->
<!-- ---------------- -->
{{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.<br>
<small>See [[Help:Infoboxes]] for further details.</small>
|eg=
<code><nowiki>|image=ashmount.png</nowiki></code>
}}
 
<!-- --------- -->
<!-- ROW: type -->
<!-- --------- -->
{{docs/row/optional
|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>Note''': For pages that are themselves geographical features, e.g. [[lait]]s or [[Chasm|the Chasm]], make this say "Geographical feature" instead.</small><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
 
To specify the location of this feature, use {{{region}}}, {{{world}}}, {{{universe}}} (and {{{raw-}}} equivalents to avoid auto-tagging).
 
=== Categories & Tags ===
To indicate what kind of feature this is, use the {{{type}}} parameter.
Pages that make use of the ''{{t|geography}}'' template will be added to [[:Category: Locations]].
 
It will add pages to both the [[:category: geography|geography]] and [[:category: places|places]] categories.
 
[[categoryCategory: infoboxesInfoboxes]]
== 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}}
40,275

edits

Navigation menu