Changes

Jump to: navigation, search

Template:Vendor table row

231 bytes added, 01:46, 26 January 2017
Trying to fix this again.... can't figure out what i did wrong
<includeonly>|-! | style="font-weight:normal;text-align:left;width:40px;" | [[Image:item-{{icon-|{{{icon|none}}}.png]] }}| style="text-align:left;" | {{{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==
: 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 icons and maintaining consistency across many tables. 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).
'''PNGTODO'' file format was chosen because it gives ' As better extensions are installed in the flexibility with one file extension:* Save as PNG 8 bit wiki, a lot of things also can be automated (256 color) for smaller file size and sharp image, for most iconsie.* Save as PNG 24 bit if picking the correct icon somehow needs more colourbased on the item name).
==Examples==
The typical usage is to use this in Many generic icons can be used for a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name):variety of items! See [[Item Icons Guide]] for all available icons.
<pre>
{{vendor table row
| item = Basic SwordFire Magic: Introductory Research
| cost = 75 gold
| icon = book
}}
</pre>
5,698
edits

Navigation menu