Open main menu

Project: Gorgon Wiki β

Changes

Template:Vendor item row

683 bytes removed, 19:15, 8 February 2023
no edit summary
<noinclude>{{Underconstruction}}</noinclude><includeonly>|-| style="text-align:left;" | {{#if: {{{Icon|}}} | [[Category:Sold/{{{item|Item name}}}]]{{Item|{{{item|Item name}}}|Icon={{{Icon}}}}} | [[Category:Sold/{{{item|Item name}}}]]{{Item|{{{item|Item name}}}}}}}| style="text-align:right;white-space:nowrap;" |{{#if: {{{cost | }}} | &nbsp;{{{cost}}} councils&nbsp;}}| style="text-align:center;white-space:nowrap;" |{{#if:{{level{favor|}}}|&nbsp;{{Favor|{{{favor}}}}}&nbsp;}}</includeonly><noinclude>
{{documentation}}
</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__
==Syntax==
<pre>
{{vendor item row
| item =
| cost =
| level =
}}
</pre>
==Parameters==
; item
: The item name
; cost
: Optional. The numerical cost eg. "15". If not provided, an empty column is shown.
; level
: Optional. The favor level at which the item is available. If not provided, an column is shown.
 
==Description==
Create a row in a vendor's table. Uses the new [[Template:Item icon]] template.
 
==Examples==
Many generic icons can be used for a variety of items! See [[Item Icons Guide]] for all available icons.
<pre>
{{vendor table row
| item = Saltpeter
| cost = 15 gold
| level = Neutral
}}
</pre>
 
[[Category:Formatting templates|vendor item row]]
</noinclude>
894
edits