Difference between revisions of "Template:VendorTableRow"
Jump to navigation
Jump to search
Studenterhue (talk | contribs) (Set default parameter for Note to empty so it doesn't display if omitted) |
Studenterhue (talk | contribs) (Having separate Item Name and Item Link parameters is proving unwieldy and I'm running into some exceptions that aren't easy to handle, so combining those. Might be worth revisiting in the future) |
||
Line 2: | Line 2: | ||
| scope="row" | [[File:{{{Image}}}|center]] | | scope="row" | [[File:{{{Image}}}|center]] | ||
| {{{Quantity}}} | | {{{Quantity}}} | ||
| {{{Item Name}}} {{#if: {{{Note|}}} | ({{{Note}}})}} | |||
{{#if: {{{Price|}}} | {{!}}style="text-align:right"{{!}}{{{Price}}}}} | {{#if: {{{Price|}}} | {{!}}style="text-align:right"{{!}}{{{Price}}}}} | ||
| {{#switch: {{{Is Hidden?}}} | Yes = {{Yes}} | No = {{No}}}}</includeonly><noinclude>{{User:Studenterhue/Template:VendorTableListing/Documentation}}</noinclude> | | {{#switch: {{{Is Hidden?}}} | Yes = {{Yes}} | No = {{No}}}}</includeonly><noinclude>{{User:Studenterhue/Template:VendorTableListing/Documentation}}</noinclude> |