Difference between revisions of "Template:VendorTableRow"

From Space Station 13 Wiki
Jump to navigation Jump to search
(Add scope="row". This helps accessibility, I'm told)
(Set default parameter for Note to empty so it doesn't display if omitted)
Line 2: Line 2:
| scope="row" | [[File:{{{Image}}}|center]]
| scope="row" | [[File:{{{Image}}}|center]]
| {{{Quantity}}}
| {{{Quantity}}}
| [[{{{Item Link}}}|{{{Item Name}}}]] {{#if: {{{Note}}} | ({{{Note}}})}}
| [[{{{Item Link}}}|{{{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>

Revision as of 05:12, 22 July 2023