Difference between revisions of "Template:ARR Infobox TTNPC2"

Line 1: Line 1:
<includeonlyz><div class="itembox shadowed" style="margin-bottom: 10px;>
+
<includeonly><div class="itembox shadowed" style="margin-bottom: 10px;>
{{{!}} style="padding:0em 0.8em 0em .8em; color:white;" border="1"
+
{{{!}} 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;"{{!}}Triple Triad Player Card  
 
{{!}}width="26%" height="18px" style="height: 3ex; font-size:16px; font-weight: bold; font-family:Lucida Sans Unicode;"{{!}}Triple Triad Player Card  
{{!}}colspan="2" 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;
 
{{!}}-
 
{{!}}-
 
{{!}}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 16:44, 22 May 2019

Template for Triple Triad card display on NPC pages.