Template:Infobox hero/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
Template fills in most parameters in infobox automatically with data from [[Data:HeroData.json]].
Template fills in most parameters in infobox automatically with data from [[Data:HeroData.json]].
You need to put hero's code name or their capitalized name in English in "Key" parameter first.
You need to put hero's code name or their capitalized name in English in "key" parameter first.


For example this "Key" fills infobox with data for {{HeroIcon|Ivy}}
For example this "key" fills infobox with data for {{HeroIcon|Ivy}}
<pre>|Key = hero_tengu</pre>
<pre>|key = hero_tengu</pre>
or
or
<pre>|Key = Ivy</pre>
<pre>|key = Ivy</pre>
<includeonly>
<includeonly>
<templatedata>
<templatedata>

Revision as of 07:01, 19 October 2024

Template fills in most parameters in infobox automatically with data from Data:HeroData.json. You need to put hero's code name or their capitalized name in English in "key" parameter first.

For example this "key" fills infobox with data for Ivy

|key = hero_tengu

or

|key = Ivy