Difference between revisions of "Template:ARR Infobox Item2"

(←Undid revision 1434834 by Gahoo (talk))
Tag: Undo
(35 intermediate revisions by the same user not shown)
Line 119: Line 119:
 
{{!}}style="color:#ffffff;" width="30%"{{!}}[[File:Elemental-EXP_Icon.png|18px|Eureka Effect: Bonus only applicable in Eureka|link=Eureka]] [[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]][[Category:{{AttributeSwitch|{{undospace|{{#var: ik}}}}}} Modifier]]
 
{{!}}style="color:#ffffff;" width="30%"{{!}}[[File:Elemental-EXP_Icon.png|18px|Eureka Effect: Bonus only applicable in Eureka|link=Eureka]] [[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]][[Category:{{AttributeSwitch|{{undospace|{{#var: ik}}}}}} Modifier]]
 
{{!}}{{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#3EE66B;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}} width="60%"{{!}}{{#var: iv}}&nbsp;<span style="font-size:80%;">{{#if:{{{Eureka {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Eureka {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Eureka {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Eureka {{#var:ik}} HQ|}}}}}</span>
 
{{!}}{{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#3EE66B;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}} width="60%"{{!}}{{#var: iv}}&nbsp;<span style="font-size:80%;">{{#if:{{{Eureka {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Eureka {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Eureka {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Eureka {{#var:ik}} HQ|}}}}}</span>
 +
}}}}}}
 +
{{!}}-
 +
{{#forargs:Bozja| ik | iv | {{#if:{{#var:iv|}}|{{#ifeq:{{#var:ik}}|{{#explode:{{#var:ik}}||0}}|<nowiki/>
 +
{{!}}-
 +
{{!}}style="color:#ffffff;" width="30%"{{!}}[[File:The_Bozjan_Southern_Front_Duty_Icon.png|18px|Bozja Effect: Bonus only applicable in The Bozjan Southern Front|link=The Bozjan Southern Front]]&nbsp;[[{{AttributeSwitch|{{undospace|{{#var: ik}}}}}}|{{undospace|{{#var: ik}}}}]][[Category:{{AttributeSwitch|{{undospace|{{#var: ik}}}}}} Modifier]]
 +
{{!}}{{#ifexpr: {{#rpos:{{#var: iv}}|-}} > 0 |style="color:#ffffff;"| {{#ifexpr: {{#var: iv}} > 0 |style="color:#3EE66B;"|{{#ifexpr: {{#var: iv}} < 0 |style="color:#F55353;"|style="color:#ffffff;"}}}}}} width="60%"{{!}}{{#var: iv}}&nbsp;<span style="font-size:80%;">{{#if:{{{Bozja {{#var:ik}} Conditions|}}}|&nbsp;([[{{{Bozja {{#var:ik}} Conditions|}}}]])}}{{#if:{{{Bozja {{#var:ik}} HQ|}}}|&nbsp;{{HQ}} {{{Bozja {{#var:ik}} HQ|}}}}}</span>
 
}}}}}}
 
}}}}}}
 
{{!}}-
 
{{!}}-
Line 309: Line 315:
 
| suppresserrors=true
 
| suppresserrors=true
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=merchantprice-{{fixtick|{{SUBPAGENAME}}}}-17
+
| dplcache=merchantsell-{{fixtick|{{SUBPAGENAME}}}}-19a
}}}}{{CList2|Title=<span id="Traded by Merchant">Traded by Merchants</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Traded by Merchant| dpl={{#dpl:
+
}}}}{{CList8|Title=<span id="Traded by Merchant">Traded by Merchants</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} temp Traded by Merchant| dpl={{#dpl:
| category={{PAGENAME}} Traded by Merchant
+
| category={{PAGENAME}} temp Traded by Merchant
| uses=Template:ARR Infobox NPC
+
| titlematch=%/Shop
| includepage ={ARR Infobox NPC} trades dpl3
+
| includepage ={Shop} dpl3
 
| namespace  =
 
| namespace  =
 
| format      =\n
 
| format      =\n
Line 321: Line 327:
 
| suppresserrors=true
 
| suppresserrors=true
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=merchanttrade-{{fixtick|{{SUBPAGENAME}}}}-17a
+
| dplcache=merchanttrade-{{fixtick|{{SUBPAGENAME}}}}-19b
 
}}}}{{CList2|Title=<span id="Achievement Reward">Achievement Reward</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Obtained from Achievement| dpl={{#dpl:
 
}}}}{{CList2|Title=<span id="Achievement Reward">Achievement Reward</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Obtained from Achievement| dpl={{#dpl:
 
| category={{fixtick|{{SUBPAGENAME}}}} Obtained from Achievement
 
| category={{fixtick|{{SUBPAGENAME}}}} Obtained from Achievement
Line 330: Line 336:
 
| table      =class="datatable-GEtable sortable" style="width: 95%;",NPC,Achievement,Location
 
| table      =class="datatable-GEtable sortable" style="width: 95%;",NPC,Achievement,Location
 
| tablerow = %%
 
| tablerow = %%
| dplcache=achievementmerchants-{{fixtick|{{SUBPAGENAME}}}}-15ab
+
| dplcache=achievementmerchants-{{fixtick|{{SUBPAGENAME}}}}-19
 
| allowcachedresults=true
 
| allowcachedresults=true
 
| suppresserrors=true
 
| suppresserrors=true
Line 527: Line 533:
 
| allowcachedresults=true
 
| allowcachedresults=true
 
|  suppresserrors=true
 
|  suppresserrors=true
}}}}{{CList2|Title=<span id="Acquired from Duty">Acquired from Duty</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Acquired from Duty|dpl={{#ifexpr:{{PAGESINCATEGORY:{{fixtick|{{SUBPAGENAME}} Acquired from Duty}}|R}} > 25|''{{SUBPAGENAME}}'' is rewarded from more than 25 duties.<br> Please [[:Category:{{fixtick|{{SUBPAGENAME}}}} Acquired from Duty|click here to see the complete list.]]|{{#dpl:
+
}}}}{{CList10|Title=<span id="Acquired from Duty">Acquired from Duty</span>|CountCat={{fixtick|{{SUBPAGENAME}}}} Acquired from Duty|dpl={{#ifexpr:{{PAGESINCATEGORY:{{fixtick|{{SUBPAGENAME}} Acquired from Duty}}|R}} > 25|''{{SUBPAGENAME}}'' is rewarded from more than 25 duties.<br> Please [[:Category:{{fixtick|{{SUBPAGENAME}}}} Acquired from Duty|click here to see the complete list.]]|{{#dpl:
 
| category  ={{fixtick|{{SUBPAGENAME}}}} Acquired from Duty
 
| category  ={{fixtick|{{SUBPAGENAME}}}} Acquired from Duty
 
| uses      =Template:ARR Infobox Duty
 
| uses      =Template:ARR Infobox Duty
Line 1,013: Line 1,019:
 
| table      =class="datatable-GEtable sortable" style="width: 95%;",-,Item, Skill
 
| table      =class="datatable-GEtable sortable" style="width: 95%;",-,Item, Skill
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=recipeinfo{{SUBPAGENAME}}-5
+
| dplcache=recipeinfo{{SUBPAGENAME}}-5a
 
| tablerow  =%%,%%,%%
 
| tablerow  =%%,%%,%%
 
| suppresserrors=true
 
| suppresserrors=true
Line 1,047: Line 1,053:
 
| dplcache=supplyprovisioningmission{{SUBPAGENAME}}-4
 
| dplcache=supplyprovisioningmission{{SUBPAGENAME}}-4
 
| suppresserrors=true
 
| suppresserrors=true
}}}}{{#ifexpr:{{PAGESINCAT:Free Company Action Granted by {{fixtick|{{SUBPAGENAME}}}}}} >= 1 |{{CList2|Title=<span id="Free Company Action">Allows one time use of the following Free Company Action:</span>|dpl={{#dpl:|  category=Free Company Action Granted by {{fixtick|{{SUBPAGENAME}}}}|  distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,[[%PAGE%]],,|  suppresserrors=true}}}}}}{{#ifeq:{{{Subheading|}}}|Orchestrion Roll|{{#ifexist: {{fixtick|{{SUBPAGENAME}}}}/Orchestrion|{{:{{fixtick|{{SUBPAGENAME}}}}/Orchestrion}}|[[Category:Missing Orchestrion Information]]}}}}{{CList2|Title=<span id="Desynth">Desynth</span>|dpl={{#ifexist:{{SUBPAGENAME}}/Desynth|{{{Desynth Recipe|{{/Desynth}}}}}|{{{Desynth Recipe|}}}}}}}{{CList2|Title=<span id="Reduction">Reduction</span>|dpl={{#ifexist:{{SUBPAGENAME}}/Reduction|{{{Reduction Recipe|{{/Reduction}}}}}|{{{Reduction Recipe|}}}}}}}{{#arraydefine:gou|{{{Grants on Use|}}}}}{{#arraysort:gou|asc}}{{#vardefine:gouprint|{{#arrayprint:gou|<br/>|@@@@|&nbsp;{{dot}}&nbsp;[[@@@@]][[Category:@@@@ Granted on Use]]}}}}{{CList2|Title=<span id="Granted">Grants {{#ifexpr: {{#arraysize:gou}} > 1|(one of)|}} the following on use or NPC appraisal</span>|dpl={{#var:gouprint}}}}{{#arraydefine:coffer|{{{Coffer|}}}}}{{#arraysort:coffer|asc}}{{#vardefine:cofferprint|{{#arrayprint:coffer|<br/>|@@@@|&nbsp;{{dot}}&nbsp;[[@@@@]][[Category:@@@@ Rewarded from Coffer]]}}}}{{CList2|Title=<span id="Coffer">Rewards you the following items on use</span>|dpl={{#var:cofferprint}}}}{{#ifexist: {{fixtick|{{SUBPAGENAME}}}}/Miscellaneous Use|{{CList2|Title=Miscellaneous Use|dpl={{:{{fixtick|{{SUBPAGENAME}}}}/Miscellaneous Use}}[[Category:Miscellaneous Use]]}}}}{{#ifexist: {{fixtick|{{SUBPAGENAME}}}}/Dye|{{:{{fixtick|{{SUBPAGENAME}}}}/Dye}}}}{{#ifexpr:{{PAGESINCAT:Summoned by {{fixtick|{{SUBPAGENAME}}}}}} >= 1 | {{CList2 |Title=Used to Summon|dpl={{#dpl:
+
}}}}{{#ifexpr:{{PAGESINCAT:Free Company Action Granted by {{fixtick|{{SUBPAGENAME}}}}}} >= 1 |{{CList2|Title=<span id="Free Company Action">Allows one time use of the following Free Company Action:</span>|dpl={{#dpl:|  category=Free Company Action Granted by {{fixtick|{{SUBPAGENAME}}}}|  distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,[[%PAGE%]],,|  suppresserrors=true}}}}}}{{#ifeq:{{{Subheading|}}}|Orchestrion Roll|{{#ifexist: {{fixtick|{{SUBPAGENAME}}}}/Orchestrion|{{:{{fixtick|{{SUBPAGENAME}}}}/Orchestrion}}|[[Category:Missing Orchestrion Information]]}}}}{{CList2|Title=<span id="Desynth">Desynth</span>|dpl={{#ifexist:{{SUBPAGENAME}}/Desynth|{{{Desynth Recipe|{{/Desynth}}}}}|{{{Desynth Recipe|}}}}}}}{{CList2|Title=<span id="Reduction">Reduction</span>|dpl={{#ifexist:{{SUBPAGENAME}}/Reduction|{{{Reduction Recipe|{{/Reduction}}}}}|{{{Reduction Recipe|}}}}}}}{{#arraydefine:gou|{{{Grants on Use|}}}}}{{#arraysort:gou|asc}}{{#vardefine:gouprint|{{#arrayprint:gou|<br/>|@@@@|&nbsp;{{dot}}&nbsp;[[@@@@]][[Category:@@@@ Granted on Use]]}}}}{{CList2|Title=<span id="Granted">Grants {{#ifexpr: {{#arraysize:gou}} > 1|(one of)|}} the following on use or NPC appraisal</span>|dpl={{#var:gouprint}}}}{{#arraydefine:coffer|{{{Coffer|}}}}}{{#arraysort:coffer|asc}}{{#vardefine:cofferprint|{{#arrayprint:coffer|<br/>|@@@@|&nbsp;{{dot}}&nbsp;[[@@@@]][[Category:@@@@ Rewarded from Coffer]]}}}}{{CList2|Title=<span id="Coffer">Rewards you the following items on use</span>|dpl={{#var:cofferprint}}}}{{#ifexpr: {{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Fashion Accessory}} >0 | [[Category:Fashion Accessories]]&nbsp;•&nbsp;[[:Category:Fashion Accessories|Fashion Accessory]]}}{{#ifexist: {{fixtick|{{SUBPAGENAME}}}}/Miscellaneous Use|{{CList2|Title=Miscellaneous Use|dpl={{:{{fixtick|{{SUBPAGENAME}}}}/Miscellaneous Use}}[[Category:Miscellaneous Use]]}}}}{{#ifexist: {{fixtick|{{SUBPAGENAME}}}}/Dye|{{:{{fixtick|{{SUBPAGENAME}}}}/Dye}}}}{{#ifexpr:{{PAGESINCAT:Summoned by {{fixtick|{{SUBPAGENAME}}}}}} >= 1 | {{CList2 |Title=Used to Summon|dpl={{#dpl:
 
|  category = Summoned by {{fixtick|{{SUBPAGENAME}}}}
 
|  category = Summoned by {{fixtick|{{SUBPAGENAME}}}}
 
|  format  = ,\n* [[%PAGE%|%TITLE%]],,
 
|  format  = ,\n* [[%PAGE%|%TITLE%]],,
Line 1,066: Line 1,072:
 
<div id="itemlevelfade" style="color: #ffffff; font-size:120%; padding-left:10px; letter-spacing:2.5px; font-family: arial; padding:0px 0px 0px 20px;">{{#ifeq:{{{Subheading|}}}|Triple Triad Card|Triple Triad Information}}</div>{{spc}}
 
<div id="itemlevelfade" style="color: #ffffff; font-size:120%; padding-left:10px; letter-spacing:2.5px; font-family: arial; padding:0px 0px 0px 20px;">{{#ifeq:{{{Subheading|}}}|Triple Triad Card|Triple Triad Information}}</div>{{spc}}
 
{{:{{#dpl:|  category=Granted by {{fixtick|{{SUBPAGENAME}}}}|  distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,%PAGE%,,|  suppresserrors=true}}}}
 
{{:{{#dpl:|  category=Granted by {{fixtick|{{SUBPAGENAME}}}}|  distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,%PAGE%,,|  suppresserrors=true}}}}
}}}}{{#ifexpr:{{PAGESINCAT:Summoned by {{fixtick|{{SUBPAGENAME}}}}}} >= 1 |{{#ifexpr:{{PAGESINCAT:Summoned by {{fixtick|{{SUBPAGENAME}}}}}} <= 2 | <br>
+
}}}}{{#ifexist: {{PAGENAME}} (Lost Action)| <br>[[Category:Taught by {{fixtick|{{SUBPAGENAME}}}}]]
 +
<div id="itemlevelfade" style="color: #ffffff; font-size:120%; padding-left:10px; letter-spacing:2.5px; font-family: arial; padding:0px 0px 0px 20px;">Lost Action Information</div>{{spc}}
 +
{{:{{PAGENAME}} (Lost Action)}}
 +
}}{{#ifexpr:{{PAGESINCAT:Summoned by {{fixtick|{{SUBPAGENAME}}}}}} >= 1 |{{#ifexpr:{{PAGESINCAT:Summoned by {{fixtick|{{SUBPAGENAME}}}}}} <= 2 | <br>
 
<div id="itemlevelfade" style="color: #ffffff; font-size:120%; padding-left:10px; letter-spacing:2.5px; font-family: arial; padding:0px 0px 0px 20px;">{{#ifeq:{{{Subheading|}}}|Minion|Lord of Verminion Information|Mount Information}}</div>{{spc}}
 
<div id="itemlevelfade" style="color: #ffffff; font-size:120%; padding-left:10px; letter-spacing:2.5px; font-family: arial; padding:0px 0px 0px 20px;">{{#ifeq:{{{Subheading|}}}|Minion|Lord of Verminion Information|Mount Information}}</div>{{spc}}
 
{{:{{#dpl:|  category=Summoned by {{fixtick|{{SUBPAGENAME}}}}|  distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,%PAGE%,,|  suppresserrors=true}}}}
 
{{:{{#dpl:|  category=Summoned by {{fixtick|{{SUBPAGENAME}}}}|  distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,%PAGE%,,|  suppresserrors=true}}}}

Revision as of 22:41, 16 November 2020

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