User:Sur/doc: Difference between revisions
< User:Sur
m link to hero module better |
m generate hero infobox removed |
||
Line 19: | Line 19: | ||
--> | --> | ||
Recommended to use [[Module:HeroData]]'s write_infobox function | Recommended to use [[Module:HeroData]]'s write_infobox function to generate this dynamically, for example<br> | ||
<pre>{{#invoke:HeroData|write_infobox | <pre>{{#invoke:HeroData|write_infobox|Abrams}}</pre> | ||
<br> | <br> | ||
Latest revision as of 22:56, 21 September 2024
Overview[edit | edit source]
Creates a summarized infobox for a given hero.
Also displays the hero's role and playstyle below.
Example[edit | edit source]
Recommended to use Module:HeroData's write_infobox function to generate this dynamically, for example
{{#invoke:HeroData|write_infobox|Abrams}}
Outputs
“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[edit | edit source]
Parameters are passed from Module:HeroData, see there for more documentation