Template:ItemIcon: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Chesto (talk | contribs)
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><span style="white-space:nowrap;">{{#switch:{{{1}}}
<onlyinclude>{{#if:{{{1|}}}|<span style="white-space:nowrap;line-height:1">{{#switch:{{{1}}}
|Cookie=[[File:Cookie_Icon.webp|12px|link=Cookies|alt=Cookies]]{{#ifeq:{{{2}}}|n|[[Cookies]]|}}
|Cookie={{#ifeq:{{{2|}}}|n|[[Cookies]]&#8239;}}[[File:Cookie_Icon.png|x10px|baseline|link=Cookies|alt=Cookies]]
|Cookies=[[File:Cookie_Icon.webp|12px|link=Cookies|alt=Cookies]]{{#ifeq:{{{2}}}|n|[[Cookies]]|}}
|Cookies={{#ifeq:{{{2|}}}|n|[[Cookies]]&#8239;}}[[File:Cookie_Icon.png|x10px|baseline|link=Cookies|alt=Cookies]]
|Confidence=[[File:Confidence_Icon.webp|12px|link=Confidence|alt=Confidence]]{{#ifeq:{{{2}}}|n|[[Confidence]]|}}
|Confidence={{#ifeq:{{{2|}}}|n|[[Confidence]]&#8239;}}[[File:Confidence_Icon.png|x10px|baseline|link=Confidence|alt=Confidence]]
|Maturity=[[File:Maturity_Icon.webp|12px|link=Maturity|alt=Maturity]]{{#ifeq:{{{2}}}|n|[[Maturity]]|}}
|Maturity={{#ifeq:{{{2|}}}|n|[[Maturity]]&#8239;}}[[File:Maturity_Icon.png|x11px|baseline|link=Maturity|alt=Maturity]]
|#default=[[{{{1}}}]]}}</span></onlyinclude>
|FightReward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Cookie Reward]]&#8239;}}[[File:Fight_Reward_Icon.png|x10px|baseline|link=Fight Reward|alt=Cookie Reward]]
|Fight Reward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Cookie Reward]]&#8239;}}[[File:Fight_Reward_Icon.png|x10px|baseline|link=Fight Reward|alt=Cookie Reward]]
|CookieReward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Cookie Reward]]&#8239;}}[[File:Fight_Reward_Icon.png|x10px|baseline|link=Fight Reward|alt=Cookie Reward]]
|Cookie Reward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Cookie Reward]]&#8239;}}[[File:Fight_Reward_Icon.png|x10px|baseline|link=Fight Reward|alt=Cookie Reward]]
|CookieGain={{#ifeq:{{{2|}}}|n|[[Resources|Cookie Gain]]&#8239;}}[[File:Cookie_Gain_Icon.png|x11px|baseline|link=Resources|alt=Cookie Gain]]
|Cookie Gain={{#ifeq:{{{2|}}}|n|[[Resources|Cookie Gain]]&#8239;}}[[File:Cookie_Gain_Icon.png|x11px|baseline|link=Resources|alt=Cookie Gain]]
|CardGain={{#ifeq:{{{2|}}}|n|[[Resources|Card Gain]]&#8239;}}[[File:CardGain.png|x11px|baseline|link=Resources|alt=Card Gain]]
|Card={{#ifeq:{{{2|}}}|n|[[Resources|Card Gain]]&#8239;}}[[File:CardGain.png|x11px|baseline|link=Resources|alt=Card Gain]]
|Card Gain={{#ifeq:{{{2|}}}|n|[[Resources|Card Gain]]&#8239;}}[[File:CardGain.png|x11px|baseline|link=Resources|alt=Card Gain]]
|CardReward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Card Reward]]&#8239;}}[[File:CardReward.png|x10px|baseline|link=Fight Reward|alt=Card Reward]]
|Card Reward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Card Reward]]&#8239;}}[[File:CardReward.png|x10px|baseline|link=Fight Reward|alt=Card Reward]]
|CharacterAdult={{#ifeq:{{{2|}}}|n|[[Character|Adult Character]]&#8239;}}[[File:IconCharacterAdult.png|x10px|baseline|link=Character|alt=Adult Character]]
|AdultCharacter={{#ifeq:{{{2|}}}|n|[[Character|Adult Character]]&#8239;}}[[File:IconCharacterAdult.png|x10px|baseline|link=Character|alt=Adult Character]]
|Adult={{#ifeq:{{{2|}}}|n|[[Character|Adult Character]]&#8239;}}[[File:IconCharacterAdult.png|x10px|baseline|link=Character|alt=Adult Character]]
|CharacterRegressed={{#ifeq:{{{2|}}}|n|[[Character|Regressed Character]]&#8239;}}[[File:IconCharacterRegressed.png|x10px|baseline|link=Character|alt=Regressed Character]]
|RegressedCharacter={{#ifeq:{{{2|}}}|n|[[Character|Regressed Character]]&#8239;}}[[File:IconCharacterRegressed.png|x10px|baseline|link=Character|alt=Regressed Character]]
|Regressed={{#ifeq:{{{2|}}}|n|[[Character|Regressed Character]]&#8239;}}[[File:IconCharacterRegressed.png|x10px|baseline|link=Character|alt=Regressed Character]]
|MainCharacterAdult={{#ifeq:{{{2|}}}|n|[[Main Character|Adult Main Character]]&#8239;}}[[File:IconMainCharacterAdult.png|x10px|baseline|link=Main Character|alt=Adult Main Character]]
|MainAdult={{#ifeq:{{{2|}}}|n|[[Main Character|Adult Main Character]]&#8239;}}[[File:IconMainCharacterAdult.png|x10px|baseline|link=Main Character|alt=Adult Main Character]]
|MainCharacterRegressed={{#ifeq:{{{2|}}}|n|[[Main Character|Regressed Main Character]]&#8239;}}[[File:IconMainCharacterRegressed.png|x10px|baseline|link=Main Character|alt=Regressed Main Character]]
|MainRegressed={{#ifeq:{{{2|}}}|n|[[Main Character|Regressed Main Character]]&#8239;}}[[File:IconMainCharacterRegressed.png|x10px|baseline|link=Main Character|alt=Regressed Main Character]]
|Action={{#ifeq:{{{2|}}}|n|[[Action]]&#8239;}}[[File:IconAction.png|x10px|baseline|link=Action|alt=Action]]
|QuickAction={{#ifeq:{{{2|}}}|n|[[Quick Action]]&#8239;}}[[File:IconQuickAction.png|x10px|baseline|link=Quick Action|alt=Quick Action]]
|DecisiveAction={{#ifeq:{{{2|}}}|n|[[Decisive Action]]&#8239;}}[[File:IconDecisiveAction.png|x10px|baseline|link=Decisive Action|alt=Decisive Action]]
|DecisiveQuickAction={{#ifeq:{{{2|}}}|n|[[Decisive Quick Action]]&#8239;}}[[File:IconDecisiveQuickAction.png|x10px|baseline|link=Decisive Quick Action|alt=Decisive Quick Action]]
|Field={{#ifeq:{{{2|}}}|n|[[Field]]&#8239;}}[[File:IconField.png|x10px|baseline|link=Field|alt=Field]]
|IconicField={{#ifeq:{{{2|}}}|n|[[Iconic Field]]&#8239;}}[[File:IconIconicField.png|x10px|baseline|link=Iconic Field|alt=Iconic Field]]
|GlobalIconicField={{#ifeq:{{{2|}}}|n|[[Global Iconic Field]]&#8239;}}[[File:IconGlobalIconicField.png|x10px|baseline|link=Global Iconic Field|alt=Global Iconic Field]]
|Toy={{#ifeq:{{{2|}}}|n|[[Toy]]&#8239;}}[[File:IconToy.png|x10px|baseline|link=Toy|alt=Toy]]
|ShinyToy={{#ifeq:{{{2|}}}|n|[[Shiny Toy]]&#8239;}}[[File:IconShinyToy.png|x10px|baseline|link=Shiny Toy|alt=Shiny Toy]]
|Scene={{#ifeq:{{{2|}}}|n|[[Scene]]&#8239;}}[[File:IconScene.png|x10px|baseline|link=Scene|alt=Scene]]
|MemorableScene={{#ifeq:{{{2|}}}|n|[[Memorable Scene]]&#8239;}}[[File:IconMemorableScene.png|x10px|baseline|link=Memorable Scene|alt=Memorable Scene]]
|Goal={{#ifeq:{{{2|}}}|n|[[Goal]]&#8239;}}[[File:IconGoal.png|x10px|baseline|link=Goal|alt=Goal]]
|GreatGoal={{#ifeq:{{{2|}}}|n|[[Great Goal]]&#8239;}}[[File:IconGreatGoal.png|x10px|baseline|link=Great Goal|alt=Great Goal]]
|PregameAction={{#ifeq:{{{2|}}}|n|[[Pre-game Action]]&#8239;}}[[File:IconPregameAction.png|x10px|baseline|link=Pre-game Action|alt=Pre-game Action]]
|PreGameAction={{#ifeq:{{{2|}}}|n|[[Pre-game Action]]&#8239;}}[[File:IconPregameAction.png|x10px|baseline|link=Pre-game Action|alt=Pre-game Action]]
|Pre-gameAction={{#ifeq:{{{2|}}}|n|[[Pre-game Action]]&#8239;}}[[File:IconPregameAction.png|x10px|baseline|link=Pre-game Action|alt=Pre-game Action]]
|QuickAbility={{#ifeq:{{{2|}}}|n|[[Quick Ability]]&#8239;}}[[File:IconQuickAbility.png|x10px|baseline|link=Quick Ability|alt=Quick Ability]]
|Task={{#ifeq:{{{2|}}}|n|[[Task]]&#8239;}}[[File:IconTask.png|x10px|baseline|link=Task|alt=Task]]
|#default=[[{{{1}}}]]
}}</span>}}</onlyinclude>
<noinclude>
<noinclude>
Displays icons for various things. Currently supports:
Displays icons for various things. Currently supports:
Line 12: Line 52:
{{ItemIcon|Confidence}}
{{ItemIcon|Confidence}}
{{ItemIcon|Maturity}}
{{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}}
</pre>
</pre>


Gain 5{{ItemIcon|Cookies}}.
{{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}}
 
Gain 1{{ItemIcon|Confidence}}.
 
Gain 1{{ItemIcon|Maturity}}.


<pre>
<pre>
Line 24: Line 84:
{{ItemIcon|Confidence|n}}
{{ItemIcon|Confidence|n}}
{{ItemIcon|Maturity|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}}
</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}}
Example:
<pre>
Gain 5{{ItemIcon|Cookies}}, 1{{ItemIcon|Confidence}} and 1{{ItemIcon|Maturity}}. This card has {{ItemIcon|CookieGain}}3 and {{ItemIcon|FightReward}}8.
</pre>
</pre>


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


Gain 1{{ItemIcon|Confidence|n}}.
<pre>
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.
</pre>


Gain 1{{ItemIcon|Maturity|n}}.
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.


Any other argument should just return no icon.
Any other argument should just return no icon.


<pre>
<pre>
{{ItemIcon|Potatoes}}
Gain 5{{ItemIcon|Potatoes}} and 5 more {{ItemIcon|Potatoes|n}}.
{{ItemIcon|Potatoes|n}}
</pre>
</pre>


Gain 5{{ItemIcon|Potatoes|n}}.
Gain 5{{ItemIcon|Potatoes}} and 5 more {{ItemIcon|Potatoes|n}}.
 
Gain 5{{ItemIcon|Potatoes|n}}.
</noinclude>
</noinclude>

Latest revision as of 19:53, 22 January 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}}

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

{{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}}

CookiesCookies ConfidenceConfidence MaturityMaturity Cookie GainCookie Gain Card GainCard Gain Cookie RewardCookie Reward Card RewardCard Reward Adult CharacterAdult Character Regressed CharacterRegressed Character Adult Main CharacterAdult Main Character Regressed Main CharacterRegressed Main Character ActionAction Quick ActionQuick Action Decisive ActionDecisive Action Decisive Quick ActionDecisive Quick Action FieldField Iconic FieldIconic Field Global Iconic FieldGlobal Iconic Field ToyToy Shiny ToyShiny Toy SceneScene Memorable SceneMemorable Scene GoalGoal Great GoalGreat Goal Pre-game ActionPre-game Action Quick AbilityQuick Ability TaskTask

Example:

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 CookiesCookies, 1 ConfidenceConfidence and 1 MaturityMaturity. This card has Cookie GainCookie Gain 3 and Cookie RewardCookie 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.