Template:CardStatsBasic: Difference between revisions
No edit summary |
No edit summary |
||
| Line 29: | Line 29: | ||
{{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]] | }} | {{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]] | }} | ||
{{#switch: {{{Resources | {{#if: {{{Resources|}}} | | ||
{{#switch: {{{Resources}}} | |||
| * | ** | 15* | 2+* | See Card Text = [[Category:Characters with variable Cookie gain]] | | * | ** | 15* | 2+* | See Card Text = [[Category:Characters with variable Cookie gain]] | ||
| #default = {{#iferror: {{#ifexpr: {{{Resources|0}}} = 0 }} | | #default = {{#iferror: {{#ifexpr: {{{Resources|0}}} = 0 }} | ||
| Line 35: | Line 36: | ||
| {{#ifexpr: {{{Resources}}} < 0 | [[Category:{{{CardType}}}s with negative Cookie gain]] | | {{#ifexpr: {{{Resources}}} < 0 | [[Category:{{{CardType}}}s with negative Cookie gain]] | ||
| {{#ifexpr: {{{Resources}}} > 0 | [[Category:{{{CardType}}}s with Cookie gain]]}} }} }} }} | | {{#ifexpr: {{{Resources}}} > 0 | [[Category:{{{CardType}}}s with Cookie gain]]}} }} }} }} | ||
}} | |||
