Editing User:Sur/docGive feedback
Jump to navigation
Jump to search
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
==Overview== | ==Overview== | ||
Creates a summarized infobox for a given hero. | Creates a summarized infobox for a given hero. | ||
Also displays the hero's role and playstyle below. | |||
==Example== | ==Example== | ||
| Line 17: | Line 19: | ||
--> | --> | ||
Recommended to use [[Module:HeroData]]'s write_infobox function to generate this dynamically, for example<br> | Recommended to use [[Module:HeroData]]'s write_infobox function (also called by [[Template:GenerateHeroInfobox]] to generate this dynamically, for example<br> | ||
<pre>{{#invoke:HeroData|write_infobox|Abrams}}</pre> | <pre>{{#invoke:HeroData|write_infobox|Abrams}} or {{GenerateHeroInfobox|Abrams}}</pre> | ||
<br> | <br> | ||
Outputs | Outputs | ||
{{#invoke:HeroData|write_infobox| | {{#invoke:HeroData|write_infobox|Abrams}} | ||
==Parameters== | ==Parameters== | ||
Parameters are passed from [[Module:HeroData]], see there for more documentation | Parameters are passed from [[Module:HeroData]], see there for more documentation | ||