Template:DoubleSidedCardStats: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Chesto (talk | contribs)
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
<!-- Front Side Info -->
{| style="float:right; padding: 1em; margin: 0 0.5em 0.5em 0; background-color: #e0f3f9; border-radius: 1em; min-width: 200px;"
{| class="cardInfo" style="display:inline-block; padding: 1em; margin: 0 0.5em 0.5em 0; Background-color: #e0f3f9; border-radius: 1em;"
!colspan="2" | [[File:{{{FrontImageUrl|logo.png}}}|300px|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]]
|-
|-
|'''Side'''
| colspan="1" |'''Cookie Cost'''
|Front
| colspan="3" |<span>{{{CookieCost|0}}}</span>{{ItemIcon|Cookie}}
|-
|-
|'''Card 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}}}{{ItemIcon|Confidence}}
{{!}}-
{{!}}'''Maturity'''
{{!}}{{{FrontMaturity}}}{{ItemIcon|Maturity}}|}}
{{#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}}}|}}
|}
<!-- Back Side Info -->
{| 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}}}]]
|
|{{#ifeq: {{{FrontCardType}}} | {{{BackCardType}}} | | '''Card Type'''}}
{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}|
|{{#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}}}{{ItemIcon|Confidence}}
{{!}}{{#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}}}{{ItemIcon|Maturity}}|}}
{{!}}{{#ifexpr:{{#ifeq: {{{FrontCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{FrontCardType|}}} | Main Character | 1 | 0 }}| {{{FrontMaturity}}}{{ItemIcon|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 }}| '''Maturity'''}}
{{!}}{{#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|}}} |
{{#ifexpr:{{#ifeq: {{{BackCardType|}}} | Character | 1 | 0 }} or {{#ifeq: {{{BackCardType|}}} | Main Character | 1 | 0 }}|
<span>{{{FrontResources|0}}}</span>{{ItemIcon|CookieGain}}, <span>{{{FrontCardResources}}}</span>{{ItemIcon|CardGain}} |
<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}} |
{| style="float:right; padding: 1em; margin-left: 1em; background-color: #eee; border-radius: 1em; min-width: 200px;"
<span>{{{FrontCookieReward|0}}}</span>{{ItemIcon|CookieReward}}}}}}
!colspan="2" | [[File:{{{ImageUrl|logo.png}}}|300px|center|frameless]]
{{!}}{{#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}}}}}}|}}
|-
|'''Card Type'''
|[[:Category:{{{FrontCardType}}}|{{{FrontCardType}}}]], [[:Category:{{{BackCardType}}}|{{{BackCardType}}}]]
|-
|'''Cookie Cost'''
|{{{CookieCost|0}}}{{ItemIcon|Cookie}}
|-
|'''Rarity'''
|{{{Rarity|Exceptional Rare}}}
|-
|'''Artist'''
|{{#if: {{{ArtistLink|}}} | [[:Category:{{{ArtistLink}}} (artist)|{{{Artist}}}]] | [[:Category:{{{Artist}}} (artist)|{{{Artist}}}]] }}
|}
|}
</onlyinclude>
<includeonly>
<includeonly>
[[Category:Card]]
[[Category:Card]]
Line 122: Line 106:
}}
}}
[[Category:Other double-sided cards]]
[[Category:Other double-sided cards]]
</onlyinclude>
 
</includeonly>


<noinclude>
<noinclude>
[[Category:Cards with Resources {{{FrontResources}}}]]
 
[[Category:Cards with Cookie Reward {{{FrontCookieReward}}}]]
 
[[Category:Cards with Resources {{{BackResources}}}]]
 
[[Category:Cards with Cookie Reward {{{BackCookieReward}}}]]
 
 
 
 
 
 




Line 135: Line 125:


===Example of Character//Non-Character Card===
===Example of Character//Non-Character Card===
{{DoubleSidedCardStats
{{DoubleSidedCardStats
|CookieCost=9
|CookieCost=9
Line 143: Line 132:
|FrontConfidence=3
|FrontConfidence=3
|FrontMaturity=2
|FrontMaturity=2
|FrontResources=+2 Cookies, +1 Card
|FrontResources=2
|FrontFightReward=13 Cookies
|FrontCardResources=1
|FrontCookieReward=13
|BackImageUrl=Set3-050-back.png
|BackImageUrl=Set3-050-back.png
|BackCardType=Toy
|BackCardType=Toy
|BackResources=-2 Cookies
|BackResources=-2
|Rarity=Uncommon
|Rarity=Uncommon
|Artist=Sannamy
|Artist=Sannamy
}}
}}


===Example of Non-Character//Non-Character Card===
===Example of Non-Character//Non-Character Card===
Line 161: Line 185:
|FrontMaturity=
|FrontMaturity=
|FrontResources=
|FrontResources=
|FrontFightReward=
|FrontCookieReward=
|BackCardType=Scene
|BackCardType=Scene
|BackImageUrl=BTP-089-back.png
|BackImageUrl=BTP-089-back.png
Line 171: Line 195:
|Artist=PepperPawbs
|Artist=PepperPawbs
}}
}}


===Example of Character//Character Card===
===Example of Character//Character Card===
Line 181: Line 231:
|FrontConfidence=3
|FrontConfidence=3
|FrontMaturity=2
|FrontMaturity=2
|FrontResources=+2 Cookies, +1 Card
|FrontResources=2
|FrontFightReward=13 Cookies
|FrontCardResources=1
|FrontCookieReward=13
|BackImageUrl=Set3-050-front.png
|BackImageUrl=Set3-050-front.png
|BackCardType=Character
|BackCardType=Character
Line 188: Line 239:
|BackConfidence=3
|BackConfidence=3
|BackMaturity=2
|BackMaturity=2
|BackResources=+2 Cookies, +1 Card
|BackResources=2
|BackFightReward=13 Cookies
|BackCardResources=1
|BackCookieReward=13
|Rarity=Uncommon
|Rarity=Uncommon
|Artist=Sannamy
|Artist=Sannamy
}}
}}
</noinclude>
</noinclude>

Revision as of 20:32, 1 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