Difference between revisions of "Template:NPC training row/doc"

From Project: Gorgon Wiki
Jump to: navigation, search
(Created page with "== Description == :Use this template to create a listing in the training table of an NPC. ==Syntax== <pre> {{vendor item row | item = | cost = | favor = }} </pre> == Para...")
 
m (Sample output)
Line 23: Line 23:
 
== Sample output ==
 
== Sample output ==
 
<pre>
 
<pre>
{{vendor table first}}
+
{{training table first}}
  
 
{{NPC training row
 
{{NPC training row
Line 34: Line 34:
 
|}
 
|}
 
</pre>
 
</pre>
{{vendor table first}}
+
{{training table first}}
 
 
 
{{NPC training row
 
{{NPC training row
  | ability= Sword Slash
+
  | ability= Sword Slash 2
 
  | skilllevel= 12
 
  | skilllevel= 12
 
  | cost = 980
 
  | cost = 980
 
  | favor = Neutral
 
  | favor = Neutral
 
}}
 
}}
 
+
{{NPC training row
 +
| ability= Sword Slash 3
 +
| skilllevel= 33
 +
| cost = 1000
 +
| favor = Neutral
 +
}}
 
|}
 
|}
  

Revision as of 18:21, 22 January 2018

Description

Use this template to create a listing in the training table of an NPC.

Syntax

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

Parameters

item
The item name
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.
Icon
Optional. If the item icon does not match that for the item name, an alternate item name may be used here. The icon for that alternate item name will be shown. Used for 'Learn' and 'Unlock' type items. Note: This argument is intentionally capitalized to indicate that Template:Tlc is being used instead of older Template:Tlc, which used lowercase argument.

Sample output

{{training table first}}

{{NPC training row
 | ability= Sword Slash
 | skilllevel= 12
 | cost = 980
 | favor = Neutral
}}

|}
icon_2121.png Sword Slash 2  12    980 councils   [Neutral] 
icon_2121.png Sword Slash 3  33    1000 councils   [Neutral] 

Examples

See Braigon Sells and Training for examples.

Note

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