From Brotato Wiki
Supermageseb (talk | contribs) mNo edit summary |
(add `image` override option (for Bat enemy)) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
<div class="itemboxheader"> | <div class="itemboxheader"> | ||
<div style="float:left"> | <div style="float:left"> | ||
{{Iconbox|{{{name}}}|caption=no|size=100px}} | {{Iconbox|{{{name}}}|caption=no|size=100px|image={{{image|{{{name}}}}}}}} | ||
</div> | </div> | ||
<div style="width:60%;max-width:280px;margin-left:15px;height:100px;justify-content:space-between!important;display:flex;flex-direction: column!important;float:left;margin-top:0px;"> | <div style="width:60%;max-width:280px;margin-left:15px;height:100px;justify-content:space-between!important;display:flex;flex-direction: column!important;float:left;margin-top:0px;"> | ||
Line 31: | Line 31: | ||
<div class="stats-container"> | <div class="stats-container"> | ||
<div style="font-weight:bold; color:rgb(234,226,176);">Reward</div> | <div style="font-weight:bold; color:rgb(234,226,176);">Reward</div> | ||
{{{reward}}} | |||
</div> | </div> | ||
|}} | |}} | ||
Line 71: | Line 71: | ||
{{Infobox Elite | {{Infobox Elite | ||
|name=Rhino | |name=Rhino | ||
|stats= {{Elite Data|Rhino|stats}} | |||
|minimumdanger= {{Elite Data|Rhino|minimumdanger}} | |||
|unlocks= {{Elite Data|Rhino|unlocks}} | |||
}} | |||
<hr style="clear: both; margin: 20px auto; padding-top: 20px; border-top: 0; background: none; border-bottom: 1px solid #555;"> | |||
With image override. This exists for cases when an enemy image filename would be the same as an item/weapon/character image (eg. Bat), so was changed to <code>Enemy_*.png</code> | |||
<pre> | |||
{{Infobox Elite | |||
|name=Rhino | |||
|image=Potato | |||
|stats= {{Elite Data|Rhino|stats}} | |||
|minimumdanger= {{Elite Data|Rhino|minimumdanger}} | |||
|reward= {{Character Data|Rhino|reward}} | |||
}} | |||
</pre> | |||
Results in: | |||
{{Infobox Elite | |||
|name=Rhino | |||
|image=Potato | |||
|stats= {{Elite Data|Rhino|stats}} | |stats= {{Elite Data|Rhino|stats}} | ||
|minimumdanger= {{Elite Data|Rhino|minimumdanger}} | |minimumdanger= {{Elite Data|Rhino|minimumdanger}} |
Latest revision as of 13:56, 3 November 2024
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:
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:
Stats
1 HP
+750 +HP per wave
+250 Speed
1 Damage
1.5 +Damage per wave
Starting waves Elite Waves (round 11-18)
Minimum Danger
2
With image override. This exists for cases when an enemy image filename would be the same as an item/weapon/character image (eg. Bat), so was changed to Enemy_*.png
{{Infobox Elite |name=Rhino |image=Potato |stats= {{Elite Data|Rhino|stats}} |minimumdanger= {{Elite Data|Rhino|minimumdanger}} |reward= {{Character Data|Rhino|reward}} }}
Results in:
Stats
1 HP
+750 +HP per wave
+250 Speed
1 Damage
1.5 +Damage per wave
Starting waves Elite Waves (round 11-18)
Minimum Danger
2