From Brotato Wiki

(Created page with "== Unlocks == Unlocks [[{{Character Data|{{PAGENAME}}|unlocks}}]] if you win a game with {{PAGENAME}}: {{Iconbox|{{Character Data|{{PAGENAME}}|unlocks}}|rarity={{Item Data|{{Character Data|{{PAGENAME}}|unlocks}}|rarity}}}}")
 
m (use min-width:100px)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Unlocks ==
<includeonly><onlyinclude>== Unlocks ==
Unlocks [[{{Character Data|{{PAGENAME}}|unlocks}}]] if you win a game with {{PAGENAME}}:
Unlocks [[{{Character Data|{{{1|{{PAGENAME}}}}}|unlocks}}]] if you win a game with {{{1|{{PAGENAME}}}}}:<br>
{{Iconbox|{{Character Data|{{PAGENAME}}|unlocks}}|rarity={{Item Data|{{Character Data|{{PAGENAME}}|unlocks}}|rarity}}}}
<!-- Item or weapon -->
{{#switch: {{lc:{{Character Data|{{{1|{{PAGENAME}}}}}|unlocktype}}}}
| item    = {{Iconbox|{{Character Data|{{{1|{{PAGENAME}}}}}|unlocks}}|rarity={{Item Data|{{Character Data|{{{1|{{PAGENAME}}}}}|unlocks}}|rarity}}|maxwidth=110px}}
| weapon  = {{Iconbox|{{Character Data|{{{1|{{PAGENAME}}}}}|unlocks}}|rarity={{Weapon Data|{{Character Data|{{{1|{{PAGENAME}}}}}|unlocks}}|rarity}}|maxwidth=110px}}
| #default = Error: "unlocktype" was not specified for "{{{1|{{PAGENAME}}}}}" in [[Template:Character_Data]]<!--
-->}}</onlyinclude></includeonly><noinclude>
 
Inserts content on a [[Characters|Character]] page, showing their unlock.
 
== Usage ==
 
Use on character pages:
 
<pre>{{CharacterUnlocks}}</pre>
 
Use anywhere:
 
<pre>{{CharacterUnlocks|Well Rounded}}</pre>
 
== Example ==
 
'''Example output is directly below (including the heading):'''
 
{{CharacterUnlocks|Well Rounded}}
 
{{CharacterUnlocks|Crazy}}

Latest revision as of 01:07, 10 November 2022


Inserts content on a Character page, showing their unlock.

Usage

Use on character pages:

{{CharacterUnlocks}}

Use anywhere:

{{CharacterUnlocks|Well Rounded}}

Example

Example output is directly below (including the heading):

Unlocks

Unlocks Potato if you win a game with Well Rounded:

Unlocks

Unlocks Hunting Trophy if you win a game with Crazy: