From Brotato Wiki
(add switch for item/weapon) |
(fix not using lowercase in switch) |
||
Line 1: | Line 1: | ||
== Unlocks == | == Unlocks == | ||
Unlocks [[{{Character Data|{{PAGENAME}}|unlocks}}]] if you win a game with {{PAGENAME}}: | Unlocks [[{{Character Data|{{PAGENAME}}|unlocks}}]] if you win a game with {{PAGENAME}}:<br> | ||
<!-- Item or weapon --> | <!-- Item or weapon --> | ||
{{#switch: {{Character Data|{{PAGENAME}}|unlocktype}} | {{#switch: {{lc:{{Character Data|{{PAGENAME}}|unlocktype}}}} | ||
| item | | item = {{Iconbox|{{Character Data|{{PAGENAME}}|unlocks}}|rarity={{Item Data|{{Character Data|{{PAGENAME}}|unlocks}}|rarity}}}} | ||
| weapon = {{Iconbox|{{Character Data|{{PAGENAME}}|unlocks}}|rarity={{Weapon Data|{{Character Data|{{PAGENAME}}|unlocks}}|rarity}}}}<!-- | | weapon = {{Iconbox|{{Character Data|{{PAGENAME}}|unlocks}}|rarity={{Weapon Data|{{Character Data|{{PAGENAME}}|unlocks}}|rarity}}}} | ||
| #default = Error: "unlocktype" was not specified for "{{PAGENAME}}" in [[Template:Character_Data]]<!-- | |||
-->}} | -->}} |
Revision as of 19:29, 4 November 2022
Unlocks
Unlocks Character name not found if you win a game with CharacterUnlocks:
Error: "unlocktype" was not specified for "CharacterUnlocks" in Template:Character_Data