Difference between revisions of "Template:ARR Infobox TTNPC"

Line 1: Line 1:
<includeonly><div class="itembox shadowed" style="padding-bottom: 30px;>
+
<includeonly><div class="itembox shadowed" style="margin-bottom: 10px;>
 
{{{!}} style="padding:0em 0.8em 0em .8em; color:white;"
 
{{{!}} style="padding:0em 0.8em 0em .8em; color:white;"
 
{{!}}-
 
{{!}}-
 
{{!}}height="18px" style="height: 3ex; font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Triple Triad Player Card  
 
{{!}}height="18px" style="height: 3ex; font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Triple Triad Player Card  
{{!}}align="right"{{!}}<span style="font-size:18px; font-weight:bold; border-radius: 100px;">&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>
+
{{!}}align="right"{{!}}<span style="font-size:18px; font-weight:bold; background-color:#000000; border-radius: 100px;">&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>
 
{{!}}-
 
{{!}}-
 
{{!}}colspan="2"{{!}}<div style="background-color:#EBECF0; border:1px solid #969696;" ></div>
 
{{!}}colspan="2"{{!}}<div style="background-color:#EBECF0; border:1px solid #969696;" ></div>

Revision as of 04:25, 26 May 2017

Template for Triple Triad card display on NPC pages.