Template:ItemIcon: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Chesto (talk | contribs)
No edit summary
Line 15: Line 15:
|CardReward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Card Reward]] }}[[File:CardReward.png|x10px|baseline|link=Fight Reward|alt=Card Reward]]
|CardReward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Card Reward]] }}[[File:CardReward.png|x10px|baseline|link=Fight Reward|alt=Card Reward]]
|Card Reward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Card Reward]] }}[[File:CardReward.png|x10px|baseline|link=Fight Reward|alt=Card Reward]]
|Card Reward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Card Reward]] }}[[File:CardReward.png|x10px|baseline|link=Fight Reward|alt=Card Reward]]
|CharacterAdult={{#ifeq:{{{2|}}}|n|[[Character|Adult Character]] }}[[File:IconCharacterAdult.png|x10px|baseline|link=Character|alt=Adult Character]]
|AdultCharacter={{#ifeq:{{{2|}}}|n|[[Character|Adult Character]] }}[[File:IconCharacterAdult.png|x10px|baseline|link=Character|alt=Adult Character]]
|Adult={{#ifeq:{{{2|}}}|n|[[Character|Adult Character]] }}[[File:IconCharacterAdult.png|x10px|baseline|link=Character|alt=Adult Character]]
|CharacterRegressed={{#ifeq:{{{2|}}}|n|[[Character|Regressed Character]] }}[[File:IconCharacterRegressed.png|x10px|baseline|link=Character|alt=Regressed Character]]
|RegressedCharacter={{#ifeq:{{{2|}}}|n|[[Character|Regressed Character]] }}[[File:IconCharacterRegressed.png|x10px|baseline|link=Character|alt=Regressed Character]]
|Regressed={{#ifeq:{{{2|}}}|n|[[Character|Regressed Character]] }}[[File:IconCharacterRegressed.png|x10px|baseline|link=Character|alt=Regressed Character]]
|MainCharacterAdult={{#ifeq:{{{2|}}}|n|[[Main Character|Adult Main Character]] }}[[File:IconMainCharacterAdult.png|x10px|baseline|link=Main Character|alt=Adult Main Character]]
|MainAdult={{#ifeq:{{{2|}}}|n|[[Main Character|Adult Main Character]] }}[[File:IconMainCharacterAdult.png|x10px|baseline|link=Main Character|alt=Adult Main Character]]
|MainCharacterRegressed={{#ifeq:{{{2|}}}|n|[[Main Character|Regressed Main Character]] }}[[File:IconMainCharacterRegressed.png|x10px|baseline|link=Main Character|alt=Regressed Main Character]]
|MainRegressed={{#ifeq:{{{2|}}}|n|[[Main Character|Regressed Main Character]] }}[[File:IconMainCharacterRegressed.png|x10px|baseline|link=Main Character|alt=Regressed Main Character]]
|Action={{#ifeq:{{{2|}}}|n|[[Action]] }}[[File:IconAction.png|x10px|baseline|link=Action|alt=Action]]
|QuickAction={{#ifeq:{{{2|}}}|n|[[Quick Action]] }}[[File:IconQuickAction.png|x10px|baseline|link=Quick Action|alt=Quick Action]]
|DecisiveAction={{#ifeq:{{{2|}}}|n|[[Decisive Action]] }}[[File:IconDecisiveAction.png|x10px|baseline|link=Decisive Action|alt=Decisive Action]]
|DecisiveQuickAction={{#ifeq:{{{2|}}}|n|[[Decisive Quick Action]] }}[[File:IconDecisiveQuickAction.png|x10px|baseline|link=Decisive Quick Action|alt=Decisive Quick Action]]
|Field={{#ifeq:{{{2|}}}|n|[[Field]] }}[[File:IconField.png|x10px|baseline|link=Field|alt=Field]]
|IconicField={{#ifeq:{{{2|}}}|n|[[Iconic Field]] }}[[File:IconIconicField.png|x10px|baseline|link=Iconic Field|alt=Iconic Field]]
|IconicGlobalField={{#ifeq:{{{2|}}}|n|[[Iconic Global Field]] }}[[File:IconIconicGlobalField.png|x10px|baseline|link=Iconic Global Field|alt=Iconic Global Field]]
|Toy={{#ifeq:{{{2|}}}|n|[[Toy]] }}[[File:IconToy.png|x10px|baseline|link=Toy|alt=Toy]]
|ShinyToy={{#ifeq:{{{2|}}}|n|[[Shiny Toy]] }}[[File:IconShinyToy.png|x10px|baseline|link=Shiny Toy|alt=Shiny Toy]]
|Scene={{#ifeq:{{{2|}}}|n|[[Scene]] }}[[File:IconScene.png|x10px|baseline|link=Scene|alt=Scene]]
|MemorableScene={{#ifeq:{{{2|}}}|n|[[Memorable Scene]] }}[[File:IconMemorableScene.png|x10px|baseline|link=Memorable Scene|alt=Memorable Scene]]
|Goal={{#ifeq:{{{2|}}}|n|[[Goal]] }}[[File:IconGoal.png|x10px|baseline|link=Goal|alt=Goal]]
|GreatGoal={{#ifeq:{{{2|}}}|n|[[Great Goal]] }}[[File:IconGreatGoal.png|x10px|baseline|link=Great Goal|alt=Great Goal]]
|PregameAction={{#ifeq:{{{2|}}}|n|[[Pregame Action]] }}[[File:IconPregameAction.png|x10px|baseline|link=Pregame Action|alt=Pregame Action]]
|#default=[[{{{1}}}]]
|#default=[[{{{1}}}]]
}}</span>}}</onlyinclude>
}}</span>}}</onlyinclude>
Line 28: Line 52:
{{ItemIcon|FightReward}}
{{ItemIcon|FightReward}}
{{ItemIcon|CardReward}}
{{ItemIcon|CardReward}}
{{ItemIcon|CharacterAdult}}
{{ItemIcon|CharacterRegressed}}
{{ItemIcon|MainCharacterAdult}}
{{ItemIcon|MainCharacterRegressed}}
{{ItemIcon|Action}}
{{ItemIcon|QuickAction}}
{{ItemIcon|DecisiveAction}}
{{ItemIcon|DecisiveQuickAction}}
{{ItemIcon|Field}}
{{ItemIcon|IconicField}}
{{ItemIcon|IconicGlobalField}}
{{ItemIcon|Toy}}
{{ItemIcon|ShinyToy}}
{{ItemIcon|Scene}}
{{ItemIcon|MemorableScene}}
{{ItemIcon|Goal}}
{{ItemIcon|GreatGoal}}
{{ItemIcon|PregameAction}}
</pre>
</pre>


Line 40: Line 82:
{{ItemIcon|FightReward|n}}
{{ItemIcon|FightReward|n}}
{{ItemIcon|CardReward|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|IconicGlobalField|n}}
{{ItemIcon|Toy|n}}
{{ItemIcon|ShinyToy|n}}
{{ItemIcon|Scene|n}}
{{ItemIcon|MemorableScene|n}}
{{ItemIcon|Goal|n}}
{{ItemIcon|GreatGoal|n}}
{{ItemIcon|PregameAction|n}}
</pre>
</pre>



Revision as of 20:35, 11 December 2025


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|IconicGlobalField}}
{{ItemIcon|Toy}}
{{ItemIcon|ShinyToy}}
{{ItemIcon|Scene}}
{{ItemIcon|MemorableScene}}
{{ItemIcon|Goal}}
{{ItemIcon|GreatGoal}}
{{ItemIcon|PregameAction}}

Cookies Confidence Maturity Cookie Gain Card Gain Cookie Reward Card Reward

{{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|IconicGlobalField|n}}
{{ItemIcon|Toy|n}}
{{ItemIcon|ShinyToy|n}}
{{ItemIcon|Scene|n}}
{{ItemIcon|MemorableScene|n}}
{{ItemIcon|Goal|n}}
{{ItemIcon|GreatGoal|n}}
{{ItemIcon|PregameAction|n}}

CookiesCookies ConfidenceConfidence MaturityMaturity Cookie GainCookie Gain Card GainCard Gain Cookie RewardCookie Reward Card RewardCard Reward

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.