Difference between revisions of "Template:Vendor item table result format"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Undo revision 407166 by JohnnySolas (talk))
Tag: Undo
Line 2: Line 2:
|-  
|-  
| data-sort-value="" | {{#arraymap:{{{2|}}}^{{{3|}}}^{{{4|}}}^{{{5|}}}|^|@@@|{{#vardefine:item_data|{{Normalize record|@@@}}}}{{#vardefine:item_page|{{#explode:{{#var:item_data}}|,|0}}}}<!--
| data-sort-value="" | {{#arraymap:{{{2|}}}^{{{3|}}}^{{{4|}}}^{{{5|}}}|^|@@@|{{#vardefine:item_data|{{Normalize record|@@@}}}}{{#vardefine:item_page|{{#explode:{{#var:item_data}}|,|0}}}}<!--
--><!-- Icon -->{{STFI|{{{13|}}}<!--
--><!-- Icon -->{{STFI|icon={{#if:{{#vardefineecho:item_icon|{{#explode:{{#show:{{#var:item_page}}|?Has game icon|link=none}}|:|1}}}}|{{#var:item_icon}}|{{#var:item_page}}.png}}|link={{#var:item_page}}|size=small}}<!--
--><!-- HQ -->{{#ifeq:{{#explode:{{#var:item_data}}|,|3}}|true|&nbsp;{{HQ|12|dark=y}}}}<!--
--><!-- HQ -->{{#ifeq:{{#explode:{{#var:item_data}}|,|3}}|true|&nbsp;{{HQ|12|dark=y}}}}<!--
--><!-- Name -->&nbsp;[[{{#var:item_page}}|{{#show:{{#var:item_page}}|?Has canonical name|default={{#var:item_page}}}}]]<!--
--><!-- Name -->&nbsp;[[{{#var:item_page}}|{{#show:{{#var:item_page}}|?Has canonical name|default={{#var:item_page}}}}]]<!--
Line 28: Line 28:
#Has item cost 3
#Has item cost 3
#Has item cost 4
#Has item cost 4
#Has game icon


== See also ==
== See also ==

Revision as of 20:39, 11 February 2022

This semantic result template is used for formatting results from {{Vendor item table row}} and {{Vendor table}}. The following parameters are passed to the template:

  1. Vendor subobject
  2. Sells item 1
  3. Sells item 2
  4. Sells item 3
  5. Sells item 4
  6. Has vendor
  7. Has vendor section
  8. Has vendor location
  9. Has item cost 1
  10. Has item cost 2
  11. Has item cost 3
  12. Has item cost 4

See also