Template:Vendor item row/doc: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Alleryn (talk | contribs)
mNo edit summary
Arindor (talk | contribs)
No edit summary
Line 18: Line 18:
; favor
; favor
: Optional. The favor level at which the item is available.  If not provided, an empty column is shown.
: Optional. The favor level at which the item is available.  If not provided, an empty column is shown.
; Icon
: Optional. If the item icon does not match that for the item name, an alternate item name may be used here.  The icon for that alternate item name will be shown.  Used for 'Learn' and 'Unlock' type items.  Note: This argument is intentionally capitalized to indicate that {{tlc|Item icon}} is being used instead of older {{tlc|Icon}}, which used lowercase argument.


== Sample output ==
== Sample output ==

Revision as of 20:18, 20 April 2017

Description

Use this template to create a row in the table of items sold by a vendor.

Syntax

{{vendor item row
 | item =
 | cost =
 | favor =
}}

Parameters

item
The item name
cost
Optional. The numerical cost eg. "15". If not provided, an empty column is shown.
favor
Optional. The favor level at which the item is available. If not provided, an empty column is shown.
Icon
Optional. If the item icon does not match that for the item name, an alternate item name may be used here. The icon for that alternate item name will be shown. Used for 'Learn' and 'Unlock' type items. Note: This argument is intentionally capitalized to indicate that Template:Tlc is being used instead of older Template:Tlc, which used lowercase argument.

Sample output

{{vendor table first}}

{{vendor item row
 | item = Mild Cheddar Cheese
 | cost = 980
}}

|}
http://cdn.projectgorgon.com/v456/icons/icon_.png Error: Item not found }}
 
[[Expression error: Unrecognized punctuation character "{".]]
 980 councils 


Examples

See Braigon Sells and Training for examples.

Note

Uses Template:Item icon, which supercedes the older Template:Icon.