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

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
|- {{#ifeq: {{{8|}}} | true | title="Vendor currently unavailable" class="gray" }}
|- {{#ifeq: {{{8|}}} | true | title="Vendor currently unavailable" class="gray" }}
| data-sort-value="{{{2}}}" | <span class="small item-icon thumb-icon" style="display:inline-block;overflow:hidden; width:20px; height:20px;vertical-align:middle;">[[{{#show:{{{2}}}|?Has game icon|link=none|default=File:Skill.png}}|20x20px|bottom|link={{{2}}}]]</span>&nbsp;[[{{{2}}}|{{#show:{{#explode:{{{2}}}|#}}|?Has canonical name|default={{#explode:{{{2}}}|#}}}}]]
| data-sort-value="{{{2}}}" | <span class="small item-icon thumb-icon" style="display:inline-block;overflow:hidden; width:20px; height:20px;vertical-align:middle;">[[{{#show:{{{2}}}|?Has game icon|link=none|default=File:Skill.png}}|20x20px|bottom|link={{{2}}}]]</span>&nbsp;[[{{{2}}}|{{#show:{{#explode:{{{2}}}|#}}|?Has canonical name|default={{#explode:{{{2}}}|#}}}}]]
| {{cname|{{{3}}}}} {{#ifeq: {{{4|}}} | General || ({{{4}}}) }}
| "{{{3|}}}"{{cname|{{{3}}}}} {{#ifeq: {{{4|}}} | General || ({{{4}}}) }}
| {{#if:{{{5|}}}|[[{{#vardefineecho:vitr_area|{{{5|}}}}}]]}}
| {{#if:{{{5|}}}|[[{{#vardefineecho:vitr_area|{{{5|}}}}}]]}}
| {{#if: {{#var:vitr_area}} | {{#if: {{#pos: {{#var:vitr_area}} |;}}<!-- check if more than one area -->
| {{#if: {{#var:vitr_area}} | {{#if: {{#pos: {{#var:vitr_area}} |;}}<!-- check if more than one area -->

Revision as of 12:44, 28 August 2018

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
  3. Has vendor
  4. Has vendor section
  5. Has vendor location
  6. Has item cost
  7. Has item quantity

See also