Diferencia entre revisiones de «Plantilla:Location»

m
m
 
(No se muestran 34 ediciones intermedias de 6 usuarios)
Línea 1: Línea 1:
{{infobox
{{infobox
|title={{{place|{{PAGENAME}}|}}}
|title={{{name|{{PAGENAME}}}}}|id=location|

|{{#if:{{{map|}}}|{{row/image|{{{map}}}|width={{{map-width|240px}}}|}}|}}
<!-- map or image -->
{{#if:{{{map|}}} |{{row/image+artist |{{{map}}} }}|}}
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}} }}|}}

<!-- about -->
{{#if:{{{capital|}}} |{{row/kv| Capital |{{{capital}}}<!-- -->}}|}}
{{#if:{{{ruler|}}} |{{row/kv| Gobernador |{{{ruler}}}<!-- -->}}|}}
{{#if:{{{occupied|}}} |{{row/kv| Ocupado por |{{{occupied}}}<!-- -->}}|}}
{{#if:{{{era|}}} |{{row/kv| Era |[[{{{era}}}]]{{era/{{{era}}}|}}<!-- -->}}|}}


{{#if:{{{ethnicity|}}} |{{row/kv|Ethnicity |{{{ethnicity}}}<!-- -->}}|}}
{{#if:{{{capital|}}} |{{row/kv|Capital |{{{capital}}}<!-- -->}}|}}
{{#if:{{{ruler|}}} |{{row/kv|Ruler |{{{ruler}}}<!-- -->}}|}}
<!-- location -->
<!-- location -->
{{#if:{{{raw-city|}}} |{{row/kv|City |{{{raw-city}}}<!-- -->}}|}}
{{#if:{{{'city|}}} |{{row/kv| Ciudad |{{{'city}}}{{raw/city}}<!-- -->}}|}}
{{#if:{{{city|}}} |{{row/kv|City |{{place tag|{{{city}}}|}}<!-- -->}}|}}
{{#if:{{{city|}}} |{{row/kv| Ciudad |{{place tag|{{{city}}}|}}<!-- -->}}|}}
{{#if:{{{raw-state|}}} |{{row/kv|State |{{{raw-state}}}<!-- -->}}|}}
{{#if:{{{'state|}}} |{{row/kv| Estado |{{{'state}}}{{raw/state}}<!-- -->}}|}}
{{#if:{{{state|}}} |{{row/kv|State |{{place tag|{{{state}}}|}}<!-- -->}}|}}
{{#if:{{{state|}}} |{{row/kv| Estado |{{place tag|{{{state}}}|}}<!-- -->}}|}}
{{#if:{{{dominance|}}} |{{row/kv|Dominance |{{tag|{{{dominance}}} Dominance}}<!-- -->}}|}}
{{#if:{{{dominance|}}} |{{row/kv| Dominio |{{tag|Dominio {{{dominance}}} }}<!-- -->}}|}}
{{#if:{{{princedom|}}} |{{row/kv|Princedom |{{tag|{{{princedom}}} princedom}}<!-- -->}}|}}
{{#if:{{{princedom|}}} |{{row/kv| Principado |{{tag|Principado {{{princedom}}} }}<!-- -->}}|}}
{{#if:{{{raw-region|}}}|{{row/kv|Region |{{{raw-region}}}<!-- -->}}|}}
{{#if:{{{'region|}}} |{{row/kv| Región |{{{'region}}}{{raw/region}}<!-- -->}}|}}
{{#if:{{{region|}}} |{{row/kv|Region |{{place tag|{{{region}}}|}}<!-- -->}}|}}
{{#if:{{{region|}}} |{{row/kv| Región |{{place tag|{{{region}}}|}}<!-- -->}}|}}
{{#if:{{{raw-nation|}}}|{{row/kv|Nation |{{{raw-nation}}}<!-- -->}}|}}
{{#if:{{{'nation|}}} |{{row/kv| Nación |{{{'nation}}}{{raw/nation}}<!-- -->}}|}}
{{#if:{{{nation|}}} |{{row/kv|Nation |{{place tag|{{{nation}}}|}}<!-- -->}}|}}
{{#if:{{{nation|}}} |{{row/kv| Nación |{{place tag|{{{nation}}}|}}<!-- -->}}|}}
{{#if:{{{raw-world|}}} |{{row/kv|World |{{{raw-world}}}<!-- -->}}|}}
{{#if:{{{'world|}}} |{{row/kv| Mundo |{{{'world}}}{{raw/world}}<!-- -->}}|}}
{{#if:{{{earth|}}} |{{row/kv|World |[[Earth ({{{earth}}})]][[Category: {{{earth}}} places]]}}|}}
{{#if:{{{earth|}}} |{{row/kv| Mundo |{{earth tag|earth={{{earth}}}|cat=Tierra ({{{earth}}})}} |}}|}}
{{#if:{{{world|}}} |{{row/kv|World |{{place tag|{{{world}}}|}}<!-- -->}}|}}
{{#if:{{{world|}}} |{{row/kv| Mundo |{{place tag|{{{world}}}|}}<!-- -->}}|}}
{{#if:{{{universe|}}} |{{row/kv|Universe |{{{universe}}}<!-- -->}}|}}
{{#if:{{{universe|}}} |{{row/kv| Universo |{{{universe}}}<!-- -->}}|}}

<!-- featured in -->{{row/kv|Featured In|''{{{books}}}''|}}

}}<includeonly><!--
}}<includeonly><!--


-->[[Category: Places]]<!--
-->{{cat ns|Lugares|only=0}}<!--


-->{{#if:{{{location|}}}|[[Category: infobox.location]]}}<!--
-->{{#if:<!--
-->{{#if:{{{country|}}}|[[Category: infobox.country]]}}<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world|}}}<!-- -->{{{universe|}}}<!--
-->{{#if:{{{era|}}}|[[Category: infobox.era]]}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--

-->{{#if:{{{map-artist|}}}|[[category: redundant artist attribution]]}}<!--
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--


--></includeonly><noinclude>
--></includeonly><noinclude>


The general ''{{t|location}}'' infobox template can be used to describe locations that cannot be better described by other location templates, such as:
This template allows you to include information about a country, city, geographical landmark, building, or other place on its article.
* {{t|nation}} for nations, kingdoms, etc.
* {{t|settlement}} for cities, villages, etc.
* {{t|architecture}} for buildings
* {{t|geography}} for features of the landscape, such as rivers, mountains, and lakes


__TOC__

=== Template ===
<pre class=mw-code>
{{location
|map= / image=
|capital=
|ruler=
|occupied=
|era=
|city=
|state=
|dominance=
|princedom=
|region=
|nation=
|world= / earth=
|universe=

}}
</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|Location}} Parameters}}

<!-- ---------------- -->
<!-- ROW: image / map -->
<!-- ---------------- -->
{{docs/row/optional
|'param= <code>image</code> <br><small>or</small><br> <code>map</code>
|desc= Use this to display a relevant image hosted on the Coppermind.
<small>See [[Help:Infoboxes]] for further details.</small>
|eg=
<code><nowiki>|image=Shadesmar (TWoK).jpg</nowiki></code><br>
<code><nowiki>|map=Locator_Frostlands.png</nowiki></code>
}}

<!-- ------------ -->
<!-- ROW: capital -->
<!-- ------------ -->
{{docs/row/optional
|param= capital
|desc= Use this to specify the capital of nation-like locations.
|eg=
<code><nowiki>|capital=[[Kholinar]]</nowiki></code>
}}

<!-- ---------- -->
<!-- ROW: ruler -->
<!-- ---------- -->
{{docs/row/optional
|param= ruler
|desc= Use this to specify the ruler of the location.
|eg=
<code><nowiki>|ruler=[[Torol Sadeas]]</nowiki></code>
}}

<!-- ------------- -->
<!-- ROW: occupied -->
<!-- ------------- -->
{{docs/row/optional
|param= occupied
|desc= When the location is contested in a war, use this to specify which party holds it currently. Mostly useful for locations of [[Roshar]] as the war with [[Odium]]'s forces unfolds.
|eg=
<code><nowiki>|occupied=[[Alethkar]]</nowiki></code>
}}

<!-- -------- -->
<!-- ROW: era -->
<!-- -------- -->
{{docs/row/optional
|param= era
|desc= Use this to specify which era the location existed or exists in.
|eg=
<code><nowiki>|era=[[Classical Scadrial]]</nowiki></code><br>
<code><nowiki>|era=[[Heraldic Epochs]]</nowiki></code><br>
<code><nowiki>|era=Post-Catacendre</nowiki></code>
}}

<!-- --------- -->
<!-- ROW: city -->
<!-- --------- -->
{{docs/row/optional
|param= city
|desc= Use this to specify the city where the location can be found.<br>
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'city</code>.</small><br>
<small>See [[Help: Infoboxes]] for further details.
|eg=
<code><nowiki>|city=Elendel</nowiki></code><br>
<code><nowiki>|'city=[[Wikipedia: Boston|Boston]]</nowiki></code>
}}

<!-- ---------- -->
<!-- ROW: state -->
<!-- ---------- -->
{{docs/row/optional
|param= state
|desc= Use this to specify the state where the location can be found.
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'state</code>.</small><br>
<small>See [[Help: Infoboxes]] for further details.
|eg=
<code><nowiki>|state=Alornia</nowiki></code><br>
<code><nowiki>|'state=[[Wikipedia: Iowa|Iowa]]</nowiki></code>
}}

<!-- -------------- -->
<!-- ROW: dominance -->
<!-- -------------- -->
{{docs/row/optional
|param= dominance
|desc= Use this to specify the [[Final Empire]] [[Dominance]] where the location can be found.
<small>'''Note:''' Automatically generates a link.</small><br>
<small>See [[Help: Infoboxes]] for further details.
|eg=
<code><nowiki>|dominance=Central</nowiki></code>
}}

<!-- -------------- -->
<!-- ROW: princedom -->
<!-- -------------- -->
{{docs/row/optional
|param= princedom
|desc= Use this to specify the [[Alethi]] princedoms where the location can be found.
<small>'''Note:''' Automatically generates a link.</small><br>
<small>See [[Help: Infoboxes]] for further details.
|eg=
<code><nowiki>|princedom=Kholin</nowiki></code>
}}

<!-- ----------- -->
<!-- ROW: region -->
<!-- ----------- -->
{{docs/row/optional
|param=region
|desc= Use this to specify the region where the location can be found.
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'region</code>.</small><br>
<small>See [[Help: Infoboxes]] for further details.
|eg=
<code><nowiki>|region=Elendel Basin</nowiki></code><br>
<code><nowiki>|'region=[[Wikipedia: Midwest|Midwest]]</nowiki></code>
}}

<!-- ----------- -->
<!-- ROW: nation -->
<!-- ----------- -->
{{docs/row/optional
|param= nation
|desc= Use this to specify the nation where the location can be found.
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'nation</code>.</small><br>
<small>See [[Help: Infoboxes]] for further details.
|eg=
<code><nowiki>|nation=Alethkar</nowiki></code><br>
<code><nowiki>|'nation=[[Wikipedia: USA|American]]</nowiki></code>

}}

<!-- ------------------ -->
<!-- ROW: world / earth -->
<!-- ------------------ -->
{{docs/world}}

<!-- ------------- -->
<!-- ROW: universe -->
<!-- ------------- -->
{{docs/universe}}



|}


=== Categories & Tags ===
There are two required parameters, the {{{world}}} that the place inhabits, and the {{{books}}} or series the place is set upon.
Pages that make use of the ''{{t|location}}'' template will be added to [[:Category: Locations]]. In addition to this, 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>).
A number of optional parameters allow you to pinpoint the location to a particular {{{region}}}, {{{country}}}, {{{capital}}} or {{{city}}}. {{{capital}}} should be used when talking about countries, {{{city}}} should be used when talking about places inside a city.
Another parameter allows you to define the {{{era}}} or time period the place existed in.


An advanced field {{{location}}} allows you to add {{t|row/kv}}s directly, and {{{place}}} allows you to change the box heading.


[[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}}

Revisión actual - 11:08 1 abr 2024

Location

The general {{location}} infobox template can be used to describe locations that cannot be better described by other location templates, such as:

  • {{nation}} for nations, kingdoms, etc.
  • {{settlement}} for cities, villages, etc.
  • {{architecture}} for buildings
  • {{geography}} for features of the landscape, such as rivers, mountains, and lakes


Template

{{location
|map= / image=
|capital=
|ruler=
|occupied=
|era=
|city=
|state=
|dominance=
|princedom=
|region=
|nation=
|world= / earth=
|universe=

}}

Parameters

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

{{Location}} Parameters
Parameter Description Examples
image
or
map
Use this to display a relevant image hosted on the Coppermind.

See Help:Infoboxes for further details.

|image=Shadesmar (TWoK).jpg
|map=Locator_Frostlands.png

capital Use this to specify the capital of nation-like locations.

|capital=[[Kholinar]]

ruler Use this to specify the ruler of the location.

|ruler=[[Torol Sadeas]]

occupied When the location is contested in a war, use this to specify which party holds it currently. Mostly useful for locations of Roshar as the war with Odium's forces unfolds.

|occupied=[[Alethkar]]

era Use this to specify which era the location existed or exists in.

|era=[[Classical Scadrial]]
|era=[[Heraldic Epochs]]
|era=Post-Catacendre

city Use this to specify the city where the location can be found.

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

|city=Elendel
|'city=[[Wikipedia: Boston|Boston]]

state Use this to specify the state where the location can be found.

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

|state=Alornia
|'state=[[Wikipedia: Iowa|Iowa]]

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

Note: Automatically generates a link.
See Help: Infoboxes for further details.

|dominance=Central

princedom Use this to specify the Alethi princedoms where the location can be found.

Note: Automatically generates a link.
See Help: Infoboxes for further details.

|princedom=Kholin

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

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

|region=Elendel Basin
|'region=[[Wikipedia: Midwest|Midwest]]

nation Use this to specify the nation where the location can be found.

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

|nation=Alethkar
|'nation=[[Wikipedia: USA|American]]

world
or
earth
Use this to specify the planet where the location 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 location 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 {{location}} template will be added to Category: Locations. In addition to this, specifying an earth in the infobox will apply the appropriate Earth category (e.g. |earth=Reckoners will apply Category:Earth (Reckoners)).

Articles using Template