Template:DoubleSidedCardStats: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Chesto (talk | contribs)
No edit summary
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{| 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: linear-gradient(90deg,{{CardColor|CardType={{{FrontCardType}}}|CardArea=body|opacity=0.2}} 0%, {{CardColor|CardType={{{FrontCardType}}}|CardArea=body|opacity=0.2}} 45%, {{CardColor|CardType={{{BackCardType}}}|CardArea=body|opacity=0.2}} 55%, {{CardColor|CardType={{{BackCardType}}}|CardArea=body|opacity=0.2}} 100%); border-radius: 1em; min-width: 200px; max-width: 550px;"
|-
|-
! colspan="2"; style="padding-right: 0.25em" |[[File:{{{FrontImageUrl|logo.png}}}|250px|center|frameless]]
! colspan="2"; style="padding-right: 0.25em" |[[File:{{{FrontImageUrl|logo.png}}}|250px|center|frameless]]
!colspan="2"; style="padding-left: 0.25em" | [[File:{{{BackImageUrl|logo.png}}}|250px|center|frameless]]
!colspan="2"; style="padding-left: 0.25em" | [[File:{{{BackImageUrl|logo.png}}}|250px|center|frameless]]
|-
<!-- To do: make this do 1 and 3 if both same types, or 4 columns otherwise -->
|'''Card Type'''
|{{ItemIcon|{{{FrontCardType}}}|n}}
|{{#ifeq: {{{FrontCardType}}} | {{{BackCardType}}} | | '''Card Type'''}}
|{{#ifeq: {{{FrontCardType}}} | {{{BackCardType}}} | | {{ItemIcon|{{{BackCardType}}}|n}}}}
|-
|-
| colspan="1" |'''Cookie Cost'''
| colspan="1" |'''Cookie Cost'''
Line 17: Line 23:
|[[Banlist|{{CardSetLegality}}]]{{#ifeq:{{CardSetLegality}}|Indeterminate|{{#if:{{NAMESPACE}}| | [[Category:Indeterminate Legality]]}}|}}
|[[Banlist|{{CardSetLegality}}]]{{#ifeq:{{CardSetLegality}}|Indeterminate|{{#if:{{NAMESPACE}}| | [[Category:Indeterminate Legality]]}}|}}
|-
|-
|'''Side'''
<!-- |'''Side'''
|A (Front)
|A (Front)
|'''Side'''
|'''Side'''
|B (Back)
|B (Back)
|-
|- -->
<!-- To do: make this do 1 and 3 if both same types, or 4 columns otherwise -->
|'''Card Type'''
|[[:Category:{{{FrontCardType}}}|{{{FrontCardType}}}]]
|{{#ifeq: {{{FrontCardType}}} | {{{BackCardType}}} | | '''Card Type'''}}
|{{#ifeq: {{{FrontCardType}}} | {{{BackCardType}}} | | [[:Category:{{{BackCardType}}}|{{{BackCardType}}}]]}}
|-
<!-- If either side is a Character, display these, otherwise don't -->
<!-- If either side is a Character, display these, otherwise don't -->
{{#ifexpr:{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }} | 1 | 0 }} or {{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }} | 1 | 0 }}|  
{{#ifexpr:{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }} | 1 | 0 }} or {{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }} | 1 | 0 }}|  
{{!}}-
{{!}}-
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Character Type'''|}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Character Type'''|}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontCharacterType}}}| }}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontCharacterType|Adult}}}| }}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| '''Character Type'''|}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| '''Character Type'''|}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| {{{BackCharacterType}}}| }}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| {{{BackCharacterType|Regressed}}}| }}
{{!}}-
{{!}}-
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Confidence'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Confidence'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontConfidence}}}{{ItemIcon|Confidence}}}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontConfidence}}}{{ItemIcon|Confidence}}{{#switch: {{{FrontConfidence|}}} | | 0 = [[Category:Characters with no Confidence]] | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Confidence]]}} }}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| '''Confidence'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| '''Confidence'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| {{{BackConfidence}}}{{ItemIcon|Confidence}}}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| {{{BackConfidence}}}{{ItemIcon|Confidence}}{{#switch: {{{BackConfidence|}}} | | 0 = [[Category:Characters with no Confidence]] | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Confidence]]}} }}
{{!}}-
{{!}}-
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Maturity'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Maturity'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontMaturity}}}{{ItemIcon|Maturity}}}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontMaturity}}}{{ItemIcon|Maturity}}{{#switch: {{{FrontMaturity|}}} | | 0 = [[Category:Characters with no Maturity]] | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Maturity]]}} }}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| '''Maturity'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| '''Maturity'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| {{{BackMaturity}}}{{ItemIcon|Maturity}}}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| {{{BackMaturity}}}{{ItemIcon|Maturity}}{{#switch: {{{BackMaturity|}}} | | 0 = [[Category:Characters with no Maturity]] | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Maturity]]}} }}
|}}<!-- If either side has resources, display them -->
|}}<!-- If either side has resources, display them -->
{{#ifexpr:{{#ifexpr:{{#ifeq: {{{FrontResources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{FrontResources|}}} | | 0 | 1 }}| 1 | 0}} or {{#ifexpr:{{#ifeq: {{{FrontResources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{FrontResources|}}} | | 0 | 1 }}| 1 | 0}}|
{{#ifexpr:{{#ifexpr:{{#ifeq: {{{FrontResources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{FrontResources|}}} | | 0 | 1 }}| 1 | 0}} or {{#ifexpr:{{#ifeq: {{{FrontResources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{FrontResources|}}} | | 0 | 1 }}| 1 | 0}}|
Line 68: Line 68:
<span>{{{BackCookieReward|0}}}</span>{{ItemIcon|CookieReward}}}}}}|}}
<span>{{{BackCookieReward|0}}}</span>{{ItemIcon|CookieReward}}}}}}|}}
|}
|}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Card]]|}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Card]][[Category:{{{FrontCardType}}}]][[Category:{{{BackCardType}}}]]{{#ifeq: {{{FrontCardType|}}}|{{{BackCardType|}}}|{{#ifeq: {{{FrontCardType|}}}|Character||{{#ifeq: {{{FrontCardType|}}}|Main Character||[[Category:Other double-sided cards]]}}}}|[[Category:Other double-sided cards]]}}{{#if: {{{ArtistLink|}}} | [[Category:{{{ArtistLink}}} (artist)]] | [[Category:{{{Artist}}} (artist)]] }}[[Category:Rarity:{{{Rarity}}}]]{{#ifeq:{{{FrontCharacterType}}}|Regressed|[[Category:Characters which start regressed]]}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:{{{FrontCardType}}}]]|}}
{{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]]|}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:{{{BackCardType}}}]]|}}
{{#switch: {{{FrontCardType|}}}|Character|Main Character|MainCharacter=
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Other double-sided cards]]|}}
{{#switch: {{{FrontResources|}}} | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Cookie gain]]}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#if: {{{ArtistLink|}}} | [[Category:{{{ArtistLink}}} (artist)]] | [[Category:{{{Artist}}} (artist)]] }}|}}
{{#switch: {{{FrontCardResources|}}} | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable card gain]]}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Rarity:{{{Rarity}}}]]|}}
{{#switch: {{{FrontCookieReward|}}} | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Cookie reward]]}}
</onlyinclude>
{{#switch: {{{FrontCardReward|}}} | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Cookie reward]]}}
<includeonly>
{{#ifeq: {{{CookieCost}}} | X | [[Category:Cards with cost {{{CookieCost}}}]] | }}
{{#if: {{#ifeq: {{{FrontCardType|}}} | Character | 1 }}
{{#switch: {{{FrontConfidence|}}}  
|  
| 0
| - = [[Category:Cards with variable Confidence]]
| * = [[Category:Cards with variable Confidence]]
}}
}}
{{#if: {{#ifeq: {{{BackCardType|}}} | Character | 1 }}
{{#switch: {{{BackConfidence|}}}
|  
| 0
| - = [[Category:Cards with variable Confidence]]  
| * = [[Category:Cards with variable Confidence]]
}}
}}
{{#if: {{#ifeq: {{{FrontCardType|}}} | Character | 1 }}
{{#switch: {{{FrontMaturity|}}}
|  
| 0
| - = [[Category:Cards with variable Maturity]]  
| * = [[Category:Cards with variable Maturity]]
}}
}}
{{#if: {{#ifeq: {{{BackCardType|}}} | Character | 1 }}
{{#switch: {{{BackMaturity|}}}
|  
| 0
| - = [[Category:Cards with variable Maturity]]
| * = [[Category:Cards with variable Maturity]]
}}
}}
{{#switch: {{{BackCardType|}}}|Character|Main Character|MainCharacter=
{{#switch: {{{BackResources|}}} | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Cookie gain]]}}
{{#switch: {{{BackCardResources|}}} | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable card gain]]}}
{{#switch: {{{BackCookieReward|}}} | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Cookie reward]]}}
{{#switch: {{{BackCardReward|}}} | * | ** | &#42; | &#8270; | - | &#45; | &#8208; = [[Category:Characters with variable Cookie reward]]}}
}}
}}
{{#ifeq: {{{FrontCardType|}}} | Character | | {{#ifeq: {{{FrontCardType|}}} | Main Character | | {{#ifexpr: {{{FrontResources|0}}} <> 0 | [[Category:Non-Character cards with Cookie gain]][[Category:{{{FrontCardType}}}s with Cookie gain]]}} }} }}
{{#ifeq: {{{BackCardType|}}} | Character | | {{#ifeq: {{{BackCardType|}}} | Main Character | | {{#ifexpr: {{{BackResources|0}}} <> 0 | [[Category:Non-Character cards with Cookie gain]][[Category:{{{BackCardType}}}s with Cookie gain]]}} }} }}
{{#ifeq: {{{FrontCardType|}}} | Character | | {{#ifeq: {{{FrontCardType|}}} | Main Character | | {{#ifexpr: {{{FrontCardResources|0}}} <> 0 | [[Category:Non-Character cards with card gain]][[Category:{{{FrontCardType}}}s with card gain]]}} }} }}
{{#ifeq: {{{BackCardType|}}} | Character | | {{#ifeq: {{{BackCardType|}}} | Main Character | | {{#ifexpr: {{{BackCardResources|0}}} <> 0 | [[Category:Non-Character cards with card gain]][[Category:{{{BackCardType}}}s with card gain]]}} }} }}
|}}</onlyinclude>
<includeonly>
</includeonly>
</includeonly>
<noinclude>
<noinclude>

Latest revision as of 17:17, 26 August 2026

Card Type [[{{{FrontCardType}}}]] Card Type [[{{{BackCardType}}}]]
Cookie Cost 0Cookies
Rarity Exceptional Rare
Artist [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]]
Tournament Status Indeterminate










Example of Character//Non-Character Card

Card Type CharacterCharacter Card Type ToyToy
Cookie Cost 9Cookies
Rarity Uncommon
Artist Sannamy
Tournament Status Indeterminate
Character Type Adult
Confidence 3Confidence
Maturity 2Maturity
Resources 2Cookie Gain, 1Card Gain Resources -2Cookie Gain
Fight Reward 13Cookie Reward



















Example of Non-Character//Non-Character Card

Card Type SceneScene
Cookie Cost 8Cookies
Rarity Uncommon
Artist PepperPawbs
Tournament Status Indeterminate















Example of Character//Character Card

Card Type CharacterCharacter
Cookie Cost 9Cookies
Rarity Uncommon
Artist Sannamy
Tournament Status Indeterminate
Character Type Adult Character Type Adult
Confidence 3Confidence Confidence 3Confidence
Maturity 2Maturity Maturity 2Maturity
Resources 2Cookie Gain, 1Card Gain Resources 2Cookie Gain, 1Card Gain
Fight Reward 13Cookie Reward Fight Reward 13Cookie Reward



















Example of Character//Character Card, regressed-first

Card Type Main CharacterMain Character
Cookie Cost 9Cookies
Rarity Exceptional Rare
Artist Bubbles Puppers
Tournament Status Indeterminate
Character Type Regressed Character Type Adult
Confidence 1Confidence Confidence Confidence
Maturity 1Maturity Maturity Maturity
Resources 4Cookie Gain Resources Cookie Gain, Card Gain
Fight Reward 20Cookie Reward Fight Reward Cookie Reward