Jump to content

Template:ItemIcon: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Tag: wikieditor
Chesto (talk | contribs)
No edit summary
Tag: wikieditor
Line 46: Line 46:
|MainCharacter={{#ifeq:{{{2|}}}|n|[[Main Character]] }}[[File:IconMainCharacterAdult.png|{{{height|x10px}}}|{{{alignment|baseline}}}|link=Main Character|alt=Main Character]][[File:IconMainCharacterRegressed.png|{{{height|x10px}}}|{{{alignment|baseline}}}|link=Main Character|alt=Main Character]]
|MainCharacter={{#ifeq:{{{2|}}}|n|[[Main Character]] }}[[File:IconMainCharacterAdult.png|{{{height|x10px}}}|{{{alignment|baseline}}}|link=Main Character|alt=Main Character]][[File:IconMainCharacterRegressed.png|{{{height|x10px}}}|{{{alignment|baseline}}}|link=Main Character|alt=Main Character]]
|#default=[[{{{1}}}]]
|#default=[[{{{1}}}]]
|MainCharacter={{#ifeq:{{{2|}}}|n|[[Main Character]] }}[[File:IconHybrid.png|{{{height|x10px}}}|{{{alignment|baseline}}}|link=Hybrid|alt=Hybrid]]
|Hybrid={{#ifeq:{{{2|}}}|n|[[Main Character]] }}[[File:IconHybrid.png|{{{height|x10px}}}|{{{alignment|baseline}}}|link=Hybrid|alt=Hybrid]]
|#default=[[{{{1}}}]]
|#default=[[{{{1}}}]]
}}</span>}}</onlyinclude>
}}</span>}}</onlyinclude>
Line 120: Line 120:
</pre>
</pre>


{{ItemIcon|Cookies|n}} {{ItemIcon|Confidence|n}} {{ItemIcon|Maturity|n}} {{ItemIcon|CookieGain|n}} {{ItemIcon|CardGain|n}} {{ItemIcon|FightReward|n}} {{ItemIcon|CardReward|n}} {{ItemIcon|CharacterAdult|n}} {{ItemIcon|CharacterRegressed|n}} {{ItemIcon|MainCharacterAdult|n}} {{ItemIcon|MainCharacterRegressed|n}} {{ItemIcon|Action|n}} {{ItemIcon|QuickAction|n}} {{ItemIcon|DecisiveAction|n}} {{ItemIcon|DecisiveQuickAction|n}} {{ItemIcon|Field|n}} {{ItemIcon|IconicField|n}} {{ItemIcon|GlobalIconicField|n}} {{ItemIcon|Toy|n}} {{ItemIcon|ShinyToy|n}} {{ItemIcon|Scene|n}} {{ItemIcon|MemorableScene|n}} {{ItemIcon|Goal|n}} {{ItemIcon|GreatGoal|n}} {{ItemIcon|PregameAction|n}} {{ItemIcon|QuickAbility|n}} {{ItemIcon|Task|n}} {{ItemIcon|Character|n}} {{ItemIcon|MainCharacter|n}} {{ItemIcon|Hybrid}}
{{ItemIcon|Cookies|n}} {{ItemIcon|Confidence|n}} {{ItemIcon|Maturity|n}} {{ItemIcon|CookieGain|n}} {{ItemIcon|CardGain|n}} {{ItemIcon|FightReward|n}} {{ItemIcon|CardReward|n}} {{ItemIcon|CharacterAdult|n}} {{ItemIcon|CharacterRegressed|n}} {{ItemIcon|MainCharacterAdult|n}} {{ItemIcon|MainCharacterRegressed|n}} {{ItemIcon|Action|n}} {{ItemIcon|QuickAction|n}} {{ItemIcon|DecisiveAction|n}} {{ItemIcon|DecisiveQuickAction|n}} {{ItemIcon|Field|n}} {{ItemIcon|IconicField|n}} {{ItemIcon|GlobalIconicField|n}} {{ItemIcon|Toy|n}} {{ItemIcon|ShinyToy|n}} {{ItemIcon|Scene|n}} {{ItemIcon|MemorableScene|n}} {{ItemIcon|Goal|n}} {{ItemIcon|GreatGoal|n}} {{ItemIcon|PregameAction|n}} {{ItemIcon|QuickAbility|n}} {{ItemIcon|Task|n}} {{ItemIcon|Character|n}} {{ItemIcon|MainCharacter|n}} {{ItemIcon|Hybrid|n}}


Third argument <code>height</code> specifies image height, default is 10 or 11px.
Third argument <code>height</code> specifies image height, default is 10 or 11px.

Revision as of 16:50, 15 August 2026


Displays icons for various things. Currently supports:

{{ItemIcon|Cookies}}
{{ItemIcon|Confidence}}
{{ItemIcon|Maturity}}
{{ItemIcon|CookieGain}}
{{ItemIcon|CardGain}}
{{ItemIcon|FightReward}}
{{ItemIcon|CardReward}}
{{ItemIcon|CharacterAdult}}
{{ItemIcon|CharacterRegressed}}
{{ItemIcon|MainCharacterAdult}}
{{ItemIcon|MainCharacterRegressed}}
{{ItemIcon|Action}}
{{ItemIcon|QuickAction}}
{{ItemIcon|DecisiveAction}}
{{ItemIcon|DecisiveQuickAction}}
{{ItemIcon|Field}}
{{ItemIcon|IconicField}}
{{ItemIcon|GlobalIconicField}}
{{ItemIcon|Toy}}
{{ItemIcon|ShinyToy}}
{{ItemIcon|Scene}}
{{ItemIcon|MemorableScene}}
{{ItemIcon|Goal}}
{{ItemIcon|GreatGoal}}
{{ItemIcon|PregameAction}}
{{ItemIcon|QuickAbility}}
{{ItemIcon|Task}}
{{ItemIcon|Character}}
{{ItemIcon|MainCharacter}}
{{ItemIcon|Hybrid}}

Cookies Confidence Maturity Cookie Gain Card Gain Cookie Reward Card Reward Adult Character Regressed Character Adult Main Character Regressed Main Character Action Quick Action Decisive Action Decisive Quick Action Field Iconic Field Global Iconic Field Toy Shiny Toy Scene Memorable Scene Goal Great Goal Pre-game Action Quick Ability Task CharacterCharacter Main CharacterMain Character Hybrid

{{ItemIcon|Cookies|n}}
{{ItemIcon|Confidence|n}}
{{ItemIcon|Maturity|n}}
{{ItemIcon|CookieGain|n}}
{{ItemIcon|CardGain|n}}
{{ItemIcon|FightReward|n}}
{{ItemIcon|CardReward|n}}
{{ItemIcon|CharacterAdult|n}}
{{ItemIcon|CharacterRegressed|n}}
{{ItemIcon|MainCharacterAdult|n}}
{{ItemIcon|MainCharacterRegressed|n}}
{{ItemIcon|Action|n}}
{{ItemIcon|QuickAction|n}}
{{ItemIcon|DecisiveAction|n}}
{{ItemIcon|DecisiveQuickAction|n}}
{{ItemIcon|Field|n}}
{{ItemIcon|IconicField|n}}
{{ItemIcon|GlobalIconicField|n}}
{{ItemIcon|Toy|n}}
{{ItemIcon|ShinyToy|n}}
{{ItemIcon|Scene|n}}
{{ItemIcon|MemorableScene|n}}
{{ItemIcon|Goal|n}}
{{ItemIcon|GreatGoal|n}}
{{ItemIcon|PregameAction|n}}
{{ItemIcon|QuickAbility|n}}
{{ItemIcon|Task|n}}
{{ItemIcon|Character|n}}
{{ItemIcon|MainCharacter|n}}
{{ItemIcon|Hybrid|n}}

Cookies Cookies Confidence Confidence Maturity Maturity Cookie Gain Cookie Gain Card Gain Card Gain Cookie Reward Cookie Reward Card Reward Card Reward Adult Character Adult Character Regressed Character Regressed Character Adult Main Character Adult Main Character Regressed Main Character Regressed Main Character Action Action Quick Action Quick Action Decisive Action Decisive Action Decisive Quick Action Decisive Quick Action Field Field Iconic Field Iconic Field Global Iconic Field Global Iconic Field Toy Toy Shiny Toy Shiny Toy Scene Scene Memorable Scene Memorable Scene Goal Goal Great Goal Great Goal Pre-game Action Pre-game Action Quick Ability Quick Ability Task Task Character CharacterCharacter Main Character Main CharacterMain Character Main Character Hybrid

Third argument height specifies image height, default is 10 or 11px.

{{ItemIcon|Cookies|height=x5px}}
{{ItemIcon|Cookies|height=x10px}}
{{ItemIcon|Cookies|height=x25px}}
{{ItemIcon|Cookies|height=x50px}}

Cookies Cookies Cookies Cookies

Fourth argument alignment specifies position, default is baseline. Options are top, text-top, super, baseline, sub, default, middle, text-bottom, bottom

{{ItemIcon|Cookies|n|alignment=top}}
{{ItemIcon|Cookies|n|alignment=text-top}}
{{ItemIcon|Cookies|n|alignment=super}}
{{ItemIcon|Cookies|n|alignment=baseline}}
{{ItemIcon|Cookies|n|alignment=sub}}
{{ItemIcon|Cookies|n|alignment=default}}
{{ItemIcon|Cookies|n|alignment=middle}}
{{ItemIcon|Cookies|n|alignment=text-bottom}}
{{ItemIcon|Cookies|n|alignment=bottom}}

Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies Cookies

Examples:

Gain 5{{ItemIcon|Cookies}}, 1{{ItemIcon|Confidence}} and 1{{ItemIcon|Maturity}}. This card has {{ItemIcon|CookieGain}}3 and {{ItemIcon|FightReward}}8.

Gain 5Cookies, 1Confidence and 1Maturity. This card has Cookie Gain3 and Cookie Reward8.

Gain 5 {{ItemIcon|Cookies|n}}, 1 {{ItemIcon|Confidence|n}} and 1 {{ItemIcon|Maturity|n}}. This card has {{ItemIcon|CookieGain|n}} 3 and {{ItemIcon|FightReward|n}} 8.

Gain 5 Cookies Cookies, 1 Confidence Confidence and 1 Maturity Maturity. This card has Cookie Gain Cookie Gain 3 and Cookie Reward Cookie Reward 8.

Any other argument should just return no icon.

Gain 5{{ItemIcon|Potatoes}} and 5 more {{ItemIcon|Potatoes|n}}.

Gain 5Potatoes and 5 more Potatoes.