Difference between revisions of "Template:Vendor table row"
From Project: Gorgon Wiki
Gorgonzola (talk | contribs) (Shop icons use the Template:Icon, so shop item icons can also link to their own articles (when present).) |
(Trying to fix this again.... can't figure out what i did wrong) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |- | + | <includeonly>|- |
| style="text-align:left;width:40px;" | {{icon|{{{icon|none}}}}} | | style="text-align:left;width:40px;" | {{icon|{{{icon|none}}}}} | ||
| style="text-align:left;" | {{{item|Item name}}} | | style="text-align:left;" | {{{item|Item name}}} | ||
− | | style="text-align:right;white-space:nowrap;" | {{{cost|}}} | + | | style="text-align:right;white-space:nowrap;" | {{{cost|}}}</includeonly> |
− | <noinclude> | + | <noinclude>Used for depicting items sold by Vendors. Not to be confused with [[:Template:Vendor purchase table row]], which is used for information on what a vendor buys and how much they have to spend. |
__NOTOC__ | __NOTOC__ | ||
==Syntax== | ==Syntax== |
Latest revision as of 00:46, 26 January 2017
Used for depicting items sold by Vendors. Not to be confused with Template:Vendor purchase table row, which is used for information on what a vendor buys and how much they have to spend.
Syntax
{{vendor table row | item = | icon = | cost = }}
Parameters
- item
- The item name
- cost
- Cost in full eg. "15 gold"
- icon
- Optional. If not provided, a generic "empty" icon base is used. If abc is provided, item-icon-abc.png is used.
- CHECK Item Icons Guide FOR AVAILABLE ICONS before uploading any new ones!
Description
Create a row in the NPC Show table. This will help with adding icons and maintaining consistency across many tables.
TODO As better extensions are installed in the wiki, a lot of things also can be automated (ie. picking the correct icon based on the item name).
Examples
Many generic icons can be used for a variety of items! See Item Icons Guide for all available icons.
{{vendor table row | item = Fire Magic: Introductory Research | cost = 75 gold | icon = book }}