Template:CardStatsBasic: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Tag: Manual revert
Chesto (talk | contribs)
No edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 9: Line 9:
|-
|-
|'''Cookie Cost'''
|'''Cookie Cost'''
|{{{CookieCost|0}}}
|{{{CookieCost|0}}}{{ItemIcon|Cookie}}
{{#ifexpr:{{#ifeq: {{{Resources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{Resources|}}} | | 0 | 1 }}|
{{#if: {{#if: {{{Resources|}}} |1}} {{#if: {{{CardResources|}}} |1}} |
{{!}}-
{{!}}-
{{!}}'''[[Resources]]'''
{{!}}'''[[Resources]]'''
{{!}} {{{Resources}}}
{{!}}{{#if: {{{CardResources|}}}
}}
| <span>{{{Resources|0}}}</span>{{ItemIcon|CookieGain}}, <span>{{{CardResources}}}</span>{{ItemIcon|CardGain}}
| {{#if: {{{Resources|}}} | <span>{{{Resources}}}</span>{{ItemIcon|CookieGain}} }}
}} }}
|-
|-
|'''Rarity'''
|'''Rarity'''
Line 21: Line 23:
|'''Artist'''
|'''Artist'''
|{{#if: {{{ArtistLink|}}} | [[:Category:{{{ArtistLink}}} (artist)|{{{Artist}}}]] | [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]] }}
|{{#if: {{{ArtistLink|}}} | [[:Category:{{{ArtistLink}}} (artist)|{{{Artist}}}]] | [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]] }}
|}
|}<!--


[[Category:Card]]
--><includeonly>[[Category:Card]]
[[Category:{{{CardType}}}]]
[[Category:{{{CardType}}}]]
{{#if: {{{ArtistLink|}}} | [[Category:{{{ArtistLink}}} (artist)]] | [[Category:{{{Artist}}} (artist)]] }}
{{#if: {{{ArtistLink|}}} | [[Category:{{{ArtistLink}}} (artist)]] | [[Category:{{{Artist}}} (artist)]] }}
[[Category:Rarity:{{{Rarity}}}]]
[[Category:Rarity:{{{Rarity}}}]]
{{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]] | }}
{{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]] | }}
</includeonly><!--


{{#switch: {{{Resources|0}}}
-->{{#if: {{{Resources|}}} |
| * | ** | 15* | 2+* | See Card Text | - = [[Category:Characters with variable Cookie gain]]
{{#switch: {{{Resources}}}
| * | ** | 15* | 2+* | 1* | See Card Text = [[Category:Non-Character cards with Cookie gain]]
| #default = {{#iferror: {{#ifexpr: {{{Resources|0}}} = 0 }}
| #default = {{#iferror: {{#ifexpr: {{{Resources|0}}} = 0 }}
| [[Category:{{{CardType|Character}}}s with Resources {{{Resources|0}}} Cookies]]
| [[Category:{{{CardType}}}s with Resources {{{Resources|0}}} Cookies]]
| {{#ifexpr: {{{Resources}}} < 0 | [[Category:{{{CardType|Character}}}s with negative Cookie gain]]
| {{#ifexpr: {{{Resources}}} <> 0 | [[Category:Non-Character cards with Cookie gain]]}} }} }}
| {{#ifexpr: {{{Resources}}} > 0 | [[Category:{{{CardType}}}s with Cookie gain]]}} }} }} }}
}}<!--
 
-->{{#if: {{{CardResources|}}} |
{{#switch: {{{CardResources}}}
| * | ** | 15* | 2+* | 1* | See Card Text = [[Category:Non-Character cards with card gain]]
| #default = {{#iferror: {{#ifexpr: {{{CardResources|0}}} = 0 }}
| [[Category:{{{CardType}}}s with Resources {{{CardResources|0}}} Cards]]
| {{#ifexpr: {{{CardResources}}} <> 0 | [[Category:Non-Character cards with card gain]]}} }} }}
}}<!--
 
-->{{#if: {{{CardSubtype|}}} | [[Category:{{{CardSubtype}}}]]}}

Latest revision as of 10:45, 22 January 2026

Card Type [[:Category:{{{CardType}}}|{{{CardType}}}]]
Cookie Cost 0Cookies
Rarity Common
Artist [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]]