Template:CardStatsBasic: Difference between revisions

From Little Troubles
Created page with "{| style="float:right; padding: 1em; margin-left: 1em; background-color: #eee" !colspan="2" | [[File:{{{ImageUrl}}}|center|frameless]] |- | | |- |'''Card Type''' |[[{{{CardType}}}]] |- |'''Cookie Cost''' |{{{CookieCost}}} |- |'''Rarity''' |{{{Rarity}}} |- |'''Artist''' |{{{Artist}}} |}"
 
Chesto (talk | contribs)
No edit summary
 
(68 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="float:right; padding: 1em; margin-left: 1em; background-color: #eee"
{| style="float:right; padding: 1em; margin-left: 1em; background-color: #eee; border-radius: 1em; min-width: 200px;"
!colspan="2" | [[File:{{{ImageUrl}}}|center|frameless]]
!colspan="2" | [[File:{{{ImageUrl|logo.png}}}|300px|center|frameless]]
|-
|-
|
|
Line 6: Line 6:
|-
|-
|'''Card Type'''
|'''Card Type'''
|[[{{{CardType}}}]]
|[[:Category:{{{CardType}}}|{{{CardType}}}]]
|-
|-
|'''Cookie Cost'''
|'''Cookie Cost'''
|{{{CookieCost}}}
|{{{CookieCost|0}}}{{ItemIcon|Cookie}}
{{#if: {{#if: {{{Resources|}}} |1}} {{#if: {{{CardResources|}}} |1}} |
{{!}}-
{{!}}'''[[Resources]]'''
{{!}}{{#if: {{{CardResources|}}}
| <span>{{{Resources|0}}}</span>{{ItemIcon|CookieGain}}, <span>{{{CardResources}}}</span>{{ItemIcon|CardGain}}
| {{#if: {{{Resources|}}} | <span>{{{Resources}}}</span>{{ItemIcon|CookieGain}} }}
}} }}
|-
|-
|'''Rarity'''
|'''Rarity'''
|{{{Rarity}}}
|{{{Rarity|Common}}}
|-
|-
|'''Artist'''
|'''Artist'''
|{{{Artist}}}
|{{#if: {{{ArtistLink|}}} | [[:Category:{{{ArtistLink}}} (artist)|{{{Artist}}}]] | [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]] }}
|}
|}<!--
 
--><includeonly>[[Category:Card]]
[[Category:{{{CardType}}}]]
{{#if: {{{ArtistLink|}}} | [[Category:{{{ArtistLink}}} (artist)]] | [[Category:{{{Artist}}} (artist)]] }}
[[Category:Rarity:{{{Rarity}}}]]
{{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]] | }}
</includeonly><!--
 
-->{{#if: {{{Resources|}}} |
{{#switch: {{{Resources}}}
| * | ** | 15* | 2+* | 1* | See Card Text = [[Category:Non-Character cards with Cookie gain]]
| #default = {{#iferror: {{#ifexpr: {{{Resources|0}}} = 0 }}
| [[Category:{{{CardType}}}s with Resources {{{Resources|0}}} Cookies]]
| {{#ifexpr: {{{Resources}}} <> 0 | [[Category:Non-Character cards 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}}}]]