Difference between revisions of "Template:ARR Infobox Item2"

Line 304: Line 304:
 
|height="12px" colspan="1"|[[File:Divider5.png|link=]]
 
|height="12px" colspan="1"|[[File:Divider5.png|link=]]
 
|-
 
|-
{{!}}valign="top" {{!}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Sold by Merchant}} >= 1 ||
+
{{!}}valign="top" {{!}}{{#ifexpr:{{PAGESINCAT:Rewards {{fixtick|{{SUBPAGENAME}}}}}} >= 1 ||
 +
{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Sold by Merchant}} >= 1 ||
 
{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Traded by Merchant}} >= 1 ||
 
{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Traded by Merchant}} >= 1 ||
 
{{CList2|Title=<span id="Sold by Merchant">Sold by Merchants</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} sold by merchant| dpl={{#dpl:
 
{{CList2|Title=<span id="Sold by Merchant">Sold by Merchants</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} sold by merchant| dpl={{#dpl:
Line 312: Line 313:
 
| namespace  =
 
| namespace  =
 
| format      =\n
 
| format      =\n
| table      =class="datatable-GEtable sortable" style="width: 95%;",-,Merchant,Price
+
| table      =class="datatable-GEtable sortable" style="width: 95%;",-,Merchant (Shop),Price
 
| tablerow = %%
 
| tablerow = %%
 
| count=
 
| count=
 
| suppresserrors=true
 
| suppresserrors=true
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=merchanttrade-{{fixtick|{{SUBPAGENAME}}}}-25d
+
| dplcache=merchanttrade-{{fixtick|{{SUBPAGENAME}}}}-25e
}}}}}}}}{{CList2|Title=<span id="Sold by Merchant">Sold by Merchants</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Sold by Merchant| dpl={{#dpl:
+
}}}}}}}}}}{{CList2|Title=<span id="Sold by Merchant">Sold by Merchants</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Sold by Merchant| dpl={{#dpl:
 
| category={{PAGENAME}} Sold by Merchant
 
| category={{PAGENAME}} Sold by Merchant
 
| uses=Template:ARR Infobox NPC
 
| uses=Template:ARR Infobox NPC
Line 429: Line 430:
 
}}}}{{CList2|Title=<span id="Rewarded from TT Duel">Rewarded from Triple Triad Duel:</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Rewarded from TT Duel|dpl={{#dpl:
 
}}}}{{CList2|Title=<span id="Rewarded from TT Duel">Rewarded from Triple Triad Duel:</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Rewarded from TT Duel|dpl={{#dpl:
 
| category    ={{fixtick|{{SUBPAGENAME}}}} Rewarded from TT Duel
 
| category    ={{fixtick|{{SUBPAGENAME}}}} Rewarded from TT Duel
| includepage ={ARR Infobox NPC}:Name,{ARR Infobox TTNPC} deckdpl
+
| includepage ={TripleTriadTemplate}:Name,{TripleTriadTemplate} deckdpl
 
| namespace  =
 
| namespace  =
 
| format      =,,\n
 
| format      =,,\n
 
| table      =class="datatable-GEtable sortable" style="width: 95%;",-,Name,Deck Strength
 
| table      =class="datatable-GEtable sortable" style="width: 95%;",-,Name,Deck Strength
 
| tablerow =[[%%]],%%
 
| tablerow =[[%%]],%%
| dplcache=duel-{{fixtick|{{SUBPAGENAME}}}}-55
+
| dplcache=duel-{{fixtick|{{SUBPAGENAME}}}}-55a
 
| allowcachedresults=true
 
| allowcachedresults=true
 
| suppresserrors=true
 
| suppresserrors=true
Line 899: Line 900:
 
}}}}}}{{CList2|Title=<span id="Traded for">Traded for:</span>|CountCat=Traded for {{fixtick|{{SUBPAGENAME}}}}|dpl={{#ifexpr:{{PAGESINCATEGORY:Traded for {{fixtick|{{SUBPAGENAME}}}}|R}} > 25|''{{SUBPAGENAME}}'' is used to purchase more than 25 items via trading.<br> Please [[:Category:Traded for {{fixtick|{{SUBPAGENAME}}}}|click here to see the complete list.]]|{{#dpl:
 
}}}}}}{{CList2|Title=<span id="Traded for">Traded for:</span>|CountCat=Traded for {{fixtick|{{SUBPAGENAME}}}}|dpl={{#ifexpr:{{PAGESINCATEGORY:Traded for {{fixtick|{{SUBPAGENAME}}}}|R}} > 25|''{{SUBPAGENAME}}'' is used to purchase more than 25 items via trading.<br> Please [[:Category:Traded for {{fixtick|{{SUBPAGENAME}}}}|click here to see the complete list.]]|{{#dpl:
 
| category    =Trades {{fixtick|{{SUBPAGENAME}}}}
 
| category    =Trades {{fixtick|{{SUBPAGENAME}}}}
| uses        =Template:Trades
+
| uses        =Template:Sells3
| includepage ={Trades} exchange row
+
| includepage ={Sells3} exchange row
| includematch=/\{{!}}Item\d+\s*=\s*\b{{fixparen|{{fixplus2|{{fixtick|{{SUBPAGENAME}}}}}}}}\s*\{{!}}/is
+
| includematch=/\{{!}}Cost\d+\s*=\s*\b{{fixparen|{{fixplus2|{{fixtick|{{SUBPAGENAME}}}}}}}}\s*\{{!}}/is
 
| namespace  =
 
| namespace  =
 
| format      =,,\n
 
| format      =,,\n
 
| table      =class="datatable-GEtable sortable" style="width: 95%;",NPC,Item
 
| table      =class="datatable-GEtable sortable" style="width: 95%;",NPC,Item
 
| tablerow    =[[%%]],%%
 
| tablerow    =[[%%]],%%
| dplcache=tradedto--{{SUBPAGENAME}}-55
+
| dplcache=tradedto--{{SUBPAGENAME}}-55abcd
 
| allowcachedresults=true
 
| allowcachedresults=true
 
| suppresserrors=true
 
| suppresserrors=true

Revision as of 14:58, 27 April 2021

Qmark.gif
This template is in need of documentation, please document the template with relevant details.