Difference between revisions of "Template:ARR Infobox Emote"
(automating acquisition except for when provided by item use) |
|||
(21 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
| Command = | | Command = | ||
| Notes = | | Notes = | ||
− | }}</pre></noinclude><includeonly>{{#vardefine:shadow|text-shadow:0px 0px 10px #000000}}{{XIVboxHeader|Patch={{{Patch|}}}|Title={{{Name|Emote Name}}}|Icon={{{Name|}}}_Emote_Icon.png|Iconsize={{{Iconsize| | + | }}</pre></noinclude><includeonly>{{#vardefine:shadow|text-shadow:0px 0px 10px #000000}}{{XIVboxHeader|Patch={{{Patch|}}}|Title={{{Name|Emote Name}}}|Icon={{{Name|}}}_Emote_Icon.png|Iconsize={{{Iconsize|64px}}}|Type=[[:Category:Emote|Emote]]|Icons= {{{Icons|}}}{{#arraydefine:uses|{{{Uses|}}}}}{{#arrayprint:uses||@@@@|{{Emoteuseswitch|uses=@@@@}}}}|Subtitle={{{Type|}}}}} |
|- | |- | ||
{{#if:{{{Description|}}}| | {{#if:{{{Description|}}}| | ||
Line 18: | Line 18: | ||
{{#if:{{{Item|}}}| | {{#if:{{{Item|}}}| | ||
{{!}}height="12px" width="15%" valign="top" colspan="1"{{!}}Taught by: | {{!}}height="12px" width="15%" valign="top" colspan="1"{{!}}Taught by: | ||
− | {{!}}height="12px" width="85%" valign="top" colspan="1"{{!}}[[{{{Item}}}]] | + | {{!}}height="12px" width="85%" valign="top" colspan="1"{{!}}[[{{{Item}}}]][[Category:{{{Name}}} Sold by Merchant]][[Category:Taught by {{{Item|}}}]] |
{{!}}- | {{!}}- | ||
}} | }} | ||
|- | |- | ||
{{XIVboxFooter}}{{Refreshlink}} | {{XIVboxFooter}}{{Refreshlink}} | ||
− | {{CList2|Title=<span id=" | + | {{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Acquired from Treasure Map Chest}} >= 1 | {{CList2|Title=<span id="Acquired from Treasure Map Chest">Acquired from Treasure Map Chest</span>|dpl={{#dpl: |
− | | dplcache=mapchest{{fixtick|{{SUBPAGENAME}}}} | + | | dplcache=mapchest{{fixtick|{{SUBPAGENAME}}}}-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} Acquired from Treasure Map Chest | | category= {{fixtick|{{SUBPAGENAME}}}} Acquired from Treasure Map Chest | ||
Line 30: | Line 30: | ||
| namespace = | | namespace = | ||
| format =,,\n | | format =,,\n | ||
− | | table =class="datatable-GEtable sortable" style="width: | + | | table =class="datatable-GEtable sortable" style="width: 100%;",Treasure Map,Deciphered From |
| tablerow =[[%%]] | | tablerow =[[%%]] | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}}{{ | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Used in FATE}} >= 1 | {{CList2|Title=<span id="Used in FATE">Used in FATE</span>|dpl={{#dpl: |
− | | dplcache=fateused-{{fixtick|{{SUBPAGENAME}}}} | + | | dplcache=fateused-{{fixtick|{{SUBPAGENAME}}}}-2 |
| category= {{fixtick|{{SUBPAGENAME}}}} Used in FATE | | category= {{fixtick|{{SUBPAGENAME}}}} Used in FATE | ||
| includepage = {ARR Infobox FATE}:Level | | includepage = {ARR Infobox FATE}:Level | ||
| namespace = | | namespace = | ||
| format =,,\n | | format =,,\n | ||
− | | table =class="GEtable sortable" style="width: | + | | table =class="GEtable sortable" style="width: 100%;",FATE,Level |
| tablerow =%%,%% | | tablerow =%%,%% | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}}{{CList2|Title=<span id="FATE">FATE</span> | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Rewarded from FATE}} >= 1 | {{CList2|Title=<span id="Rewarded from FATE">Rewarded from FATE</span>|dpl={{#dpl: |
− | | dplcache=fateinfo{{SUBPAGENAME}} | + | | dplcache=fateinfo{{SUBPAGENAME}}-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| category={{fixtick|{{SUBPAGENAME}}}} Rewarded from FATE | | category={{fixtick|{{SUBPAGENAME}}}} Rewarded from FATE | ||
Line 49: | Line 49: | ||
| namespace = | | namespace = | ||
| format =,,\n | | format =,,\n | ||
− | | table =class="datatable-GEtable sortable" style="width: | + | | table =class="datatable-GEtable sortable" style="width: 100%;",-,FATE,Location,Level |
| tablerow = [[%%]], %% | | tablerow = [[%%]], %% | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}}{{CList2|Title=<span id="Rewarded from TT Duel">Rewarded from | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Rewarded from TT Duel}} >= 1 | {{CList2|Title=<span id="Rewarded from TT Duel">Rewarded from TT Duel</span>|dpl={{#dpl: |
− | | dplcache=duel{{fixtick|{{SUBPAGENAME}}}} | + | | dplcache=duel{{fixtick|{{SUBPAGENAME}}}}-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from TT Duel | | category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from TT Duel | ||
Line 59: | Line 59: | ||
| namespace = | | namespace = | ||
| format =,,\n | | format =,,\n | ||
− | | table =class="datatable-GEtable sortable" style="width: | + | | table =class="datatable-GEtable sortable" style="width: 100%;",-,Name,Deck Strength |
| tablerow =[[%%]],%% | | tablerow =[[%%]],%% | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}} | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Rewarded from Quest}} >= 1 | {{CList2|Title=<span id="Rewarded from Quest">Rewarded from Quest</span>|dpl={{#dpl: |
+ | | dplcache=quest-{{fixtick|{{SUBPAGENAME}}}}-2 | ||
+ | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from Quest | | category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from Quest | ||
| includepage = {ARR Infobox Quest}:Level | | includepage = {ARR Infobox Quest}:Level | ||
− | | table =class="datatable-GEtable sortable" style="width: | + | | namespace = |
− | | tablerow = | + | | format =,,\n |
+ | | table =class="datatable-GEtable sortable" style="width: 100%;",Quest,Level | ||
+ | | tablerow =%% | ||
| suppresserrors=true | | suppresserrors=true | ||
− | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Rewarded from Levequest}} >= 1 | {{CList2|Title=<span id="Rewarded from Levequest">Rewarded from Levequest</span>|dpl={{#dpl: | |
− | + | | dplcache=levequests-{{fixtick|{{SUBPAGENAME}}}}-2 | |
− | |||
− | }} | ||
− | | dplcache=levequests-{{fixtick|{{SUBPAGENAME}}}} | ||
| allowcachedresults=true | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from Levequest | | category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from Levequest | ||
Line 78: | Line 79: | ||
| namespace = | | namespace = | ||
| format =,,\n | | format =,,\n | ||
− | | table =class="datatable-GEtable sortable" style="width: | + | | table =class="datatable-GEtable sortable" style="width: 100%;",Levequest,Level |
| tablerow =%%,%% | | tablerow =%%,%% | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}}}}{{CList2|Title=<span id="Acquired from Chest">Acquired from Chest</span> | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Acquired from Chest}} >= 1 | {{CList2|Title=<span id="Acquired from Chest">Acquired from Chest</span>|dpl={{#dpl: |
− | | dplcache=chests-{{fixtick|{{SUBPAGENAME}}}} | + | | dplcache=chests-{{fixtick|{{SUBPAGENAME}}}}-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} Acquired from Chest | | category= {{fixtick|{{SUBPAGENAME}}}} Acquired from Chest | ||
Line 92: | Line 93: | ||
| suppresserrors=true | | suppresserrors=true | ||
| allowcachedresults=true | | allowcachedresults=true | ||
− | }}}}{{CList2|Title=<span id="Acquired from Duty">Acquired from Duty</span> | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Acquired from Duty}} >= 1 | {{CList2|Title=<span id="Acquired from Duty">Acquired from Duty</span>|dpl={{#dpl: |
− | | dplcache=duty-{{fixtick|{{SUBPAGENAME}}}} | + | | dplcache=duty-{{fixtick|{{SUBPAGENAME}}}}-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} Acquired from Duty | | category= {{fixtick|{{SUBPAGENAME}}}} Acquired from Duty | ||
Line 100: | Line 101: | ||
| format =,,\n | | format =,,\n | ||
| namespace = | | namespace = | ||
− | | table =class="datatable-GEtable sortable" style="width: | + | | table =class="datatable-GEtable sortable" style="width: 100%;",-,Duty |
| tablerow =%% | | tablerow =%% | ||
| distinct=strict | | distinct=strict | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}}{{CList2|Title=<span id=" | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Rewarded from Event}} >= 1 | {{CList2|Title=<span id="Rewarded from Event">Rewarded from Event</span>|dpl={{#dpl: |
− | | dplcache=event-{{fixtick|{{SUBPAGENAME}}}} | + | | dplcache=event-{{fixtick|{{SUBPAGENAME}}}}-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from Event | | category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from Event | ||
− | | includepage = {Infobox Event}: | + | | includepage = {ARR Infobox Event}: |
| namespace = | | namespace = | ||
− | | format =,,[[%PAGE%]] | + | | format =,,[[%PAGE%]], |
− | | table =class="datatable-GEtable sortable" style="width: | + | | table =class="datatable-GEtable sortable" style="width: 100%;",-,Event |
| tablerow =%% | | tablerow =%% | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}}{{CList2|Title=<span id="Rewarded from Achievement">Rewarded from Achievement</span>|dpl={{#dpl: | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} Rewarded from Achievement}} >= 1 | {{CList2|Title=<span id="Rewarded from Achievement">Rewarded from Achievement</span>|dpl={{#dpl: |
− | | dplcache=achievements-{{fixtick|{{SUBPAGENAME}}}} | + | | dplcache=achievements-{{fixtick|{{SUBPAGENAME}}}}-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from Achievement | | category= {{fixtick|{{SUBPAGENAME}}}} Rewarded from Achievement | ||
Line 121: | Line 122: | ||
| namespace = | | namespace = | ||
| format =,,\n | | format =,,\n | ||
− | | table =class="datatable-GEtable sortable" style="width: | + | | table =class="datatable-GEtable sortable" style="width: 100%;",Achievement,Category |
| tablerow =%%,%% | | tablerow =%%,%% | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}}{{CList2|Title=<span id=" | + | }}}}}}{{#ifexpr:{{PAGESINCAT:{{fixtick|{{SUBPAGENAME}}}} acquired from Voyage}} >= 1 | {{CList2|Title=<span id="acquired from Voyage">acquired from Voyage</span>|dpl={{#dpl: |
− | | dplcache=airshipvoyage-{{fixtick|{{SUBPAGENAME}}}} | + | | dplcache=airshipvoyage-{{fixtick|{{SUBPAGENAME}}}}-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| category= {{fixtick|{{SUBPAGENAME}}}} acquired from Voyage | | category= {{fixtick|{{SUBPAGENAME}}}} acquired from Voyage | ||
Line 131: | Line 132: | ||
| namespace = | | namespace = | ||
| format =,,\n | | format =,,\n | ||
− | | table =class="datatable-GEtable sortable" style="width: | + | | table =class="datatable-GEtable sortable" style="width: 100%;",-,Destination,Quantity |
| includematch = /Item\s*=[^\n\r\{{!}}]*{{fixtick|{{fixtick|{{SUBPAGENAME}}}}}}/ | | includematch = /Item\s*=[^\n\r\{{!}}]*{{fixtick|{{fixtick|{{SUBPAGENAME}}}}}}/ | ||
| tablerow =[[%%]],%% | | tablerow =[[%%]],%% | ||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}}{{#arraydefine:ma|{{{Miscellaneous Acquisition|}}}}}{{#arraysort:ma|asc}}{{#vardefine:maprint|{{#arrayprint:ma|<br/>|@@@@| {{dot}} @@@@}}}}{{CList2|Title=Miscellaneous Acquisition|dpl={{#var:maprint}}}} | + | }}}}}} |
− | {{#if:{{{ | + | {{#arraydefine:ma|{{{Miscellaneous Acquisition|}}}}}{{#arraysort:ma|asc}}{{#vardefine:maprint|{{#arrayprint:ma|<br/>|@@@@| {{dot}} @@@@}}}}{{CList2|Title=Miscellaneous Acquisition|dpl= |
− | | dplcache= | + | {{#var:maprint}}}}{{#if:{{{Veteran Reward|}}}| |
+ | <div style="font-size:11px;margin-top: 10px;">'''Obtained as a Veteran Reward:'''</div>[[Veteran Reward|{{{Veteran Reward|}}} days]][[Category:{{SUBPAGENAME}} acquired via Miscellaneous Acquisition]][[Category:{{SUBPAGENAME}} acquired via Veteran Reward]]}} | ||
+ | {{#if:{{{Item|}}}| | ||
+ | {{CList2|Title=<span id="Available for Purchase via Mog Station">Available for Purchase via Mog Station</span>|dpl={{#dpl: | ||
+ | | category={{{Item|}}} Sold via Mog Station | ||
+ | | uses = Template:Mogstationsold | ||
+ | | includepage={Mogstationsold}:Mog Station Price | ||
+ | | includematch=/\{{!}}\s*Name\s*=\s*{{{Item|}}}\b\s*\{{!}}/ | ||
+ | | format =,,\n | ||
+ | | table =class="datatable-GEtable sortable" style="width: 100%;",-,Mog Station Price | ||
+ | | tablerow =[[:Category:Mog Station Sold Item|Mog Station]] ($%% / €{{priceswitcheur{{!}}%%}} / £{{priceswitchgbp{{!}}%%}} / ¥{{priceswitchyen{{!}}%%}}) | ||
+ | | dplcache=mogstationsolddirect{{SUBPAGENAME}}-2 | ||
| allowcachedresults=true | | allowcachedresults=true | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| suppresserrors=true | | suppresserrors=true | ||
− | }}}} | + | }}}}}} |
− | === Gallery [[File:Image add.png|16px|link=http://ffxiv.gamerescape.com/w/index.php?title=Special:Upload&wpDestFile={{#replace:{{anchorencode:{{ | + | <br clear="all"/> |
+ | === Gallery [[File:Image add.png|16px|link=http://ffxiv.gamerescape.com/w/index.php?title=Special:Upload&wpDestFile={{#replace:{{anchorencode:{{{Name}}}}}|.27|'}}--{{CURRENTTIMESTAMP}}.png|Add Image]] === | ||
{{#tag:gallery| | {{#tag:gallery| | ||
{{#arraydefine:Images|{{{Gallery}}}}}{{#arraysort:Images|asc}}{{#arrayslice:Image1|Images|0|1}}{{#arrayslice:Image2|Images|1|1}}{{#arrayslice:Image3|Images|2|1}}{{#arrayslice:Image4|Images|3|1}}{{#arrayslice:Image5|Images|4|1}}{{#arrayslice:Image6|Images|5|1}}{{#arrayslice:Image7|Images|6|1}}{{#arrayslice:Image8|Images|7|1}}{{#arrayslice:Image9|Images|8|1}}{{#arrayslice:Image10|Images|9|1}} | {{#arraydefine:Images|{{{Gallery}}}}}{{#arraysort:Images|asc}}{{#arrayslice:Image1|Images|0|1}}{{#arrayslice:Image2|Images|1|1}}{{#arrayslice:Image3|Images|2|1}}{{#arrayslice:Image4|Images|3|1}}{{#arrayslice:Image5|Images|4|1}}{{#arrayslice:Image6|Images|5|1}}{{#arrayslice:Image7|Images|6|1}}{{#arrayslice:Image8|Images|7|1}}{{#arrayslice:Image9|Images|8|1}}{{#arrayslice:Image10|Images|9|1}} | ||
Line 162: | Line 168: | ||
{{#arrayprint:Image10||@@@@|File:@@@@}} | {{#arrayprint:Image10||@@@@|File:@@@@}} | ||
{{#dpl: | {{#dpl: | ||
− | | dplcache= | + | | dplcache=gallery-2 |
| allowcachedresults=true | | allowcachedresults=true | ||
| escapelinks= false | | escapelinks= false | ||
Line 168: | Line 174: | ||
| titlematch={{Fixtick|{{PAGENAME}}}}--% | | titlematch={{Fixtick|{{PAGENAME}}}}--% | ||
| mode=userformat | | mode=userformat | ||
− | | listseparators=,%PAGE% | + | | listseparators=,%PAGE%\n,, |
}} | }} | ||
|widths="110px" | |widths="110px" |
Revision as of 14:13, 10 June 2021
{{ARR Infobox Emote | Patch = 3.2 | Name = {{subst:PAGENAME}} | Type = | Description = | Command = | Notes = }}