Difference between revisions of "Template:Vendor list result format"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m (Protected "Template:Vendor list result format" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
m
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
| "{{{2|}}}"{{#vardefine:smw_name|{{#show:{{{2|}}}|?Has canonical name}}}} data-sort-value="{{#if: {{#var:smw_name}} | {{#var:smw_name}} | {{{2}}} }}" | {{#if: {{#var:smw_name}} | [[{{{1}}}|{{#var:smw_name}}]] | [[{{{1}}}|{{{2}}}]] }}
| {{#vardefine:smw_name|{{#show:{{{2|}}}|?Has canonical name}}}} data-sort-value="{{#if: {{#var:smw_name}} | {{#var:smw_name}} | {{{2}}} }}" | {{#if: {{#var:smw_name}} | [[{{{1}}}|{{#var:smw_name}}]] | [[{{{1}}}|{{{2}}}]] }}
{{#ifeq:{{#var:showSection|false}}|true| {{!}} style="max-width:100px;" {{!}} {{{3}}} }}
{{#ifeq:{{#var:showSection|false}}|true| {{!}} style="max-width:100px;" {{!}} {{{3}}} }}
| style="max-width:400px;" | {{#if:{{{6|}}}|{{cname|{{{6}}}}}|{{#show:{{{2|}}}|?Located in|default=–|sep=;}}}}
| style="max-width:400px;" | {{#if:{{{6|}}}|{{cname|{{{6}}}}}|{{#show:{{{2|}}}|?Located in|default=–|sep=;}}}}

Revision as of 18:50, 26 October 2018

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

  1. Vendor subobject
  2. Has vendor
  3. Has vendor section
  4. Has item cost
  5. Has item quantity
  6. Has vendor location