From Brotato Wiki
(improve docs) |
(fix iconbox rarity not working for weapons) |
||
Line 4: | Line 4: | ||
<td>{{Character Data|{{{name|{{{1|}}}}}}|stats}}</td> | <td>{{Character Data|{{{name|{{{1|}}}}}}|stats}}</td> | ||
<td>{{Character Data|{{{name|{{{1|}}}}}}|unlockedby}}</td> | <td>{{Character Data|{{{name|{{{1|}}}}}}|unlockedby}}</td> | ||
<td>{{Iconbox|{{Character Data|{{{name|{{{1|}}}}}}|unlocks}}|rarity={{Item Data|{{Character Data|{{{name|{{{1|}}}}}}|unlocks}}|rarity}}}}</td> | {{#switch: {{lc:{{Character Data|{{{name|{{{1|}}}}}}|unlocktype}}}} | ||
| item = <td>{{Iconbox|{{Character Data|{{{name|{{{1|}}}}}}|unlocks}}|rarity={{Item Data|{{Character Data|{{{name|{{{1|}}}}}}|unlocks}}|rarity}}}}</td> | |||
| weapon = <td>{{Iconbox|{{Character Data|{{{name|{{{1|}}}}}}|unlocks}}|rarity={{Weapon Data|{{Character Data|{{{name|{{{1|}}}}}}|unlocks}}|rarity}}}}</td> | |||
| #default = Error: "unlocktype" was not specified for "{{{name|{{{1|}}}}}}" in [[Template:Character_Data]]<!-- | |||
-->}} | |||
</tr> | </tr> | ||
</onlyinclude></includeonly> | </onlyinclude></includeonly> |
Revision as of 22:58, 8 November 2022
Creates a row for the specified Character. Rows MUST be wrapped inside a table. Use Template:TableHeaders for the headers row.
Example
{{TableHeaders|characters}}
{{TableRowCharacter|Well Rounded}}
{{TableRowCharacter|Brawler}}
Name | Stats | Unlocked By | Unlocks | Item Tags |
---|---|---|---|---|
+5 Max Hp +5% Speed +8 Harvesting |
Unlocked by default | |||
+50% Attack Speed with Unarmed weapons You start with 1 Fist +15% Dodge -50 Range -50 Ranged Damage |
Unlocked by default |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Character Name | name 1 | Name of the character, as shown on the Characters page
| String | required |