Template:DoubleSidedCardStats: Difference between revisions

From Little Troubles
mNo edit summary
Chesto (talk | contribs)
No edit summary
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| style="display: inline-block; margin: 0 0.5em 0.5em 0; padding: 1em; background-color: #e0f3f9; border-radius: 1em;"
<onlyinclude>
!colspan="2" | [[File:{{{FrontImageUrl|logo.png}}}|300px|center|frameless]]
{| style="float:right; padding: 1em; margin-left: 1em; background-color: #eee; border-radius: 1em; min-width: 200px;"
|-
|-
|
! 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]]
|-
|-
|'''Side'''
| colspan="1" |'''Cookie Cost'''
|Front
| colspan="3" |<span>{{{CookieCost|0}}}</span>{{ItemIcon|Cookie}}
|-
|-
|'''Type'''
| colspan="1" |'''Rarity'''
|[[:Category:{{{FrontCardType}}}|{{{FrontCardType}}}]]
| colspan="3" |{{{Rarity|Exceptional Rare}}}
{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | "Character" | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | "Main Character" | 1 | 0 }}|
{{!}}-
{{!}}'''Character Type'''
{{!}}{{{FrontCharacterType}}}
{{!}}-
{{!}}'''Confidence'''
{{!}}{{{FrontConfidence}}}
{{!}}-
{{!}}'''Maturity'''
{{!}}{{{FrontMaturity}}}
}}<!--
-->{{#ifexpr:{{#ifeq: {{{FrontResources|}}} | "N/A" | 0 | 1 }} and {{#ifeq: {{{FrontResources|}}} | | 0 | 1 }}|
{{!}}-
{{!}}'''[[Resources]]'''
{{!}} {{{FrontResources}}}
}}<!--
-->{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | "Character" | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | "Main Character" | 1 | 0 }}|
{{!}}-
{{!}}'''Fight Reward'''
{{!}}{{{FrontFightReward}}}
}}
|}
 
{| style="display:inline-block; padding: 1em; margin: 0 0.5em 0.5em 0; background-color: #e0f3f9; border-radius: 1em;"
!colspan="2" | [[File:{{{BackImageUrl|logo.png}}}|300px|center|frameless]]
|-
|-
|
| colspan="1" |'''Artist'''
|
| colspan="3" |{{#if: {{{ArtistLink|}}} | [[:Category:{{{ArtistLink}}} (artist)|{{{Artist}}}]] | [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]] }}
|-
|-
|'''Side'''
|'''Side'''
|Back
|A (Front)
|'''Side'''
|B (Back)
|-
|-
<!-- To do: make this do 1 and 3 if both same types, or 4 columns otherwise -->
|'''Card Type'''
|'''Card Type'''
|[[:Category:{{{BackCardType}}}|{{{BackCardType}}}]]<!--
|[[:Category:{{{FrontCardType}}}|{{{FrontCardType}}}]]
-->{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | "Character" | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | "Main Character" | 1 | 0 }}|
|{{#ifeq: {{{FrontCardType}}} | {{{BackCardType}}} | | '''Card Type'''}}
|{{#ifeq: {{{FrontCardType}}} | {{{BackCardType}}} | | [[:Category:{{{BackCardType}}}|{{{BackCardType}}}]]}}
|-
<!-- 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 }}|  
{{!}}-
{{!}}-
{{!}}'''Character Type'''
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Character Type'''|}}
{{!}}{{{BackCharacterType}}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontCharacterType}}}| }}
{{!}}{{#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}}}| }}
{{!}}-
{{!}}-
{{!}}'''Confidence'''
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Confidence'''}}
{{!}}{{{BackConfidence}}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontConfidence}}}{{ItemIcon|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}}}}
{{!}}-
{{!}}-
{{!}}'''Maturity'''
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Maturity'''}}
{{!}}{{{BackMaturity}}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontMaturity}}}{{ItemIcon|Maturity}}}}
}}<!--
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| '''Maturity'''}}
-->{{#ifexpr:{{#ifeq: {{{BackResources|}}} | "N/A" | 0 | 1 }} and {{#ifeq: {{{BackResources|}}} | | 0 | 1 }}|
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| {{{BackMaturity}}}{{ItemIcon|Maturity}}}}
|}}<!-- 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}}|
{{!}}-
{{!}}-
{{!}}'''[[Resources]]'''
{{!}}{{#ifexpr:{{#ifeq: {{{FrontResources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{FrontResources|}}} | | 0 | 1 }}|'''[[Resources]]'''}}
{{!}} {{{BackResources}}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontResources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{FrontResources|}}} | | 0 | 1 }}|{{#if: {{{FrontCardResources|}}} |
}}<!--
<span>{{{FrontResources|0}}}</span>{{ItemIcon|CookieGain}}, <span>{{{FrontCardResources}}}</span>{{ItemIcon|CardGain}} |
-->{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | "Character" | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | "Main Character" | 1 | 0 }}|
<span>{{{FrontResources|0}}}</span>{{ItemIcon|CookieGain}}}}}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackResources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{BackResources|}}} | | 0 | 1 }}|'''[[Resources]]'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackResources|}}} | N/A | 0 | 1 }} and {{#ifeq: {{{BackResources|}}} | | 0 | 1 }}|{{#if: {{{BackCardResources|}}} |
<span>{{{BackResources|0}}}</span>{{ItemIcon|CookieGain}}, <span>{{{BackCardResources}}}</span>{{ItemIcon|CardGain}} |
<span>{{{BackResources|0}}}</span>{{ItemIcon|CookieGain}}}}}}|}}
<!-- If either side is a Character, display these, otherwise don't -->
{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}|  
{{!}}-
{{!}}-
{{!}}'''Fight Reward'''
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| '''Fight Reward'''}}
{{!}}{{{BackFightReward}}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{#if: {{{FrontCardReward|}}} |
<span>{{{FrontCookieReward|0}}}</span>{{ItemIcon|CookieReward}}, {{{FrontCardReward}}}</span>{{ItemIcon|CardReward}} |
<span>{{{FrontCookieReward|0}}}</span>{{ItemIcon|CookieReward}}}}}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| '''Fight Reward'''}}
{{!}}{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}| {{#if: {{{BackCardReward|}}} |
<span>{{{BackCookieReward|0}}}</span>{{ItemIcon|CookieReward}}, {{{BackCardReward}}}</span>{{ItemIcon|CardReward}} |
<span>{{{BackCookieReward|0}}}</span>{{ItemIcon|CookieReward}}}}}}|}}
|}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Card]]|}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:{{{FrontCardType}}}]]|}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:{{{BackCardType}}}]]|}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Other double-sided cards]]|}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{#if: {{{ArtistLink|}}} | [[Category:{{{ArtistLink}}} (artist)]] | [[Category:{{{Artist}}} (artist)]] }}|}}
{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Rarity:{{{Rarity}}}]]|}}
</onlyinclude>
<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]]
}}
}}
</includeonly>
<noinclude>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
===Example of Character//Non-Character Card===
{{DoubleSidedCardStats
|CookieCost=9
|FrontImageUrl=Set3-050-front.png
|FrontCardType=Character
|FrontCharacterType=Adult
|FrontConfidence=3
|FrontMaturity=2
|FrontResources=2
|FrontCardResources=1
|FrontCookieReward=13
|BackImageUrl=Set3-050-back.png
|BackCardType=Toy
|BackResources=-2
|Rarity=Uncommon
|Artist=Sannamy
}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
===Example of Non-Character//Non-Character Card===
 
{{DoubleSidedCardStats
|CookieCost=8
|FrontCardType=Scene
|FrontImageUrl=BTP-089-front.png
|FrontConfidence=
|FrontMaturity=
|FrontResources=
|FrontCookieReward=
|BackCardType=Scene
|BackImageUrl=BTP-089-back.png
|BackConfidence=
|BackMaturity=
|BackResources=
|BackFightReward=
|Rarity=Uncommon
|Artist=PepperPawbs
}}
}}
|}


{| style="float:right; padding: 1em; margin-left: 1em; background-color: #eee; border-radius: 1em; min-width: 200px;"
!colspan="2" | [[File:{{{ImageUrl|logo.png}}}|300px|center|frameless]]
|-
|
|
|-
|'''Card Type'''
|[[:Category:{{{FrontCardType}}}|{{{FrontCardType}}}]], [[:Category:{{{BackCardType}}}|{{{BackCardType}}}]]
|-
|'''Cookie Cost'''
|{{{CookieCost|0}}}
|-
|'''Rarity'''
|{{{Rarity|Exceptional Rare}}}
|-
|'''Artist'''
|{{#ifeq: {{{ArtistLink|}}}| | [[:Category:{{{Artist}}}|{{{Artist}}}]] | [[:Category:{{{ArtistLink}}}|{{{Artist}}}]]}}
|}


[[Category:Card]]
 
[[Category:{{{FrontCardType}}}]]
 
[[Category:{{{BackCardType}}}]]
 
{{#ifeq: {{{ArtistLink|}}}| | [[Category:{{{Artist}}}|{{{Artist}}}]] | [[Category:{{{ArtistLink}}}|{{{Artist}}}]]}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
===Example of Character//Character Card===
 
{{DoubleSidedCardStats
|CookieCost=9
|FrontImageUrl=Set3-050-front.png
|FrontCardType=Character
|FrontCharacterType=Adult
|FrontConfidence=3
|FrontMaturity=2
|FrontResources=2
|FrontCardResources=1
|FrontCookieReward=13
|BackImageUrl=Set3-050-front.png
|BackCardType=Character
|BackCharacterType=Adult
|BackConfidence=3
|BackMaturity=2
|BackResources=2
|BackCardResources=1
|BackCookieReward=13
|Rarity=Uncommon
|Artist=Sannamy
}}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
===Example of Character//Character Card, regressed-first===
{{DoubleSidedCardStats
|CookieCost=9
|FrontImageUrl=Set2-130-front.png
|FrontCardType=Main Character
|FrontCharacterType=Regressed
|FrontConfidence=1
|FrontMaturity=1
|FrontResources=4
|FrontCookieReward=20
|BackImageUrl=Set2-130-back.png
|BackCardType=Main Character
|BackCharacterType=Adult
|BackConfidence=&#8270;
|BackMaturity=&#8270;
|BackResources=&#8270;
|BackCardResources=&#8270;
|BackCookieReward=&#8270;
|Rarity=Exceptional Rare
|ArtistLink=Bubbles Pupper
|Artist=Bubbles Puppers
}}
 
</noinclude>

Latest revision as of 20:29, 14 February 2026

Cookie Cost 0Cookies
Rarity Exceptional Rare
Artist [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]]
Side A (Front) Side B (Back)
Card Type [[:Category:{{{FrontCardType}}}|{{{FrontCardType}}}]] Card Type [[:Category:{{{BackCardType}}}|{{{BackCardType}}}]]













Example of Character//Non-Character Card

Cookie Cost 9Cookies
Rarity Uncommon
Artist Sannamy
Side A (Front) Side B (Back)
Card Type Character Card Type Toy
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

Cookie Cost 8Cookies
Rarity Uncommon
Artist PepperPawbs
Side A (Front) Side B (Back)
Card Type Scene


















Example of Character//Character Card

Cookie Cost 9Cookies
Rarity Uncommon
Artist Sannamy
Side A (Front) Side B (Back)
Card Type Character
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

Cookie Cost 9Cookies
Rarity Exceptional Rare
Artist Bubbles Puppers
Side A (Front) Side B (Back)
Card Type Main Character
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