Editing
User:Sur/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Overview== Creates a summarized infobox for a given hero. ==Example== <!-- {{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 }} The infobox call generated by the lua module (without some stylization for the sake of readability) --> Recommended to use [[Module:HeroData]]'s write_infobox function to generate this dynamically, for example<br> <pre>{{#invoke:HeroData|write_infobox|Abrams}}</pre> <br> Outputs {{#invoke:HeroData|write_infobox|hero_atlas}} ==Parameters== Parameters are passed from [[Module:HeroData]], see there for more documentation
Summary:
Please note that all contributions to Deadlock Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Deadlock:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Data:AttributeData.json
(
edit
)
Data:Dictionary
(
edit
)
Data:HeroData.json
(
edit
)
Data:LangCodes.json
(
edit
)
Data:Lang en.json
(
edit
)
Data:StatInfoboxOrder.json
(
edit
)
User:Sur
(
edit
)
Template:Icon/Brown
(
edit
)
Template:Icon/Grey
(
edit
)
Module:AttributeData
(
edit
)
Module:Dictionary
(
edit
)
Module:HeroData
(
edit
)
Module:Lang
(
edit
)
Module:TableGenerator
(
edit
)
Module:Utilities
(
edit
)
Navigation menu
Personal tools
English
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
User page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Discord community
Recent changes
Random page
Tools
What links here
Related changes
User contributions
Logs
View user groups
Special pages
Page information
Languages