Difference between revisions of "Template:TripleTriadTemplate"
Line 1: | Line 1: | ||
− | < | + | <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;"> {{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}({{ht3|This represents the average strength of the cards in the NPC's 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="75%"{{!}}'''Deck <span style="font-weight:bold;"> {{#arraydefine:deck|{{{Deck}}}}}{{#arraysort:deck|asc}}({{ht3|This represents the average strength of the cards in the NPC's 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>):''' | ||
{{!}}- | {{!}}- | ||
− | {{!}} | + | {{!}}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| |@@@@|<td>{{TTCard|Name=@@@@}}</td>}}</tr><tr>{{#arrayprint:deck2| |@@@@|<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| |@@@@|<td>{{TTCard|Name=@@@@}}</td>}}</tr><tr>{{#arrayprint:deck2| |@@@@|<td>{{TTCard|Name=@@@@}}</td>}}</tr></table> | ||
{{!}}- | {{!}}- | ||
− | {{!}}width="100%" colspan=" | + | {{!}}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>
Triple Triad Player Card |
</includeonly>Template for Triple Triad card display on NPC pages.