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

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Tag: Manual revert
 
Line 7: Line 7:
     --><!-- Item HQ? -->{{#vardefine:item_hq|{{#explode:{{#var:item_qty_data}}|&|1}}}}<!--
     --><!-- Item HQ? -->{{#vardefine:item_hq|{{#explode:{{#var:item_qty_data}}|&|1}}}}<!--
--><!-- Data Store Obj -->{{#vardefine:data_store_obj|{{#var:data_store_obj}}{{#if:{{#var:data_store_obj}}|^}}{{#var:item_page}};{{#var:item_qty_min}};{{#var:item_qty_max|?}};{{#if:{{#var:item_hq}}|true|false}}}}<!--
--><!-- Data Store Obj -->{{#vardefine:data_store_obj|{{#var:data_store_obj}}{{#if:{{#var:data_store_obj}}|^}}{{#var:item_page}};{{#var:item_qty_min}};{{#var:item_qty_max|?}};{{#if:{{#var:item_hq}}|true|false}}}}<!--
-->{{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}} {{#if:{{#var:item_hq}}|{{HQ|12|dark=y}}}} <!--
-->{{{{#if:{{#var:item_hq}}|STFI HQ|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}} {{#if:{{#var:item_hq}}|{{HQ|12|dark=y}}}} <!--
-->&nbsp;{{#if: {{#vardefineecho:item_name|{{#show:{{#var:item_page}}|?Has canonical name}}}} |[[{{#var:item_page}}|{{#var:item_name}}]] | [[{{#var:item_page}}]] }} {{#ifexpr: {{#var:item_qty_min|1}} > 1 | ({{#var:item_qty_min}}{{#if:{{#var:item_qty_max}}|-{{#var:item_qty_max}}}}) }}|<br>}}<!--
-->&nbsp;{{#if: {{#vardefineecho:item_name|{{#show:{{#var:item_page}}|?Has canonical name}}}} |[[{{#var:item_page}}|{{#var:item_name}}]] | [[{{#var:item_page}}]] }} {{#ifexpr: {{#var:item_qty_min|1}} > 1 | ({{#var:item_qty_min}}{{#if:{{#var:item_qty_max}}|-{{#var:item_qty_max}}}}) }}|<br>}}<!--
-->{{#ifeq:{{#var:showType}}  | true | {{!!}} style="text-align:center" {{!}} {{#arraymap:{{#var:item_types}}|<br>|@@@|{{#arraymap:@@@|,|@@@@|{{#ifeq:@@@@|—|—|[[@@@@]]}}|,&nbsp;}}|<br>}} }}<!--
-->{{#ifeq:{{#var:showType}}  | true | {{!!}} style="text-align:center" {{!}} {{#arraymap:{{#var:item_types}}|<br>|@@@|{{#arraymap:@@@|,|@@@@|{{#ifeq:@@@@|—|—|[[@@@@]]}}|,&nbsp;}}|<br>}} }}<!--

Latest revision as of 21:15, 22 December 2023

This template helps to format the row result for {{Vendor table row}}. It contributes all columns apart from the cost.