Difference between revisions of "Template:Vendor list result format"
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>|- | ||
| | | {{#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:
- Vendor subobject
- Has vendor
- Has vendor section
- Has item cost
- Has item quantity
- Has vendor location