Changes

Jump to: navigation, search

Template:Vendor table row

672 bytes added, 01:46, 26 January 2017
Trying to fix this again.... can't figure out what i did wrong
<includeonly>|-! | style="font-weight:bold;text-align:left;width:40px;" | <span {{icon|{{{icon|none}}}}}| style="display:inline-block;background:#eee;width:32px;height:32px;verticaltext-align:middleleft;">&nbsp;</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 =
}}
 
[[Image:Item-Icon-{{{icon|none}}}.gif]]
</pre>
<!--backup <span style="display:inline-block;background:#eee;width:32px;height:32px;vertical-align:middle;">&nbsp;</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==
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