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

From Project: Gorgon Wiki
Jump to: navigation, search
Line 1: Line 1:
 
== Description ==
 
== Description ==
:Use this template to create a row in the table of recipes sold by a vendor, if all parameters are known.  This template functions identically to [[Template:Vendor item row]] except that it will always use a recipe icon, and requires all parameters.  If not all parameters are known, use [[Template:Vendor item row]] instead.
+
:Use this template to create a row in the table of recipes sold by a vendor, if all required parameters are known.  This template functions identically to [[Template:Vendor item row]] except that it will always use a recipe icon.  If not all required parameters are known, use [[Template:Vendor item row]] instead.
  
 
==Syntax==
 
==Syntax==
Line 6: Line 6:
 
{{vendor recipe row
 
{{vendor recipe row
 
  | item =
 
  | item =
 +
| link =
 
  | cost =
 
  | cost =
 
  | favor =
 
  | favor =
Line 18: Line 19:
 
; favor
 
; favor
 
: The favor level at which the item is available.
 
: The favor level at which the item is available.
 +
; link
 +
: Optional.  If a link different than the recipe name is desired (see examples).
  
 
== Sample output ==
 
== Sample output ==
Line 24: Line 27:
  
 
{{vendor recipe row
 
{{vendor recipe row
  | item = Sword: Decapitate
+
  | item = Shield: Infuriating Bash
  | cost = 123
+
| link = Shield
 +
  | cost = 336
 
  | favor = Neutral
 
  | favor = Neutral
 
}}
 
}}
Line 34: Line 38:
  
 
{{vendor recipe row
 
{{vendor recipe row
  | item = Sword: Decapitate
+
  | item = Shield: Infuriating Bash
  | cost = 123
+
| link = Shield
 +
  | cost = 336
 
  | favor = Neutral
 
  | favor = Neutral
 
}}
 
}}
Line 42: Line 47:
  
 
== Note ==
 
== Note ==
* The sole intent is to improve the transcribing performance so that pages with many recipes can be added.
+
* The primary intent is to improve the transcribing performance so that pages with many recipes can be added.
  
 
<includeonly>
 
<includeonly>

Revision as of 11:47, 22 April 2017

Description

Use this template to create a row in the table of recipes sold by a vendor, if all required parameters are known. This template functions identically to Template:Vendor item row except that it will always use a recipe icon. If not all required parameters are known, use Template:Vendor item row instead.

Syntax

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

Parameters

item
The recipe name.
cost
The numerical cost eg. "15". If not provided, an empty column is shown.
favor
The favor level at which the item is available.
link
Optional. If a link different than the recipe name is desired (see examples).

Sample output

{|

{{vendor recipe row
 | item = Shield: Infuriating Bash
 | link = Shield
 | cost = 336
 | favor = Neutral
}}

|}
 336 councils   [Neutral] 

Note

  • The primary intent is to improve the transcribing performance so that pages with many recipes can be added.