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

From Project: Gorgon Wiki
Jump to: navigation, search
 
(4 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, 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.
+
: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 18: Line 21:
 
; 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 29:
  
 
{{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 40:
  
 
{{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 49:
  
 
== 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>
 
<!-- 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>

Latest revision as of 13: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.