Diferencia entre revisiones de «Plantilla:Event»

6170 bytes añadidos ,  hace 2 meses
m
sin resumen de edición
m (+auto attribute artist)
m
 
(No se muestran 40 ediciones intermedias de 9 usuarios)
{{infobox
{{infobox|title={{{place|{{PAGENAME}}|}}}|id=event_info
|title={{{name|{{PAGENAME}}}}}|id=Event|1=
|1=
 
<!-- optional image -->
<!-- optional partof -->
{{#if:{{{image|}}} |{{row/image+artist |{{{image}}} }}|}}
{{#if:{{{partof|}}}|
<!-- optional time-period -->
{{!}}-
{{#if:{{{date|}}} |{{row/kv|Date |{{{date}}} }}|}}
! colspan=2 width=100% style="padding: 0; margin: 0;" align=center {{!}} Parte de {{{partof|Part of}}}
{{#if:{{{era|}}} |{{row/kv|Era |{{{era}}} }}|}}
{{!}}-
<!-- optional participants -->
}}
{{#if:{{{participants|}}} |{{row/kv|Participants |{{{participants}}} }}|}}
 
<!-- optional effects -->
<!-- image -->
{{#if:{{{effects|}}} |{{row/kv|Effects |{{{effects}}} }}|}}
{{#if:{{{image|}}}|{{row/image+artist |{{{image}}} }}|}}
<!-- optional specific location -->
 
{{#if:{{{region|}}} |{{row/kv|Region |{{{region}}} }}|}}
<!-- time-period -->
{{#if:{{{country|}}} |{{row/kv|Country |{{{country}}} }}|}}
{{#if:{{{citydate|}}} |{{row/kv|City Fecha |{{{citydate}}} }}|}}
{{#if:{{{capitalera|}}} |{{row/kv|Capital Era |{{{capitalera}}} }}|}}
 
{{#if:{{{location|}}} |{{row/kv|Location |{{{location}}} }}|}}
<!-- participants -->
<!-- required world field -->{{row/kv|World |[[{{{world}}}]] }}
{{#if:{{{participants|}}} |{{row/kv| Participantes|{{{participants}}} }}|}}
<!-- books field -->{{row/kv|Featured In |''{{{books}}}'' }}
 
<!-- effects -->
{{#if:{{{effects|}}} |{{row/kv| Efectos |{{{effects}}} }}|}}
 
<!-- location -->
{{#if:{{{'city|}}} |{{row/kv| Ciudad |{{{'city}}}{{raw/city}}<!-- -->}}|}}
{{#if:{{{city|}}} |{{row/kv| Ciudad |{{place tag|{{{city}}}|}}<!-- -->}}|}}
{{#if:{{{'state|}}} |{{row/kv| Estado |{{{'state}}}{{raw/state}}<!-- -->}}|}}
{{#if:{{{state|}}} |{{row/kv| Estado |{{place tag|{{{state}}}|}}<!-- -->}}|}}
{{#if:{{{dominance|}}} |{{row/kv| Dominio |{{tag|Dominio {{{dominance}}}}}<!-- -->}}|}}
{{#if:{{{princedom|}}} |{{row/kv| Principado |{{tag|Principado {{{princedom}}}}}<!-- -->}}|}}
{{#if:{{{'region|}}} |{{row/kv| Región |{{{'region}}}{{raw/region}}<!-- -->}}|}}
{{#if:{{{region|}}} |{{row/kv| Región |{{place tag|{{{region}}}|}}<!-- -->}}|}}
{{#if:{{{'nation|}}} |{{row/kv| Nación |{{{'nation}}}{{raw/nation}}<!-- -->}}|}}
{{#if:{{{nation|}}} |{{row/kv| Nación |{{place tag|{{{nation}}}|}}<!-- -->}}|}}
{{#if:{{{location|}}} |{{row/kv| Lugar |{{{location}}}<!-- -->}}|}}
{{#if:{{{'world|}}} |{{row/kv| Mundo |{{{'world}}}{{raw/world}}<!-- -->}}|}}
{{#if:{{{earth|}}} |{{row/kv| Mundo |{{earth tag|earth={{{earth}}}|cat=Tierra ({{{earth}}})}}<!-- -->}}|}}
{{#if:{{{world|}}} |{{row/kv| Mundo | {{toponym link|{{{world}}}}}{{cat ns|Eventos {{demonym|{{{world}}}|plural=yes}}|only=0}}<!-- -->}}|}}
{{#if:{{{universe|}}} |{{row/kv| Universo |{{{universe}}}<!-- -->}}|}}
 
}}<includeonly><!--
 
-->[[Category:{{cat Eventsns|Eventos andy Eras]]eras|only=0}}<!--
 
-->{{#if:<!--
-->{{{earth|}}}<!-- -->{{{world|}}}<!-- -->{{{'world-raw|}}}<!-- -->{{{universe|}}}<!--
-->||{{infobox/no-world}}<!--
-->}}<!--
 
-->{{#if:{{{image-artist|}}}|[[category: redundant artist attribution]]}}<!--
 
--></includeonly><noinclude><noinclude>
 
Use the ''{{t|event}}'' template to describe events and their effects.
This template is used on even pages to help describe the page and its effects and location and things. It adds pages to [[:Category: Events and Eras]].
 
__TOC__
 
=== Template ===
<pre class=mw-code>
{{event
|partof=
|image=
|date=
|era=
|participants=
|effects=
|city= / state= / region= / nation=
|princedom= / dominance=
|location=
|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|Event}} Parameters}}
 
<!-- ------------ -->
<!-- ROW: part of -->
<!-- ------------ -->
{{docs/row/optional
|param= partof
|desc= If the event is a part of a larger event, you can use this to specify that.
|eg=
The [[Battle of Narak]] is a part of the [[War of Reckoning]]
:<code><nowiki>|partof=[[War of Reckoning]]</nowiki></code>
}}
 
<!-- ---------- -->
<!-- ROW: image -->
<!-- ---------- -->
{{docs/image
|eg=
<code><nowiki>|image=Battle of Narak.jpeg</nowiki></code>
}}
 
<!-- --------- -->
<!-- ROW: date -->
<!-- --------- -->
{{docs/row/optional
|param= date
|desc= Use this to specify the date when the event occurred. This can be as precise or as the exact day, but can be as generic as "around this year."
|eg=
<code><nowiki>|date={{Rosharan date|1173|10|10|3}}</nowiki></code><br>
<code><nowiki>|date=circa 673</nowiki></code><br>
}}
 
<!-- -------- -->
<!-- ROW: era -->
<!-- -------- -->
{{docs/row/optional
|param= era
|desc= Use this the specify the era during which the event occurred.
|eg=
<code><nowiki>|era=[[Era of Solitude]]</nowiki></code>
}}
 
<!-- ----------------- -->
<!-- ROW: participants -->
<!-- ----------------- -->
{{docs/row/optional
|param= participants
|desc= Use this specify the major players involved in this event.
|eg=
<code><nowiki>|participants=[[Alethkar]], [[singers]]</nowiki></code>
}}
 
<!-- ------------ -->
<!-- ROW: effects -->
<!-- ------------ -->
{{docs/row/optional
|param= effects
|desc= Use this to describe the effects or outcome of the event.
|eg=
<code><nowiki>|effects=Breaking of the [[Oathpact]]</nowiki></code>
}}
 
<!-- ----------------------------------- -->
<!-- ROW: city / state / region / nation -->
<!-- ----------------------------------- -->
{{docs/row/optional
|'param= <code>city</code> <br><small>or</small><br> <code>state</code> <br><small>or</small><br> <code>region</code> <br><small>or</small><br> <code>nation</code>
|desc= Use this to describe the city, state, region, or nation where the event took place. If several of these are known, usually only ''the most local'' goes in the infobox (e.g. events that place in the city of [[Kholinar]] '''don't''' also have [[Alethkar]] listed as their nation.<br>
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'city</code>, <code>'state</code>, <code>'region</code>, or <code>'nation</code>.</small><br>
<small>See [[Help: Infoboxes]] for further details.</small>
|eg=
<code><nowiki>|city=Kholinar</nowiki></code><br>
<code><nowiki>|state=Alornia</nowiki></code><br>
<code><nowiki>|region=Shattered Plains</nowiki></code><br>
<code><nowiki>|country=Aimia</nowiki></code>
}}
 
<!-- -------------------------- -->
<!-- ROW: princedom / dominance -->
<!-- -------------------------- -->
{{docs/row/optional
|'param= <code>princedom</code> <br><small>or</small><br> <code>dominance</code>
|desc= Use this to describe the [[Alethi]] or [[Veden]] princedom, or the [[Final Empire]] [[dominance]] where the event took place.<br>
<small>'''Note:''' Automatically generates a link.</small><br>
<small>See [[Help: Infoboxes]] for further details.</small>
|eg=
<code><nowiki>|princedom=Kholin</nowiki></code><br>
<code><nowiki>|dominance=Central</nowiki></code>
}}
 
<!-- ------------- -->
<!-- ROW: location -->
<!-- ------------- -->
{{docs/row/optional
|param= location
|desc= If the other location parameters can't describe the location where the event took place, this one can be used to provide additional nuance.
|eg=
<code><nowiki>|location=Near the [[Pits of Hathsin]]</nowiki></code>
}}
 
<!-- ------------------ -->
<!-- ROW: world / earth -->
<!-- ------------------ -->
{{docs/world
|'desc=
Use this to specify the planet where the event took place.<br>
<small>'''Note:''' Automatically generates a link. To bypass this, use <code>'world</code>.</small><br>
<small>See [[Help:Infoboxes]] for further details.</small>}}
 
<!-- ------------- -->
<!-- ROW: universe -->
<!-- ------------- -->
{{docs/universe
|'desc= Use this to indicate the (connected) universe where the event took place.
<small>See [[Help: Infoboxes]] for further details.</small>}}
 
|}
 
 
=== Categories & Tags ===
Pages that make use of the ''{{t|event}}'' template will be added to [[:Category: Events and Eras]].
 
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>).
 
Specifying a <code>world</code>, the page will be added to the that world's ''events'' category, based on the world's {{t|demonym}} (<small>e.g. <code>|world=Roshar</code> will apply [[:Category: Rosharan events]]</small>).
 
[[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}}
5614

ediciones