Template:ItemIcon: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<onlyinclude><span style="white-space:nowrap;line-height:1">{{#switch:{{{1}}} | <onlyinclude>{{#if:{{{1|}}}|<span style="white-space:nowrap;line-height:1">{{#switch:{{{1}}} | ||
|Cookie={{#ifeq:{{{2|}}}|n|[[Cookies]]}}[[File:Cookie_Icon.png|11px|link=Cookies|alt=Cookies]] | |Cookie={{#ifeq:{{{2|}}}|n|[[Cookies]]}}[[File:Cookie_Icon.png|11px|link=Cookies|alt=Cookies]] | ||
|Cookies={{#ifeq:{{{2|}}}|n|[[Cookies]]}}[[File:Cookie_Icon.png|11px|link=Cookies|alt=Cookies]] | |Cookies={{#ifeq:{{{2|}}}|n|[[Cookies]]}}[[File:Cookie_Icon.png|11px|link=Cookies|alt=Cookies]] | ||
| Line 9: | Line 9: | ||
|Cookie Gain={{#ifeq:{{{2|}}}|n|[[Cookie Gain]]}}[[File:Cookie_Gain_Icon.png|11px|link=Cookie Gain|alt=Cookie Gain]] | |Cookie Gain={{#ifeq:{{{2|}}}|n|[[Cookie Gain]]}}[[File:Cookie_Gain_Icon.png|11px|link=Cookie Gain|alt=Cookie Gain]] | ||
|#default=[[{{{1}}}]] | |#default=[[{{{1}}}]] | ||
}}</span></onlyinclude> | }}</span>}}</onlyinclude> | ||
<noinclude> | <noinclude> | ||
Displays icons for various things. Currently supports: | Displays icons for various things. Currently supports: | ||
Revision as of 20:44, 11 November 2025
Displays icons for various things. Currently supports:
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 Fight Reward
8.
Any other argument should just return no icon.
Gain 5{{ItemIcon|Potatoes}} and 5 more {{ItemIcon|Potatoes|n}}.