From Brotato Wiki

(Created page with "<div class="itembox"> <div style="font-size:25px; font-weight:bold; color:rgb(234,226,176);">Gun</div> (2)+10 Range<br> (3)+20 Range<br> (4)+30 Range<br> (5)+40 Range<br> (6)+50 Range<br> </div>")
 
(update to use hidebox option)
 
Line 1: Line 1:
<div class="itembox">
<includeonly><onlyinclude>{{#ifeq:{{{hidebox}}}|1|<!--hidden-->|
<div style="font-size:25px; font-weight:bold; color:rgb(234,226,176);">Gun</div>
<div class="itembox weaponset-box">
(2)+10 Range<br>
<div style="font-size:25px; font-weight:bold; color:rgb(234,226,176); margin-bottom:10px;">Gun</div>
(3)+20 Range<br>
}}<!--
(4)+30 Range<br>
-->(2)+10 Range<br><!--
(5)+40 Range<br>
-->(3)+20 Range<br><!--
(6)+50 Range<br>
-->(4)+30 Range<br><!--
</div>
-->(5)+40 Range<br><!--
-->(6)+50 Range<!--
-->{{#ifeq:{{{hidebox}}}|1|<!--hidden-->|</div>}}
</onlyinclude></includeonly>
 
<noinclude>
Show stats for the [[Gun]] weapon set. Has an option to hide the surrounding box (<code>hidebox</code>).
 
=== Default ===
<code><nowiki>{{Gun}}</nowiki></code><br>
<code><nowiki>{{Gun|hidebox=0}}</nowiki></code>
{{Gun|hidebox=0}}
 
=== Stats Only ===
<code><nowiki>{{Gun|hidebox=1}}</nowiki></code>
 
{{Gun|hidebox=1}}
 
<templatedata>
{
"params": {
"hidebox": {
"label": "Hide Box?",
"description": "Enable to hide the box surrounding the stats",
"type": "boolean",
"suggested": true
}
},
"paramOrder": [
"hidebox"
]
}
</templatedata>
</noinclude>

Latest revision as of 20:59, 3 November 2022


Show stats for the Gun weapon set. Has an option to hide the surrounding box (hidebox).

Default

{{Gun}}
{{Gun|hidebox=0}}

Gun
(2)+10 Range
(3)+20 Range
(4)+30 Range
(5)+40 Range
(6)+50 Range


Stats Only

{{Gun|hidebox=1}}

(2)+10 Range
(3)+20 Range
(4)+30 Range
(5)+40 Range
(6)+50 Range


No description.

Template parameters

ParameterDescriptionTypeStatus
Hide Box?hidebox

Enable to hide the box surrounding the stats

Booleansuggested