Jump to content

Template:CardStatsBasic: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Chesto (talk | contribs)
No edit summary
Tag: wikieditor
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="float:right; padding: 1em; margin-left: 1em; background-color: #eee; border-radius: 1em; min-width: 200px;"
{| style="float:right; padding: 1em; margin-left: 1em; background: {{CardColor|CardType={{{CardType}}}|CardArea=body|opacity=0.2}}; border-radius: 1em; max-width: 40%; min-width: 225px;"
!colspan="2" | [[File:{{{ImageUrl|logo.png}}}|300px|center|frameless]]
!colspan="2" | <div class="res-img">[[File:{{{ImageUrl|logo.png}}}|center|frameless]]</div>
|-
|-
|
|
Line 6: Line 6:
|-
|-
|'''Card Type'''
|'''Card Type'''
|[[:Category:{{{CardType}}}|{{{CardType}}}]]
|{{ItemIcon|{{{CardType}}}|n}}
|-
|-
|'''Cookie Cost'''
|'''Cookie Cost'''
Line 23: Line 23:
|'''Artist'''
|'''Artist'''
|{{#if: {{{ArtistLink|}}} | [[:Category:{{{ArtistLink}}} (artist)|{{{Artist}}}]] | [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]] }}
|{{#if: {{{ArtistLink|}}} | [[:Category:{{{ArtistLink}}} (artist)|{{{Artist}}}]] | [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]] }}
|-
|'''Tournament Status'''
|[[Banlist|{{CardSetLegality}}]]{{#ifeq:{{CardSetLegality}}|Indeterminate|{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Indeterminate Legality]]|}}|}}
|-
|}<!--
|}<!--


Line 28: Line 32:
[[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|Common}}}]]
{{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]] | }}
{{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]] | }}
</includeonly><!--
</includeonly><!--
Line 34: Line 38:
-->{{#if: {{{Resources|}}} |
-->{{#if: {{{Resources|}}} |
{{#switch: {{{Resources}}}
{{#switch: {{{Resources}}}
| * | ** | 15* | 2+* | 1* | See Card Text = [[Category:{{{CardType}}}s with variable Cookie gain]]
| * | ** | 15* | 2+* | 1* | See Card Text = [[Category:Non-Character cards with Cookie gain]][[Category:{{{CardType}}}s with Cookie gain]]
| #default = {{#iferror: {{#ifexpr: {{{Resources|0}}} = 0 }}
| #default = {{#iferror: {{#ifexpr: {{{Resources|0}}} = 0 }}
| [[Category:{{{CardType}}}s with Resources {{{Resources|0}}} Cookies]]
| [[Category:{{{CardType}}}s with Resources {{{Resources|0}}} Cookies]]
| {{#ifexpr: {{{Resources}}} <> 0 | [[Category:Non-Character cards with Cookie gain]]}} }} }}
| {{#ifexpr: {{{Resources}}} <> 0 | [[Category:Non-Character cards with Cookie gain]][[Category:{{{CardType}}}s with Cookie gain]]}} }} }}
}}<!--
}}<!--


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


-->{{#if: {{{CardSubtype|}}} | [[Category:{{{CardSubtype}}}]]}}
-->{{#if: {{{CardSubtype|}}} | [[Category:{{{CardSubtype}}}]]}}

Latest revision as of 18:51, 31 August 2026

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