Difference between revisions of "Template:TripleTriadTemplate"
Line 2: | Line 2: | ||
{{{!}} style="padding:0em 0.8em 0em .8em; color:white;" border="0" | {{{!}} style="padding:0em 0.8em 0em .8em; color:white;" border="0" | ||
{{!}}- | {{!}}- | ||
− | {{!}}width="26%" height="18px" style="height: 3ex; font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}[[File:Gold Saucer5 Icon.png| | + | {{!}}width="26%" height="18px" style="height: 3ex; font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}[[File:Gold Saucer5 Icon.png|34px|link=]] Triple Triad Player Card |
{{!}}width="74%" align="right"{{!}}<span style="font-size:18px; font-weight:bold;"> {{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}{{ht|This represents the average strength of the cards in the NPC's deck.|Deck Strength: {{#iferror:{{#expr:({{#expr:{{#arrayprint:deck|+|@@@@|{{#dpl:| suppresserrors=true| allowcachedresults=true | dplcache={{fixtick|{{FULLPAGENAME}}}}@@@@deckstrengthheader | title={{{@@@@|@@@@}}} (Triple Triad Card)| includepage = {ARR Infobox TTCard} numdpl}}}}}})/{{#arraysize:deck}}round 0}}}}|white}}</span> | {{!}}width="74%" align="right"{{!}}<span style="font-size:18px; font-weight:bold;"> {{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}{{ht|This represents the average strength of the cards in the NPC's deck.|Deck Strength: {{#iferror:{{#expr:({{#expr:{{#arrayprint:deck|+|@@@@|{{#dpl:| suppresserrors=true| allowcachedresults=true | dplcache={{fixtick|{{FULLPAGENAME}}}}@@@@deckstrengthheader | title={{{@@@@|@@@@}}} (Triple Triad Card)| includepage = {ARR Infobox TTCard} numdpl}}}}}})/{{#arraysize:deck}}round 0}}}}|white}}</span> | ||
{{!}}rowspan="12"{{!}} | {{!}}rowspan="12"{{!}} |
Revision as of 17:30, 27 November 2020
Template for Triple Triad card display on NPC pages.