Difference between revisions of "Template:Vendor item table result format"
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> [[{{{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> [[{{{2}}}|{{#show:{{#explode:{{{2}}}|#}}|?Has canonical name|default={{#explode:{{{2}}}|#}}}}]] | ||
| [[{{{1}}} | | [[{{{1}}}{{!}}{{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:46, 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:
- Vendor subobject
- Sells item
- Has vendor
- Has vendor section
- Has vendor location
- Has item cost
- Has item quantity
See also
- {{Vendor list result format}} - a similar template used by {{Vendor list}}.