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|24px|link=]] Triple Triad Player Card  
+
{{!}}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;">&nbsp;{{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}{{ht|This represents the average strength of the cards in the NPC's deck.|Deck Strength:&nbsp;{{#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;">&nbsp;{{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}{{ht|This represents the average strength of the cards in the NPC's deck.|Deck Strength:&nbsp;{{#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"{{!}}&nbsp;
 
{{!}}rowspan="12"{{!}}&nbsp;

Revision as of 17:30, 27 November 2020

Template for Triple Triad card display on NPC pages.