Template:VendorTableRow

From Space Station 13 Wiki
Revision as of 06:57, 19 July 2023 by Studenterhue (talk | contribs) (→‎Parameters: Mention redirects also work for Item Link, explain what "link formatting" means, adding spacing to mentions of punctuation marks)
Jump to navigation Jump to search

Usage

{{VendorTableListing
|Image=
|Quantity=
|Item Link=
|Item Name=
|Note=
|Price=
|Is Hidden?= 
}}

Parameters

  • Image - An image of the item being sold in the vending machine, naturally. You don't have to add File:/Image:, but you do need to give the extension, e.g. .png, .gif, etc. This only accepts one image, so if the item has a random appearance of whatever, you should probably use a .gif or some such.
  • Quantity - How many appear in the vending machine by default? This accepts ranges.
  • Item Link - Provide a link to information on said item. You do not need square brackets ( [[ ]] ), vertical lines ( | ), or a full URL, but don't forget the # (i.e. if you want to link to info on scalpels for this template, you do Medical Objects#Scalpel instead of [[Medical Objects#Scalpel]].
    • It also accepts links to something within the page, so you can do, say, #Scalpel instead of Medical Objects#Scalpel if you're working on the Medical Objects page.
    • Redirects also work.
  • Item Name - Self-explanatory. Try to use the capitalization and name used on the UI.
  • Note - If there's something unusual about the item listing, like if it only has a certain chance to appear in the vendor or if the machine randomizes the item's contents, mention in here. If there isn't anything worth noting, just leave it out. This goes in parentheses after the name of the item, so the note doesn't mess with sorting.
  • Price - What's its price? This auto-magically adds formatting, including right-align. If the vending machine doesn't show prices for items (e.g. the GardenGear), you can just omit this parameter entirely.
  • Is Hidden? - Do you need to hack the vendor to see this item? If so, put Yes; if not, put No. (This parameter is case-sensitive, so yes and no will not work.) This automatically pipes it into the Yes and No templates, so you don't have to add color formatting or the curly braces ( {{ }} ).