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

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>1"{{{1|}}}"/2"{{{2|}}}"/3"{{{3|}}}"/4"{{{4|}}}"/5"{{{5|}}}"/6"{{{6|}}}"/7"{{{7|}}}"/8"{{{8|}}}"/{{STFI|icon={{#if:{{{3|}}}|{{#explode:{{{3}}}|:|1}}|{{{1}}}.png}}|link={{{1}}}|size=small}} <!--
<includeonly>{{STFI|icon={{#if:{{{3|}}}|{{#explode:{{{3}}}|:|1}}|{{{1}}}.png}}|link={{{1}}}|size=small}} <!--
-->&nbsp;{{#if: {{{2|}}} |[[{{{1}}}|{{{2|{{{1}}}}}}]] | [[{{{1}}}]] }} {{#ifexpr: {{#explode:{{{userparam|0}}}|-|0}} > 1 | ({{{userparam}}}) }}<!--
-->&nbsp;{{#if: {{{2|}}} |[[{{{1}}}|{{{2|{{{1}}}}}}]] | [[{{{1}}}]] }} {{#ifexpr: {{#explode:{{{userparam|0}}}|-|0}} > 1 | ({{{userparam}}}) }}<!--
-->{{#ifeq:{{#var:showType}}  | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{4|}}} | [[{{{4|}}}]] }} | — }} }}<!--
-->{{#ifeq:{{#var:showType}}  | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{4|}}} | [[{{{4|}}}]] | — }} }}<!--
-->{{#ifeq:{{#var:showRarity}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{5|}}} | {{#arraymap:{{{5}}}|,|@@@|{{rarity|@@@}}}}| — }} }}<!--
-->{{#ifeq:{{#var:showRarity}} | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{5|}}} | {{#arraymap:{{{5}}}|,|@@@|{{rarity|@@@}}}}| — }} }}<!--
-->{{#ifeq:{{#var:showLevel}}  | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{6|}}}  | {{{6}}} | — }} }}</includeonly><noinclude>
-->{{#ifeq:{{#var:showLevel}}  | true | {{!!}} style="text-align:center" {{!}} {{#if: {{{6|}}}  | {{{6}}} | — }} }}</includeonly><noinclude>

Revision as of 19:26, 26 October 2018

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

Parameters

  1. (pagename)
  2. Has canonical name
  3. Has game icon
  4. Has item type
  5. Has item rarity
  6. Has level requirement
  • userparam = quantity