User:Sur: Difference between revisions
Jump to navigation
Jump to search
m weapon name, description removed from infobox |
m shadow added to weapon and vitality, which were added by som1 else to Infobox_hero |
||
Line 15: | Line 15: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<th colspan="2" style="background-color: #d5903f; font-weight: bold; font-size: | <th colspan="2" style="background-color: #d5903f; font-weight: bold; font-size: 17px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7; border-bottom: none">{{#invoke:AttributeData|localize_category|Weapon}}</th> | ||
</tr> | </tr> | ||
{{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{weapon_values}}} }} | {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{weapon_values}}} }} | ||
<tr> | <tr> | ||
<th colspan="2" style="background-color: #74b01c; font-weight: bold; font-size: | <th colspan="2" style="background-color: #74b01c; font-weight: bold; font-size: 17px; font-family: 'Retail Demo', 'PT Serif','Palatino','Georgia',serif; font-weight: bold; text-shadow: 0px 2px 4px black, 1px 1px 2px black, 0px 0px 1px black; color:#FFEFD7; border-bottom: none">{{#invoke:AttributeData|localize_category|Vitality}}</th> | ||
</tr> | </tr> | ||
{{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{vitality_values}}} }} | {{#invoke: TableGenerator | generateHtmlTable | cols=2 | only_body=true | cell_values={{{vitality_values}}} }} |
Revision as of 02:38, 12 October 2024
Overview
Creates a summarized infobox for a given hero.
Example
Recommended to use Module:HeroData's write_infobox function to generate this dynamically, for example
{{#invoke:HeroData|write_infobox|Abrams}}
Outputs
Abrams
|
|
---|---|
Weapon | |
DPS | 70.1 |
Ammo | 9 |
Bullets per sec | 1.67 |
Reload Time | 0.353s |
Vitality | |
Max Health | 570 |
Bullet Resist | 0% |
Spirit Resist | 0% |
Move Speed | 6.8m/s |
“{{{role}}}
{{{playstyle}}}