User:Sur: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Sur (talk | contribs)
m removed Abrams as default name
Sur (talk | contribs)
m example commented out
Line 33: Line 33:
</table>
</table>
</div>
</div>
{{Quotation||<b>{{{role}}}</b><br>{{{playstyle}}}}}<noinclude>{{Documentation}}</noinclude>
{{Quotation||<b>{{{role}}}</b><br>{{{playstyle}}}}}</includeonly><noinclude>
 
{{Documentation}}
</includeonly><noinclude>
 
Example<br>
The invoke will yield<br>
 
{{User:Sur
| name_english  = Abrams
| name_localized            = Abrams
| role        = Charges into close combat
| playstyle    = Abrams has the bulk and sustain to lead from the front, often running into the middle of his foes and watching them scatter. If his enemies waste their fire on him, his back-line teammates can lay out damage with impunity.
| weapon_name = Gun Name
| weapon_description = Gun Description
| weapon_values = DPS, Icon 7.79, Ammo, Icon 14, Rounds per Second, Icon 1.167, Reload Time, Icon 0.353s
| vitality_values = Health, Icon 600, Bullet Resist, Icon 0%, Spirit Resist, Icon 0%, Move Speed, Icon 6.5m/s
}}
 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
Example2<br>
{{#invoke:HeroData|write_infobox|Abrams}}
</noinclude>
</noinclude>

Revision as of 21:56, 21 September 2024

Documentation [view] [edit] [purge]

Overview

Creates a summarized infobox for a given hero.

Also displays the hero's role and playstyle below.

Example

Recommended to use Module:HeroData's write_infobox function to generate this dynamically, for example

{{#invoke:HeroData|write_infobox|Abrams}}


Outputs


Abrams
{{{BASEPAGENAME}}}
Summarized Base Stats
Weapon
Case Closed
Reloads single shells at a time. Can be interrupted
DPS 70.1
Ammo 9
Bullets per sec 1.67
Reload Time 0.353s
Vitality
Max Health 600
Bullet Resist 0%
Spirit Resist 0%
Move Speed 6.5m/s

Charges into close combat
Abrams has the bulk and sustain to lead from the front, often running into the middle of his foes and watching them scatter. If his enemies waste their fire on him, his backline teammates can lay out damage with impunity.

Parameters

Parameters are passed from Module:HeroData, see there for more documentation