From Brotato Wiki

(First attempt at creating an infobox template)
 
(fixed minimumdanger and added reward)
Line 23: Line 23:
<div class="line"></div>
<div class="line"></div>
<div class="stats-container">
<div class="stats-container">
<div style="font-weight:bold; color:rgb(234,226,176);">Unlocked By</div>
<div style="font-weight:bold; color:rgb(234,226,176);">Minimum Danger</div>
{{{minimumdanger}}}
</div>
|}}
{{#if:{{{reward|}}}|
<div class="line"></div>
<div class="stats-container">
<div style="font-weight:bold; color:rgb(234,226,176);">Minimum Danger</div>
{{{reward}}}
{{{reward}}}
</div>
</div>
|}}
</div>
</div>
</includeonly>
</includeonly>
Line 52: Line 60:
<pre>
<pre>
{{Infobox Elite  
{{Infobox Elite  
|name=Well Rounded
|name=Rhino
|stats= {{Elite Data|Rhino|stats}}
|stats= {{Elite Data|Rhino|stats}}
|minimumdanger= {{Elite Data|Rhino|minimumdanger}}
|minimumdanger= {{Elite Data|Rhino|minimumdanger}}

Revision as of 19:22, 5 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 Elite
|name=Rhino
|stats='''1''' HP<br>
'''150''' +HP per round<br>
}}

Results in:


Rhino
Rhino
Character
Stats
1 HP
+150 +HP per round




With Template:Elite_Data (recommended):

{{Infobox Elite 
|name=Rhino
|stats= {{Elite Data|Rhino|stats}}
|minimumdanger= {{Elite Data|Rhino|minimumdanger}}
|reward= {{Character Data|Rhino|reward}}
}}

Results in:


Rhino
Rhino
Character
Stats
1 HP
+750 +HP per wave
+250 Speed
1 Damage
1.5 +Damage per wave
Starting waves Elite Waves (round 11-18)
Unlocks

Error: "unlocktype" was not specified, or was not either "weapon" or "item" (provided: "{{{unlocktype}}}")