FANDOM


Linha 6: Linha 6:
 
<data source = "image">
 
<data source = "image">
 
<format><div style="min-height:120px;vertical-align:middle;">[[File:{{#setmainimage:{{{image|Panel.png}}}}}|220x220px|center|middle]][[Category:InfoboxOverride]]</div></format>
 
<format><div style="min-height:120px;vertical-align:middle;">[[File:{{#setmainimage:{{{image|Panel.png}}}}}|220x220px|center|middle]][[Category:InfoboxOverride]]</div></format>
<default><div style="min-height:120px;vertical-align:middle;">[[File:{{#setmainimage:{{#if:{{GetValue|{{#var:Name}}|Image}}|{{GetValue|{{#var:Name}}|Image}}||Panel.png}}}}||220x220px|center|middle]]</div></default>
+
<default><div style="min-height:120px;vertical-align:middle;">[[File:{{#setmainimage:{{#if:{{{{#var:ValueGet}}|{{#var:Name}}|Image}}|{{{{#var:ValueGet}}|{{#var:Name}}|Image}}||Panel.png}}}}||220x220px|center|middle]]</div></default>
 
</data>
 
</data>
 
<header>Estátisticas</header>
 
<header>Estátisticas</header>

Edição das 12h21min de 3 de maio de 2018


Módulo desenvolvido por User:Falterfire, em tradução por User:Dioniso7 Disponível em: http://warframe.wikia.com/wiki/Template:WeaponInfoboxAutomatic

A utilização do template é simples basta adicionar {{WeaponInfoboxAutomatic} na página que o template irá buscar o nome da arma e trazer os valores, caso não traga os valores corretos, deverá ser colocado o nome da arma em name =, ou em último caso poderá ser setado os dados de cada campo conforme os dados da arma.

Syntax is just {{WeaponInfoboxAutomatic|name=NAME}}. Data is pulled from Módulo:Weapons/data and formatted using Módulo:Weapons



It is now possible to manually override values. Below is a version of the template with empty values you can copy & paste into any page if needed to explain how to use manual override.

Ver lista de parâmetros
{{WeaponInfoboxAutomatic
<!--overides the name for ALL automatic calls. Needed if being used for a weapon that doesn't match the name of the page (or if the weapon's name has an odd character like '&' in it)-->
|name = 

<!--
---!!!!!---INSTRUCTIONS---!!!!!---
Everything below this is for manually overriding the automatic values. If you're not sure how to update Module:Weapons/data (Or especially if this is a brand new weapon), you can just put stuff here instead and somebody else will drop by and move the changes along later.

If everything here is blank, then everything is working correctly - Only put values here if they are different from what the page already shows.
-->
<!--Estátisticas-->
|image =
|mastery level =
|slot =
|type =
|trigger =

<!--Utilidade-->
|ammo type =
|flight speed =
|range =
|noise level =
|fire rate =
|spool =
|accuracy =
|magazine =
|max ammo =
|reload =
|zoom =
|combo reset =
|combo min =
|finisher damage =
|channel damage =
|block resist = 
|disposition =

<!--Ataques Normais-->
|normal impact =
|normal puncture =
|normal slash =
|normal element =
|normal damage =
|normal pellet count =
|normal burst count =
|normal critical chance =
|normal critical damage =
|normal status chance =
|normal punchthrough =
|normal radius =
|normal duration =
|normal falloff =
|normal ammo cost =

<!--Ataques Carregados-->
|charge impact =
|charge puncture =
|charge slash =
|charge element =
|charge damage =
|charge time =
|charge pellet count =
|charge burst count =
|charge critical chance =
|charge critical damage =
|charge status chance =
|charge punchthrough =
|charge radius =
|charge duration =
|charge falloff =
|charge ammo cost =

<!--Area Attacks-->
|area impact =
|area puncture =
|area slash =
|area element =
|area damage =
|area pellet count =
|area critical chance =
|area critical damage =
|area status chance =
|area radius =
|area duration =
|area falloff =
|area ammo cost = 

<!--Secondary Area Attacks (For 2-stage explosions like Lenz or Kulstar)-->
|secondaryarea impact =
|secondaryarea puncture =
|secondaryarea slash =
|secondaryarea element =
|secondaryarea damage =
|secondaryarea pellet count =
|secondaryarea critical chance =
|secondaryarea critical damage =
|secondaryarea status chance =
|secondaryarea radius =
|secondaryarea duration =
|secondaryarea falloff =

<!--Secondary Attacks-->
|secondary impact =
|secondary puncture =
|secondary slash =
|secondary element =
|secondary damage =
|secondary pellet count =
|secondary burst count =
|secondary critical chance =
|secondary critical damage =
|secondary status chance =
|secondary punchthrough =
|secondary radius =
|secondary duration =
|secondary falloff =
|secondary charge time =
|secondary fire rate =
|secondary trigger =
|secondary ammo cost =
|secondary reload =
|secondary noise level = 

<!--Throw Attacks (for Glaives)-->
|throw impact =
|throw puncture =
|throw slash =
|throw element =
|throw damage =
|throw critical chance =
|throw critical damage =
|throw status chance =
|throw punchthrough =
|throw falloff =
|throw charge time =

<!--Charged Throw Attacks (for Glaives)-->
|charged throw impact =
|charged throw puncture =
|charged throw slash =
|charged throw element =
|charged throw damage =
|charged throw critical chance =
|charged throw critical damage =
|charged throw status chance =
|charged throw punchthrough =
|charged throw falloff =
|charged throw charge time =

<!--Other Melee Attacks-->
|slam attack =
|slam radius =
|slide attack =
|wall attack =

<!--Miscellaneous-->
|syndicate effect =
|augments =
|polarities =
|stance polarity =
|users =
|introduced =
}}
Ver lista de Fim
O conteúdo da comunidade está disponível sob CC-BY-SA salvo indicação em contrário.