From Brotato Wiki

(Update "unlocks" section to use IconBox (following a recent edit that lets you remove the line breaks) -- this make Template:MiscIcon redundant now, as it was only created for this template)
(Add support for item tags (`wantedtags`))
Line 37: Line 37:
| #default = Error: "unlocktype" was not specified, or was not either "weapon" or "item" (provided: "{{{unlocktype}}}")<!--
| #default = Error: "unlocktype" was not specified, or was not either "weapon" or "item" (provided: "{{{unlocktype}}}")<!--
-->}}
-->}}
</div>
|}}
{{#if:{{{wantedtags|}}}|
<div class="line"></div>
<div class="stats-container">
<div style="font-weight:bold; color:rgb(234,226,176);">[[Items#Item_Tags|Item Tags]]</div>
{{{wantedtags}}}
</div>
</div>
|}}
|}}

Revision as of 00:08, 7 November 2022


Usage

This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.

{{Infobox Character
|name=Lucky
|stats='''+8''' Max HP<br>
'''+4%'''Dodge<br>
}}

Results in:


Lucky
Lucky
Character
Stats

+8 Max HP
+4%Dodge




With Template:Character_Data (recommended):

{{Infobox Character 
|name=Well Rounded
|stats= {{Character Data|Well Rounded|stats}}
|unlockedby= {{Character Data|Well Rounded|unlockedby}}
|unlocks= {{Character Data|Well Rounded|unlocks}}
|unlocktype= {{Character Data|Well Rounded|unlocktype}}
}}

Results in:


Well Rounded
Well Rounded
Character
Stats

+5 Max Hp
+5% Speed
+8 Harvesting

Unlocked By

Unlocked by default

Unlocks
Potato
  Potato