Difference between revisions of "Template:Vendor recipe row/doc"

From Project: Gorgon Wiki
Jump to: navigation, search
(Initial documentation)
 
(Show simple example using ordinary table; also added favor to example.)
Line 21: Line 21:
 
== Sample output ==
 
== Sample output ==
 
<pre>
 
<pre>
{{vendor table first}}
+
{|
  
 
{{vendor recipe row
 
{{vendor recipe row
 
  | item = Mild Cheddar Cheese
 
  | item = Mild Cheddar Cheese
 
  | cost = 980
 
  | cost = 980
 +
| favor = Neutral
 
}}
 
}}
  
 
|}
 
|}
 
</pre>
 
</pre>
{{vendor table first}}
+
{|
  
 
{{vendor recipe row
 
{{vendor recipe row
 
  | item = Mild Cheddar Cheese
 
  | item = Mild Cheddar Cheese
 
  | cost = 980
 
  | cost = 980
 +
| favor = Neutral
 
}}
 
}}
  

Revision as of 20:42, 4 March 2017

Description

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

Syntax

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

Parameters

item
The recipe name (without Recipe:).
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.

Sample output

{|

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

|}
 980 councils   [Neutral] 

Examples

See Braigon Training for example.

Note

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