From Brotato Wiki

Darkly77 (talk | contribs)
Docs: Expand for clarity
Darkly77 (talk | contribs)
Add `unlocktype` param, for an upcoming edit to Template:Infobox_Character
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}}
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>
<noinclude>Wrapper for [[Template:Infobox_Character]]. Automatically populates the infobox.
<noinclude>Wrapper for [[Template:Infobox_Character]]. Automatically populates the infobox.

Revision as of 21:38, 6 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}}