From Brotato Wiki

(Create template for showing character icons. The "{{{name|{{{1|}}}}}}" thing lets you write the template as either the shorthand "{{CharacterIcon|Chunky}}" OR the longform "{{CharacterIcon|name=Chunky}}")
 
(Fix unintended line breaks (by using includeonly))
Line 1: Line 1:
[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]
<includeonly>[[File:{{{name|{{{1|}}}}}}.png|link={{{name|{{{1|}}}}}}|x30px]] [[{{{name|{{{1|}}}}}}]]</includeonly>
<noinclude>
<noinclude>
Adds an icon and link for a given character.
Adds an icon and link for a given character.

Revision as of 14:44, 2 November 2022


Adds an icon and link for a given character.

Examples

Preview Code
Artificer.png Artificer {{CharacterIcon|Artificer}}
Brawler.png Brawler {{CharacterIcon|Brawler}}
Bull.png Bull {{CharacterIcon|Bull}}
Chunky.png Chunky {{CharacterIcon|Chunky}}
Crazy.png Crazy {{CharacterIcon|Crazy}}
Demon.png Demon {{CharacterIcon|Demon}}
Doctor.png Doctor {{CharacterIcon|Doctor}}
Engineer.png Engineer {{CharacterIcon|Engineer}}
Entrepreneur.png Entrepreneur {{CharacterIcon|Entrepreneur}}
Explorer.png Explorer {{CharacterIcon|Explorer}}
Farmer.png Farmer {{CharacterIcon|Farmer}}
Generalist.png Generalist {{CharacterIcon|Generalist}}
Ghost.png Ghost {{CharacterIcon|Ghost}}
Gladiator.png Gladiator {{CharacterIcon|Gladiator}}
Hunter.png Hunter {{CharacterIcon|Hunter}}
Knight.png Knight {{CharacterIcon|Knight}}
Loud.png Loud {{CharacterIcon|Loud}}
Lucky.png Lucky {{CharacterIcon|Lucky}}
Mage.png Mage {{CharacterIcon|Mage}}
Masochist.png Masochist {{CharacterIcon|Masochist}}
Multitasker.png Multitasker {{CharacterIcon|Multitasker}}
Mutant.png Mutant {{CharacterIcon|Mutant}}
Old.png Old {{CharacterIcon|Old}}
One Armed.png One Armed {{CharacterIcon|One Armed}}
Pacifist.png Pacifist {{CharacterIcon|Pacifist}}
Ranger.png Ranger {{CharacterIcon|Ranger}}
Saver.png Saver {{CharacterIcon|Saver}}
Sick.png Sick {{CharacterIcon|Sick}}
Soldier.png Soldier {{CharacterIcon|Soldier}}
Speedy.png Speedy {{CharacterIcon|Speedy}}
Well Rounded.png Well Rounded {{CharacterIcon|Well Rounded}}
Wildling.png Wildling {{CharacterIcon|Wildling}}

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Namename 1

Character name (as shown on the Characters page)

Example
One Armed
Stringrequired