Diferencia entre revisiones de «Plantilla:WeaponInfo»

De SpiralKnights-es

Saltar a: navegación, buscar
m
 
(4 revisiones intermedias por el mismo usuario no mostrado)
Línea 17: Línea 17:
 
}}
 
}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|'''[[Daño|Ofensas]]''':[[File:Icon-notice.png|20px|right|Los tipo(s) de daño y velocidad de ataque influyen en combate. El estilo de ataque de la arma en relacion con el entorno de combate es tambien importante. Considere ambas cuando escoja que arma empuñar.]]{{clearright}}{{{stats|[[Image:Equipment-{{{name|Unknown}}}_Stats.png|center|Estadísticas]]}}}|left}}<br/>
+
{{SKWindow/Cell|'''[[Daño]]''':[[File:Icon-notice.png|20px|right|El/Los tipo(s) de daño y velocidad de ataque influyen en combate. El estilo de ataque de la arma en relación con el entorno de combate es también importante. Considere ambas cuando escoja que arma empuñar.]]{{clearright}}{{{stats|[[Image:Equipment-{{{name|Unknown}}}_Stats.png|center|Estadísticas]]}}}|left}}<br/>
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|'''[[Habilidades]]''':[[File:Icon-notice.png|20px|right|Las mejoras/boosts y penaltis son ambos considerados "habilidades" en general. Muchos items no tienen ninguna habilidad especial. Vea la pagina de habilidades para mas detalles. Algunos enemigos son inmunes a ciertos efectos de estado - vea la pagina de efectos de estado individuales para mas detalles.]]{{clearright}}
+
{{SKWindow/Cell|'''[[Habilidades]]''':[[File:Icon-notice.png|20px|right|Las mejoras/boosts y penaltis son ambos considerados "habilidades" en general. Muchos artículos no tienen ninguna habilidad especial. Vea la pagina de habilidades para mas detalles. Algunos enemigos son inmunes a ciertos efectos de estado - vea la pagina de efectos de estado individuales para mas detalles.]]{{clearright}}
 
{{#switch: {{{abilities|}}}  
 
{{#switch: {{{abilities|}}}  
| #default = Este item no tiene ninguna habilidade especial.
+
| #default = Este articulo no tiene ninguna habilidad especial.
| yes      = [[File:Equipment-{{{name|}}} Abilities.png|center|link=Habilidades]]<br/>
+
| yes      = [[File:Equipment-{{{name|}}} Abilities.png|center]]<br/>
 
}}
 
}}
 
}}
 
}}
 
{{SKWindow/NewRow}}
 
{{SKWindow/NewRow}}
{{SKWindow/Cell|'''[[Habilidades#Charge Time Reduction|CTR]]''': [[File:Icon-notice.png|20px|right|Todas las armas ganan estos bonos de CTR (Reduccion de tiempo de Carga) mientras van subiendo nivel.]]  
+
{{SKWindow/Cell|'''[[Habilidades#Reducción de Tiempo de Carga|CTR]]''': [[File:Icon-notice.png|20px|right|Todas las armas ganan estos bonos de CTR (Reducción de tiempo de Carga) mientras van subiendo nivel.]]  
 
* Nivel 5+: CTR: Bajo
 
* Nivel 5+: CTR: Bajo
 
* Nivel 10: CTR: Medio|left}}<br/>
 
* Nivel 10: CTR: Medio|left}}<br/>
Línea 37: Línea 37:
 
|padding = 5px 0px 5px 10px}}
 
|padding = 5px 0px 5px 10px}}
 
}}
 
}}
El '''{{{name}}}''' es una [[{{lcfirst:{{{type}}}}}]] de {{{star}}} estrellas.<includeonly>[[Category:Equipo]][[Category:Armas|{{{star}}}{{{name}}}]]
+
El '''{{{name}}}''' es una [[{{lcfirst:{{#switch:{{{type|bomb}}}
 +
| bomb=bomba
 +
| handgun=pistola
 +
| sword=espada
 +
}}}}]] de {{{star}}} {{#switch:{{{star|}}}
 +
| 0=estrellas
 +
| 1=estrella
 +
| 2=estrellas
 +
| 3=estrellas
 +
| 4=estrellas
 +
| 5=estrellas
 +
}}.<includeonly>[[Category:Equipo]][[Category:Armas|{{{star}}}{{{name}}}]]
 
{{#switch:{{{categories|yes}}}
 
{{#switch:{{{categories|yes}}}
 
|no=
 
|no=
 
|yes={{#switch: {{{type}}}
 
|yes={{#switch: {{{type}}}
| bomba     = [[Category:Bombas]]
+
| bomb     = [[Category:Bombas]]
| pistola = [[Category:Pistolas]]
+
| handgun = [[Category:Pistolas]]
 
| gun      = [[Category:Pistolas]]
 
| gun      = [[Category:Pistolas]]
| espada   = [[Category:Espadas]]
+
| sword   = [[Category:Espadas]]
| Bomba     = [[Category:Bombas]]
+
| Bomb     = [[Category:Bombas]]
| Pistola = [[Category:Pistolas]]
+
| Handgun = [[Category:Pistolas]]
 
| Gun      = [[Category:Pistolas]]
 
| Gun      = [[Category:Pistolas]]
| Espada   = [[Category:Espadas]]
+
| Sword   = [[Category:Espadas]]
| #default = [[Category:Necesita Tipo]]
+
| #default = [[Category:Necesita tipo]]
 
}}{{#switch:{{{damage 1}}}
 
}}{{#switch:{{{damage 1}}}
 
| none      =   
 
| none      =   
 
|          =
 
|          =
| Normal    = [[Category:Armas con {{#switch:{{{damage 2|}}}|=solo|none=only}} daño Normal|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
| Normal    = [[Category:Armas con {{#switch:{{{damage 2|}}}|=solo|none=only}} daño Normal|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
| Elemental = [[Category:Armas con {{#switch:{{{damage 2|}}}|=solo|none=only}} daño Elemental|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
| Elemental = [[Category:Armas con {{#switch:{{{damage 2|}}}|=solo|none=only}} daño Elemental|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
| Piercing  = [[Category:Armas con {{#switch:{{{damage 2|}}}|=solo|none=only}} daño Perforacion|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
| Piercing  = [[Category:Armas con {{#switch:{{{damage 2|}}}|=solo|none=only}} daño Perforación|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
| Shadow    = [[Category:Armas con {{#switch:{{{damage 2|}}}|=solo|none=only}} daño Sombra|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
| Shadow    = [[Category:Armas con {{#switch:{{{damage 2|}}}|=solo|none=only}} daño Sombra|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
 
}}{{#switch: {{{damage 2|none}}}
 
}}{{#switch: {{{damage 2|none}}}
 
| none      =   
 
| none      =   
 
|          =
 
|          =
| Normal    = [[Category:Armas con daño Normal|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
| Normal    = [[Category:Armas con daño Normal|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
| Elemental = [[Category:Armas con daño Elemental|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
| Elemental = [[Category:Armas con daño Elemental|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
| Piercing  = [[Category:Armas con daño Perforacion|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
| Piercing  = [[Category:Armas con daño Perforación|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
| Shadow    = [[Category:Armas con daño Sombra|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
| Shadow    = [[Category:Armas con daño Sombra|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
 
}}{{#switch:{{{status}}}
 
}}{{#switch:{{{status}}}
 
|      =  
 
|      =  
|Curse  = [[Category:Armas que pueden causar Maldición|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
|Curse  = [[Category:Armas que pueden causar Maldición|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
|Fire  = [[Category:Armas que pueden causar Fuego|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
|Fire  = [[Category:Armas que pueden causar Fuego|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
|Freeze = [[Category:Armas que pueden causar Congelar|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
|Freeze = [[Category:Armas que pueden causar Congelar|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
|Poison = [[Category:Armas que pueden causar Veneno|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
|Poison = [[Category:Armas que pueden causar Veneno|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
 
|Shock  = [[Category:Armas que pueden causar Descarga|{{#switch:{{{type|}}}|bbomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
 
|Shock  = [[Category:Armas que pueden causar Descarga|{{#switch:{{{type|}}}|bbomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
|Sleep  = [[Category:Armas que pueden causar Sueño|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
|Sleep  = [[Category:Armas que pueden causar Sueño|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
|Stun  = [[Category:Armas que pueden causar Aturdir|{{#switch:{{{type|}}}|bomba=6|pistola=7|espada=8|Bomba=6|Pistola=7|Espada=8}}-{{{star}}}-{{{name}}}]]
+
|Stun  = [[Category:Armas que pueden causar Aturdir|{{#switch:{{{type|}}}|bomb=6|handgun=7|sword=8|Bomb=6|Handgun=7|Sword=8}}-{{{star}}}-{{{name}}}]]
 
}}{{#switch:{{{promotional}}}
 
}}{{#switch:{{{promotional}}}
| yes = [[Category:Items Promocionales]]
+
| yes = [[Category:Artículos promocionales]]
 
| #default =
 
| #default =
 
}}}}</includeonly><noinclude>
 
}}}}</includeonly><noinclude>
{{documentation}}
+
{{documentation}}[[Category:Plantillas Infobox|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Última revisión de 07:14 17 oct 2015

[editar] [limpiar caché] Documentación de esta plantilla

Uso

This places an infobox about the weapon on the upper right corner of an article.

It also places the weapon in relevant categories, some of which are "special" categories that use numeric organization.

It uses a few other templates to get the job done. Full documentation for individual templates used can be found by entering this template's code into the edit field of the page you wish to update, clicking "preview," and navigating through "templates used on this page" below the edit field box.

Codigo

{{WeaponInfo
| name      = {{PAGENAME}} 
| type      = 
| star      = 
| damage 1  = 
| damage 2  = 
| abilities = 
| status    =
| set       = 
}}

Parametros

Requerido

name
The confirmed name of the item as seen in-game. {{PAGENAME}} should be used for easier copypasting and reduction of mistakes, unless there are disambiguation issues.
type
either bomb, handgun, or sword. We are using lowercase because I forgot about {{lcfirst:}}.
star
either 0, 1, 2, 3, 4, or 5.
damage 1
either Normal, Elemental, Piercing, or Shadow. Please use uppercase. Automatically places item in a relevant category.

Opcional

damage 2
no input: no change
Use only if the item has two offensive damage types. "damage 1" is usually "normal" if there are two damage types - several swords are like this. Either Elemental, Piercing, or Shadow. Please use uppercase. Automatically places item in a relevant category.
abilities
no input: defaults to "this item doesn't have any special abilities."
just enter "yes" If the item has any abilities at all. This makes the template have a slot for the ability image. The "yes" should be lowercase because it is not an entity.
status
no input: no change
one of the status conditions. Please use uppercase. Automatically places item in a relevant category.
set
no input: defaults to the item's icon and "isn't in a set."
Use only if the item is confirmed to be in a set. Other groupings are listed in collections and don't belong in this field. If the item qualifies to be in a set, use the code like so:
{{WeaponInfo
| name     = {{PAGENAME}}
| type     = handgun
| star     = 5
| damage 1 = Shadow
| set      = {{SetLinks
| item 1 = Gorgofist
| item 2 = Gorgomega
}}
}}

Notas

This infobox is different from previous infoboxes. The star info and item icon have been moved into the body of the box. The title text font size has been shrunk to fit into a single line in the infobox window - this size is determined by the current longest known item name in the game (one of the "gunner" items, Sacred Snakebite Pathfinder Armor).

Discussion about this template can be found on the wiki editors' forums:

Infoboxes in general
Weapon page format
"Special" category usage
Herramientas personales