Template:ItemIcon: Difference between revisions
No edit summary |
No edit summary |
||
| 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}}}]] | ||
| | |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}}
{{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
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
Character ![]()
Main Character ![]()
Main Character
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}}
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
Examples:
Gain 5{{ItemIcon|Cookies}}, 1{{ItemIcon|Confidence}} and 1{{ItemIcon|Maturity}}. This card has {{ItemIcon|CookieGain}}3 and {{ItemIcon|FightReward}}8.
Gain 5
, 1
and 1
. This card has
3 and
8.
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
, 1 Confidence
and 1 Maturity
. This card has Cookie Gain
3 and Cookie Reward
8.
Any other argument should just return no icon.
Gain 5{{ItemIcon|Potatoes}} and 5 more {{ItemIcon|Potatoes|n}}.