Open main menu

Project: Gorgon Wiki β

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

< Template:Vendor recipe row
(Show simple example using ordinary table; also added favor to example.)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Description ==
 
== Description ==
:Use this template to create a row in the table of recipes sold by a vendor.
+
:Deprecated. Use [[Template:NPC training 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 8:
 
{{vendor recipe row
 
{{vendor recipe row
 
  | item =
 
  | item =
 +
| link =
 
  | cost =
 
  | cost =
 
  | favor =
 
  | favor =
Line 13: Line 16:
 
== 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 24: Line 29:
  
 
{{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 34: Line 40:
  
 
{{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 41: Line 48:
 
|}
 
|}
  
==Examples==
+
== Note ==
See [[Braigon]] Training for example.
+
* 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]]
+
[[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}}]]
 
[[Category:Template documentation|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:45, 21 December 2020

Description

Deprecated. Use Template:NPC training 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

{{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.