From Brotato Wiki

(Created page with "<includeonly><onlyinclude>{{Infobox Character |name={{PAGENAME}} |stats= {{Character Data|{{PAGENAME}}|stats}} |unlockedby= {{Character Data|{{PAGENAME}}|unlockedby}} |unlocks= {{Character Data|{{PAGENAME}}|unlocks}} }}</onlyinclude></includeonly> <noinclude>Wrapper for Template:Infobox_Character. Simply add this template to a character page, instead of adding the full infobox. The data is shown via the page name (ie. the character name).</noinclude>")
 
(Add support for item tags (`wantedtags`))
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
|unlockedby= {{Character Data|{{PAGENAME}}|unlockedby}}
|unlockedby= {{Character Data|{{PAGENAME}}|unlockedby}}
|unlocks= {{Character Data|{{PAGENAME}}|unlocks}}
|unlocks= {{Character Data|{{PAGENAME}}|unlocks}}
|unlocktype= {{Character Data|{{PAGENAME}}|unlocktype}}
|wantedtags= {{Character Data|{{PAGENAME}}|wantedtags}}
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>
<noinclude>Wrapper for [[Template:Infobox_Character]]. Simply add this template to a character page, instead of adding the full infobox. The data is shown via the page name (ie. the character name).</noinclude>
<noinclude>Wrapper for [[Template:Infobox_Character]]. Automatically populates the infobox.
 
Simply add this template to a character page, instead of adding the full infobox.
 
Pulls the character name from the current page, so it will only work on character pages, and their data must already exist in [[Template:Character_Data]].
 
'''Example:'''
 
<pre>{{Infobox_Character_Helper}}</pre></noinclude>

Latest revision as of 00:24, 7 November 2022

Wrapper for Template:Infobox_Character. Automatically populates the infobox.

Simply add this template to a character page, instead of adding the full infobox.

Pulls the character name from the current page, so it will only work on character pages, and their data must already exist in Template:Character_Data.

Example:

{{Infobox_Character_Helper}}