Difference between revisions of "Template:Triple Triad NPC"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Undo revision 810270 by Dr Agon (talk))
Tag: Undo
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--*'''Difficulty''': {{{difficulty|?}}} / 10 {{#set:Has triple triad difficulty={{{difficulty|0}}}}}
<!--*'''Difficulty''': {{{difficulty|?}}} / 10 {{#set:Has triple triad difficulty={{{difficulty|0}}}}}
-->*'''Rules''': {{{rules}}}{{#set:Has triple triad rules={{{rules}}}}}
-->*'''Rules''': {{#if:{{{rules|}}}|{{{rules}}}{{#set:Has triple triad rules={{{rules}}}}}|N/A}}
*'''Cost''': {{{cost}}} [[MGP]]{{#set:Has triple triad mgp cost={{{cost}}}}}
*'''Cost''': {{{cost}}} [[MGP]]{{#set:Has triple triad mgp cost={{{cost}}}}}
*'''Requirement''': {{#if:{{{req-quest|}}}|{{quest icon|{{{req-quest|}}}}}|{{#if:{{{req-other|}}}||N/A}}}}{{{req-other|}}}
*'''Requirement''': {{#if:{{{req-quest|}}}|{{quest icon|{{{req-quest|}}}}}{{#set:Has triple triad required quest={{{req-quest}}}}}|{{#if:{{{req-other|}}}||N/A}}}}{{#if:{{{req-other|}}}|{{{req-other|}}}{{#set:Has triple triad other unlock=<nowiki>{{{req-other}}}</nowiki>}}|}}
===Deck===
===Deck===
{|
{|
{{#arraymap:{{{deck}}}|,|@@@|{{!}} {{#vardefine:guaranteed|}} {{#ifeq:{{#sub:@@@|0|1}}|+|{{#vardefine:guaranteed|true}}}}{{Triple Triad Card|{{#ifeq:{{#sub:@@@|0|1}}|+|{{#explode:@@@|+|1|2}}|@@@}} Card}}|\n}}
{{#arraymap:{{{deck}}}|,|@@@|{{!}} {{#vardefine:guaranteed|}} {{#ifeq:{{#sub:@@@|0|1}}|+|{{#vardefine:guaranteed|true}}}}{{Triple Triad Card|{{#ifeq:{{#sub:@@@|0|1}}|+|{{#explode:@@@|+|1|2}}|@@@}} Card}}|\n}}
|}
|}
{{Yes}} denotes cards that are guaranteed to appear in the NPC's deck.
{{Yes}} denotes cards that are guaranteed to appear in the NPC's deck. {{#vardefine:guaranteed|}}
===Rewards===
===Rewards===
'''{{MGP}} [[MGP]] Rewards'''
'''{{MGP}} [[MGP]] Rewards'''
Line 16: Line 16:
!Lose
!Lose
|-
|-
|{{{win}}}||{{{draw}}}||{{{lose}}}
|{{{win}}}{{#set:Has triple triad mgp win={{{win}}}}}||{{{draw}}}||{{{lose}}}
|}
|}


Line 22: Line 22:


{{#if:{{{card-rewards|}}}|{{{!}}
{{#if:{{{card-rewards|}}}|{{{!}}
{{#arraymap:{{{card-rewards}}}|,|@@@|{{!}} {{Triple Triad Card|@@@ Card}}|\n}}
{{#arraymap:{{{card-rewards}}}|,|@@@|{{!}} {{Triple Triad Card|@@@ Card}}|\n}}{{#set:Has triple triad card rewards={{{card-rewards}}}}}
{{!}}}|N/A}}<noinclude>[[Category:Templates]]</noinclude>
{{!}}}|N/A}} [[Category:Triple Triad NPCs]] <noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 04:00, 24 November 2024

  • Rules: N/A
  • Cost: {{{cost}}} MGPProperty "Has triple triad mgp cost" (as page type) with input value "{{{cost}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
  • Requirement: N/A

Deck

Card not found.

1Yes denotes cards that are guaranteed to appear in the NPC's deck.

Rewards

MGP MGP Rewards

Win Draw Lose
{{{win}}}Property "Has triple triad mgp win" (as page type) with input value "{{{win}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{draw}}} {{{lose}}}

Possible Card Rewards

N/A