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

From Project: Gorgon Wiki
Jump to: navigation, search
(Remove category links. Added not used note.)
m
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
; This template not used.  Please use [[Template:Vendor item row]]
 
 
 
== Description ==
 
== Description ==
:Use this template to create a row in the table of recipes sold by a vendor.
+
: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 8: Line 6:
 
{{vendor recipe row
 
{{vendor recipe row
 
  | item =
 
  | item =
 +
| link =
 
  | cost =
 
  | cost =
 
  | favor =
 
  | favor =
Line 15: Line 14:
 
== Parameters ==
 
== Parameters ==
 
; item
 
; item
: The recipe name (without Recipe:).
+
: The recipe name.
 
; cost
 
; cost
: Optional. The numerical cost eg. "15".  If not provided, an empty column is shown.
+
: The numerical cost eg. "15".  If not provided, an empty column is shown.
 
; favor
 
; favor
: Optional. The favor level at which the item is available.  If not provided, an empty column is shown.
+
: 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 26: Line 27:
  
 
{{vendor recipe row
 
{{vendor recipe row
  | item = Mild Cheddar Cheese
+
  | item = Shield: Infuriating Bash
  | cost = 980
+
| link = Shield
 +
  | cost = 336
 
  | favor = Neutral
 
  | favor = Neutral
 
}}
 
}}
Line 36: Line 38:
  
 
{{vendor recipe row
 
{{vendor recipe row
  | item = Mild Cheddar Cheese
+
  | item = Shield: Infuriating Bash
  | cost = 980
+
| link = Shield
 +
  | cost = 336
 
  | favor = Neutral
 
  | favor = Neutral
 
}}
 
}}
Line 43: Line 46:
 
|}
 
|}
  
==Examples==
+
== Note ==
N/A
+
* The primary intent is to improve the transcribing performance so that pages with many recipes can be added.
  
== Note ==
 
: Uses [[Template:Item icon]], which supercedes the older [[Template:Icon]].
 
 
<includeonly>
 
<includeonly>
 
<!-- Categories/interwikis for the template itself -->
 
<!-- Categories/interwikis for the template itself -->
 +
[[Category:Formatting templates|Vendor recipe row]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
<!-- Categories/interwikis for this documentation itself -->
 
<!-- Categories/interwikis for this documentation itself -->
 +
[[Category:Template documentation|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 12:00, 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.