Difference between revisions of "Template:TripleTriadTemplate"

Line 1: Line 1:
<includeonly><div class="itembox shadowed" style="margin-bottom: 10px;>
+
<includeonly2><div class="itembox shadowed" style="margin-bottom: 10px;>
 
{{{!}} style="padding:0em 0.8em 0em .8em; color:white;" border="0" width="100%"
 
{{{!}} style="padding:0em 0.8em 0em .8em; color:white;" border="0" width="100%"
 
{{!}}-
 
{{!}}-
Line 13: Line 13:
 
{{!}}width="75%"{{!}}'''Deck <span style="font-weight:bold;">&nbsp;{{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}({{ht3|This represents the average strength of the cards in the NPC's 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="75%"{{!}}'''Deck <span style="font-weight:bold;">&nbsp;{{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}({{ht3|This represents the average strength of the cards in the NPC's 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>):'''
 
{{!}}-
 
{{!}}-
{{!}}
+
{{!}}valign="top"{{!}}
 
{{{!}}  
 
{{{!}}  
{{!}}valign="top"{{!}}Fee:
+
{{!}}width="25%" valign="top"{{!}}Fee:
{{!}}valign="top"{{!}}[[File:MGP Icon.png|link=MGP|24px]]{{{Fee|}}}
+
{{!}}width="75%" valign="top"{{!}}[[File:MGP Icon.png|link=MGP|24px]]{{{Fee|}}}
 
{{!}}-
 
{{!}}-
 
{{!}}valign="top"{{!}}Quest(s):
 
{{!}}valign="top"{{!}}Quest(s):
Line 26: Line 26:
 
{{!}}valign="top"{{!}}<table><tr>{{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}{{#arrayslice:deck1|deck|0|5}}{{#arrayslice:deck2|deck|5|5}}{{#arrayprint:deck1|&nbsp;|@@@@|<td>{{TTCard|Name=@@@@}}</td>}}</tr><tr>{{#arrayprint:deck2|&nbsp;|@@@@|<td>{{TTCard|Name=@@@@}}</td>}}</tr></table>
 
{{!}}valign="top"{{!}}<table><tr>{{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}{{#arrayslice:deck1|deck|0|5}}{{#arrayslice:deck2|deck|5|5}}{{#arrayprint:deck1|&nbsp;|@@@@|<td>{{TTCard|Name=@@@@}}</td>}}</tr><tr>{{#arrayprint:deck2|&nbsp;|@@@@|<td>{{TTCard|Name=@@@@}}</td>}}</tr></table>
 
{{!}}-
 
{{!}}-
{{!}}width="100%" colspan="2"{{!}}<div style="background-color:#EBECF0; border:1px solid #969696;" ></div>
+
{{!}}width="100%" colspan="12"{{!}}<div style="background-color:#EBECF0; border:1px solid #969696;" ></div>
 
{{!}}-
 
{{!}}-
 
{{!}}'''MGP Rewards:'''
 
{{!}}'''MGP Rewards:'''

Revision as of 18:09, 27 November 2020

<includeonly2>

Gold Saucer5 Icon.png Triple Triad Player Card

Rules, Conditions & Fee Deck  (Strength ):
Fee: MGP Icon.png
Quest(s):
Rule(s):

Extension:DynamicPageList (DPL), version 2.3.0 : Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby or their 'not' variants

}
MGP Rewards: Potential Card Rewards:
Win: MGP Icon.png
Draw: MGP Icon.png
Lose: MGP Icon.png
[[Category:{Rewards} Card Rewarded from TT Duel]]

Extension:DynamicPageList (DPL), version 2.3.0 : Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby or their 'not' variants

}

</includeonly>Template for Triple Triad card display on NPC pages.