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>")
 
(Docs: Expand for clarity)
Line 5: Line 5:
|unlocks= {{Character Data|{{PAGENAME}}|unlocks}}
|unlocks= {{Character Data|{{PAGENAME}}|unlocks}}
}}</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>

Revision as of 00:55, 5 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}}