Template:ItemIcon: Difference between revisions
No edit summary |
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. | |Cookie={{#ifeq:{{{2|}}}|n|[[Cookies]] }}[[File:Cookie_Icon.png|x10px|baseline|link=Cookies|alt=Cookies]] | ||
| | |Cookies={{#ifeq:{{{2|}}}|n|[[Cookies]] }}[[File:Cookie_Icon.png|x10px|baseline|link=Cookies|alt=Cookies]] | ||
| | |Confidence={{#ifeq:{{{2|}}}|n|[[Confidence]] }}[[File:Confidence_Icon.png|x10px|baseline|link=Confidence|alt=Confidence]] | ||
| | |Maturity={{#ifeq:{{{2|}}}|n|[[Maturity]] }}[[File:Maturity_Icon.png|x11px|baseline|link=Maturity|alt=Maturity]] | ||
|#default=[[{{{1}}}]]}}</span></onlyinclude> | |FightReward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Cookie Reward]] }}[[File:Fight_Reward_Icon.png|x10px|baseline|link=Fight Reward|alt=Cookie Reward]] | ||
|Fight Reward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Cookie Reward]] }}[[File:Fight_Reward_Icon.png|x10px|baseline|link=Fight Reward|alt=Cookie Reward]] | |||
|CookieReward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Cookie Reward]] }}[[File:Fight_Reward_Icon.png|x10px|baseline|link=Fight Reward|alt=Cookie Reward]] | |||
|Cookie Reward={{#ifeq:{{{2|}}}|n|[[Fight Reward|Cookie Reward]] }}[[File:Fight_Reward_Icon.png|x10px|baseline|link=Fight Reward|alt=Cookie Reward]] | |||
|CookieGain={{#ifeq:{{{2|}}}|n|[[Resources|Cookie Gain]] }}[[File:Cookie_Gain_Icon.png|x11px|baseline|link=Resources|alt=Cookie Gain]] | |||
|Cookie Gain={{#ifeq:{{{2|}}}|n|[[Resources|Cookie Gain]] }}[[File:Cookie_Gain_Icon.png|x11px|baseline|link=Resources|alt=Cookie Gain]] | |||
|CardGain={{#ifeq:{{{2|}}}|n|[[Resources|Card Gain]] }}[[File:CardGain.png|x11px|baseline|link=Resources|alt=Card Gain]] | |||
|Card={{#ifeq:{{{2|}}}|n|[[Resources|Card Gain]] }}[[File:CardGain.png|x11px|baseline|link=Resources|alt=Card Gain]] | |||
|Card Gain={{#ifeq:{{{2|}}}|n|[[Resources|Card Gain]] }}[[File:CardGain.png|x11px|baseline|link=Resources|alt=Card Gain]] | |||
|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]] | |||
|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]] | |||
|GlobalIconicField={{#ifeq:{{{2|}}}|n|[[Global Iconic Field]] }}[[File:IconGlobalIconicField.png|x10px|baseline|link=Global Iconic Field|alt=Global Iconic 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|[[Pre-game Action]] }}[[File:IconPregameAction.png|x10px|baseline|link=Pre-game Action|alt=Pre-game Action]] | |||
|PreGameAction={{#ifeq:{{{2|}}}|n|[[Pre-game Action]] }}[[File:IconPregameAction.png|x10px|baseline|link=Pre-game Action|alt=Pre-game Action]] | |||
|Pre-gameAction={{#ifeq:{{{2|}}}|n|[[Pre-game Action]] }}[[File:IconPregameAction.png|x10px|baseline|link=Pre-game Action|alt=Pre-game Action]] | |||
|QuickAbility={{#ifeq:{{{2|}}}|n|[[Quick Ability]] }}[[File:IconQuickAbility.png|x10px|baseline|link=Quick Ability|alt=Quick Ability]] | |||
|Task={{#ifeq:{{{2|}}}|n|[[Task]] }}[[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> | ||
{{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}} | |||
<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| | 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 | Gain 5{{ItemIcon|Potatoes}} and 5 more {{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}}
{{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}}
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
Example:
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}}.