Difference between revisions of "Template:ARR Infobox Item2"

(13 intermediate revisions by the same user not shown)
Line 331: Line 331:
 
| suppresserrors=true
 
| suppresserrors=true
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=merchanttrade-{{fixtick|{{SUBPAGENAME}}}}-56abcxyzabc
+
| dplcache=merchanttrade-{{fixtick|{{SUBPAGENAME}}}}-56abczxyabc123123
 
}}}}}}{{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 451: Line 451:
 
| tablerow    =%%
 
| tablerow    =%%
 
| allowcachedresults=true
 
| allowcachedresults=true
| dplcache=gatheredviafishing{{SUBPAGENAME}}-56
+
| dplcache=gatheredviafishing{{SUBPAGENAME}}-56b
 
| suppresserrors=true
 
| suppresserrors=true
 
}}{{#dpl:
 
}}{{#dpl:
Line 889: Line 889:
 
| notcategory    =NPC
 
| notcategory    =NPC
 
| uses        =Template:Sells3
 
| uses        =Template:Sells3
| includepage ={Sells3} exchange row
+
| includepage ={Shop} exchange row,{Sells3} exchange row
| includematch=/\{{!}}Cost\d+\s*=\s*\b{{fixparen|{{fixplus2|{{fixtick|{{SUBPAGENAME}}}}}}}}\s*\{{!}}/is
+
| includematch=/\{{!}}Cost\d+\s*=\s*\b{{fixcomma|{{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}}-56abcxyz
+
| dplcache=tradedto--{{SUBPAGENAME}}-56abcxyzabd
 
| allowcachedresults=true
 
| allowcachedresults=true
 
| suppresserrors=true
 
| suppresserrors=true
Line 1,098: Line 1,098:
 
{{#ifexpr:{{PAGESINCAT:Taught by Field Record {{fixtick|{{SUBPAGENAME}}}}}} >= 1 | <br>
 
{{#ifexpr:{{PAGESINCAT:Taught by Field Record {{fixtick|{{SUBPAGENAME}}}}}} >= 1 | <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;">Field Record</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;">Field Record</div>{{spc}}
{{:{{#dpl:|  category=Taught by Field Record {{fixtick|{{SUBPAGENAME}}}}| count=1|uses=Template:Field Record|distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,%PAGE%,,|  suppresserrors=true}}{{#dpl:|  category={{fixtick|{{SUBPAGENAME}}}} Acquired from Duty| count=1|uses=Template:Field Record|distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,%PAGE%,,|  suppresserrors=true}}{{#dpl:| category={{fixtick|{{SUBPAGENAME}}}} Rewarded from Quest| count=1|uses=Template:Field Record|distinct = strict|  mode=inline|  inlinetext= &nbsp;|  format  = ,%PAGE%,,|  suppresserrors=true}}}}
+
{{:{{#dpl:|  category=Taught by Field Record {{fixtick|{{SUBPAGENAME}}}}| uses=Template:Field Record|distinct = strict|  namespace  =|  mode=inline|  inlinetext= &nbsp;|  format  = ,%PAGE%,,|  suppresserrors=true}}}}}}{{#arraydefine:hairicons|{{{Hairicons}}}}}
}}
+
{{#ifexpr:{{PAGESINCAT:Taught by {{fixtick|{{SUBPAGENAME}}}}}} = 2||{{#ifeq: {{#sub:{{{Grantsnewitem}}}|-7}} | (Mount) || {{CList10|Title=<span id="Gallery">{{#if:{{{Gallery|}}}{{{Hairicons|}}}|<div style="font-size:11px;">'''Gallery'''</div>|
{{#ifexpr:{{PAGESINCAT:Taught by {{fixtick|{{SUBPAGENAME}}}}}} = 2||{{#ifeq: {{#sub:{{{Grantsnewitem}}}|-7}} | (Mount) || {{CList10|Title=<span id="Gallery">{{#if:{{{Gallery|}}}|<div style="font-size:11px;">'''Gallery'''</div>|
 
 
{{#dpl:
 
{{#dpl:
 
|  namespace  =File
 
|  namespace  =File
Line 1,122: Line 1,121:
 
|  notmodifiedby=Icarus
 
|  notmodifiedby=Icarus
 
}}
 
}}
|widths="110px"|showfilename=
+
{{#dpl:
 +
|  escapelinks=false
 +
|  namespace  =File
 +
|  titlematch ={{#arrayprint:hairicons|{{!}}|@@@@|@@@@.png}}
 +
|  mode      =userformat
 +
|  listseparators=,%PAGE%\n,,
 +
|  dplcache=gallery-hair-56ab
 +
|  allowcachedresults=true
 +
}}
 +
|widths="110px"
 
}}}}}}}}
 
}}}}}}}}
 
{{#ifexist: {{SUBPAGENAME}}/Etymology|{{CList2|Title=<span id="Etymology">Etymology&nbsp;[[File:Editbutton-dark.png|12px|Edit {{BASEPAGENAME}}'s Etymology|link={{fullurl:{{#ifexist:{{BASEPAGENAME}}/Etymology|{{BASEPAGENAME}}/Etymology|{{BASEPAGENAME}}}}|action=edit}}]]</span>|CountCat=| dpl={{:{{SUBPAGENAME}}/Etymology}}}}}}
 
{{#ifexist: {{SUBPAGENAME}}/Etymology|{{CList2|Title=<span id="Etymology">Etymology&nbsp;[[File:Editbutton-dark.png|12px|Edit {{BASEPAGENAME}}'s Etymology|link={{fullurl:{{#ifexist:{{BASEPAGENAME}}/Etymology|{{BASEPAGENAME}}/Etymology|{{BASEPAGENAME}}}}|action=edit}}]]</span>|CountCat=| dpl={{:{{SUBPAGENAME}}/Etymology}}}}}}
Line 1,131: Line 1,139:
 
|Requires={{#arrayprint:requires|,|@@@@|{{Jobswitch|@@@@}}}}
 
|Requires={{#arrayprint:requires|,|@@@@|{{Jobswitch|@@@@}}}}
 
|Subheading={{Fixdash|{{{Subheading}}}}}|DB Level={{{DB Level|}}}|RecommendedLevel={{{RecommendedLevel|}}}}}
 
|Subheading={{Fixdash|{{{Subheading}}}}}|DB Level={{{DB Level|}}}|RecommendedLevel={{{RecommendedLevel|}}}}}
{{#ifeq:{{#arraysize:requires}}|1|{{#arrayprint:requires|,|@@@@|[[Category:{{Jobswitch|@@@@}} Exclusive]]}}}}[[Category:Item]]{{#arraydefine:baittype|{{{Bait Type|}}}}}{{#arrayprint:baittype||@@@@|[[Category:Bait Type:@@@@]]}}{{#if:{{{Requires|}}}|{{ILvlswitch||Item Level={{#expr:{{#replace:{{{Item Level}}}|{{star}}|+0}}}}|Subheading={{Fixdash|{{{Subheading}}}}}|Requires={{{Requires}}}}}}}{{#if:{{{Requires|}}}|{{Levelcategoryswitch|Required Level={{{Required Level}}}|Item Level={{#expr:{{#replace:{{{Item Level}}}|{{star}}|+0}}}}|Subheading={{Fixdash|{{{Subheading}}}}}}}}}{{#if:{{{RecommendedLevel|}}}|{{Gathering Levels|GatheringType={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} gathered via Logging}}}} >0 |Logging|{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} gathered via Harvesting}}}} >0 |Harvesting|{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} gathered via Mining}}}} >0 |Mining|{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} gathered via Quarrying}}}} >0 |Quarrying}}}}}}}}|RecommendedLevel={{{RecommendedLevel|}}}}}}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} acquired from Voyage}}}} >0 |[[Category:Acquired from Voyage]]|}}{{#ifeq:{{{Subheading|}}}|Dye|{{Dyeswitch|Name={{{Name}}}}}}}{{Relicswitch|Description={{{Description}}}|Subheading={{{Subheading}}}}}{{Gatheringbooksort}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Sold via Mog Station}} >= 1 |[[Category:Mog Station Sold Item]]}}{{Patchswitch|Patch={{/Patch}}}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} used in Logos Manipulation}}}} >0 |[[Category:Mneme]]}}{{#ifeq:{{#sub:{{PAGENAME}}|0|17}}|Modern Aesthetics|[[Category:Hairstyle]]}}{{#ifeq:{{#sub:{{PAGENAME}}|0|18}}|Ballroom Etiquette|[[Category:Ballroom Etiquette]]}}{{#ifeq:{{{Subheading|}}}|Tabletop|{{#if:{{{Charges|}}}|[[Category:Meal]][[Category:Community Meal]][[Category:Consumable]]|}}}}{{#if:{{{DontBot|}}}|[[Category:Pywikibotskipped]]}}<references></references></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
{{#ifeq:{{#arraysize:requires}}|1|{{#arrayprint:requires|,|@@@@|[[Category:{{Jobswitch|@@@@}} Exclusive]]}}}}[[Category:Item]]{{#arraydefine:baittype|{{{Bait Type|}}}}}{{#arrayprint:baittype||@@@@|[[Category:Bait Type:@@@@]]}}{{#if:{{{Requires|}}}|{{ILvlswitch||Item Level={{#expr:{{#replace:{{{Item Level}}}|{{star}}|+0}}}}|Subheading={{Fixdash|{{{Subheading}}}}}|Requires={{{Requires}}}}}}}{{#if:{{{Requires|}}}|{{Levelcategoryswitch|Required Level={{{Required Level}}}|Item Level={{#expr:{{#replace:{{{Item Level}}}|{{star}}|+0}}}}|Subheading={{Fixdash|{{{Subheading}}}}}}}}}{{#if:{{{RecommendedLevel|}}}|{{Gathering Levels|GatheringType={{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} gathered via Logging}}}} >0 |Logging|{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} gathered via Harvesting}}}} >0 |Harvesting|{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} gathered via Mining}}}} >0 |Mining|{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} gathered via Quarrying}}}} >0 |Quarrying}}}}}}}}|RecommendedLevel={{{RecommendedLevel|}}}}}}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} acquired from Voyage}}}} >0 |[[Category:Acquired from Voyage]]|}}{{#ifeq:{{{Subheading|}}}|Dye|{{Dyeswitch|Name={{{Name}}}}}}}{{Relicswitch|Description={{{Description}}}|Subheading={{{Subheading}}}}}{{Gatheringbooksort}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Sold via Mog Station}} >= 1 |[[Category:Mog Station Sold Item]]}}{{Patchswitch|Patch={{/Patch}}}}{{#ifexpr: {{PAGESINCAT:{{Fixtick|{{SUBPAGENAME}} used in Logos Manipulation}}}} >0 |[[Category:Mneme]]}}{{#ifeq:{{#sub:{{PAGENAME}}|0|17}}|Modern Aesthetics|[[Category:Hairstyle]]}}{{#ifeq:{{#sub:{{PAGENAME}}|0|18}}|Ballroom Etiquette|[[Category:Ballroom Etiquette]]}}{{#ifeq:{{{Subheading|}}}|Tabletop|{{#if:{{{Charges|}}}|[[Category:Meal]][[Category:Community Meal]][[Category:Consumable]]|}}}}{{#if:{{{DontBot|}}}|[[Category:Pywikibotskipped]]}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} caught via Snagging }} >= 1 |[[Category:Requires Snagging]]}}
 +
{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} affected by Fish Eyes }} >= 1 |[[Category:Affected by Fish Eyes]]}}<references></references></includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
__NOEDITSECTION__ __NOTOC__
 
__NOEDITSECTION__ __NOTOC__

Revision as of 13:25, 19 June 2021

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