Difference between revisions of "Template:VendorTableRow"
Jump to navigation
Jump to search
Studenterhue (talk | contribs) (Rename Price Shown parameter again, update documentation for it and Price) |
Studenterhue (talk | contribs) (Add documentation for Notes and) |
||
Line 12: | Line 12: | ||
|Item Link= | |Item Link= | ||
|Item Name= | |Item Name= | ||
|Add Note?= | |||
|Note= | |||
|Shows Price?= | |Shows Price?= | ||
|Price= | |Price= | ||
Line 22: | Line 24: | ||
*'''Item Link''' - Provide a link to information on said item. You do not need link formatting 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 <code>Medical Objects#Scalpel</code> instead of <code><nowiki>[[Medical Objects#Scalpel]]</nowiki></code>. It also accepts links to something within the page, so you can do, say, <code>#Scalpel</code> instead of <code>Medical Objects#Scalpel</code> if you're working on the [[Medical Objects]] page. | *'''Item Link''' - Provide a link to information on said item. You do not need link formatting 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 <code>Medical Objects#Scalpel</code> instead of <code><nowiki>[[Medical Objects#Scalpel]]</nowiki></code>. It also accepts links to something within the page, so you can do, say, <code>#Scalpel</code> instead of <code>Medical Objects#Scalpel</code> if you're working on the [[Medical Objects]] page. | ||
*'''Item Name''' - Self-explanatory. Try to use the capitalization and name used on the UI. | *'''Item Name''' - Self-explanatory. Try to use the capitalization and name used on the UI. | ||
*'''Add Note?''' - Put <code>Yes</code> if there's something worth noting about the item, like if it only has a certain chance to appear in the vendor or if the machine randomizes the item's contents. | |||
*'''Note''' - Put a note about the item. This takes the text specified and puts in parentheses after the name of the item, so the note doesn't mess with sorting. | |||
*'''Shows Price?''' - Some vendors require you to pay money to get items, so they'll show the prices of each item. If this is such a vendor, put <code>Yes</code>. If not, put <code>No</code> or omit the parameter entirely. This parameter is case-sensitive, so <code>yes</code> and <code>no</code> will ''not'' work. | *'''Shows Price?''' - Some vendors require you to pay money to get items, so they'll show the prices of each item. If this is such a vendor, put <code>Yes</code>. If not, put <code>No</code> or omit the parameter entirely. This parameter is case-sensitive, so <code>yes</code> and <code>no</code> will ''not'' work. | ||
*'''Price''' - What's its price? This auto-magically adds formatting, including right-align. | *'''Price''' - What's its price? This auto-magically adds formatting, including right-align. | ||
*'''Is Hidden?''' - Do you need to [[Hacking#Vending Machines and Fabricators|hack]] the vendor to see this item? If so, put <code>Yes</code>; if not, put <code>No</code> (this is also case sensitive) This automatically pipes it into the [[:Template:Yes|Yes]] and [[:Template:No|No templates]], so you don't have to add color formatting or the curly braces ({{}}).</noinclude> | *'''Is Hidden?''' - Do you need to [[Hacking#Vending Machines and Fabricators|hack]] the vendor to see this item? If so, put <code>Yes</code>; if not, put <code>No</code> (this is also case sensitive) This automatically pipes it into the [[:Template:Yes|Yes]] and [[:Template:No|No templates]], so you don't have to add color formatting or the curly braces ({{}}).</noinclude> |
Revision as of 06:28, 19 July 2023
Usage
{{VendorTableListing |Image= |Quantity= |Item Link= |Item Name= |Add Note?= |Note= |Shows Price?= |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. This only accepts one image, so if the item , 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 link formatting 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 ofMedical Objects#Scalpel
if you're working on the Medical Objects page. - Item Name - Self-explanatory. Try to use the capitalization and name used on the UI.
- Add Note? - Put
Yes
if there's something worth noting about the item, like if it only has a certain chance to appear in the vendor or if the machine randomizes the item's contents. - Note - Put a note about the item. This takes the text specified and puts in parentheses after the name of the item, so the note doesn't mess with sorting.
- Shows Price? - Some vendors require you to pay money to get items, so they'll show the prices of each item. If this is such a vendor, put
Yes
. If not, putNo
or omit the parameter entirely. This parameter is case-sensitive, soyes
andno
will not work. - Price - What's its price? This auto-magically adds formatting, including right-align.
- Is Hidden? - Do you need to hack the vendor to see this item? If so, put
Yes
; if not, putNo
(this is also case sensitive) This automatically pipes it into the Yes and No templates, so you don't have to add color formatting or the curly braces ({{}}).