5,698
edits
Changes
Trying to fix this again.... can't figure out what i did wrong
<includeonly>|-! | style="font-weight:normal;text-align:left;width:40px;" | <span {{icon|{{{icon|none}}}}}| style="display:inline-block;background:#eee;width:32px;height:32px;verticaltext-align:middleleft;"> </span> | {{{item|Item name}}}| style="floattext-align:right;white-space:nowrap;" | {{{cost|}}}</includeonly><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__
==Syntax==
| cost =
}}
</pre>
<!--backup <span style="display:inline-block;background:#eee;width:32px;height:32px;vertical-align:middle;"> </span> -->
==Parameters==
; item
: The item name
; cost
: Cost in full eg. "15 gold" (Gorg; icon: template system too limited atmOptional. If not provided, a generic "empty" icon base is used.)If '''abc''' is provided, item-icon-'''abc'''.png is used.: <span style="color:#F00;background:#FF8">CHECK [[Item Icons Guide]] FOR AVAILABLE ICONS before uploading any new ones!</span>
==Description==
Create a row in the NPC Show table. This will help with adding iconsand 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==
<pre>
{{vendor table row
| item = Basic SwordFire Magic: Introductory Research
| cost = 75 gold
| icon = book
}}
</pre>