Difference between revisions of "Template:NPC training unlock 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
Line 1: Line 1:
 
== Description ==
 
== Description ==
:Use this template to create a listing in the training table of an NPC.
+
:Use this template to create a listing in the training table of an NPC that offers a skill unlock. This template works alongside [[Template:NPC_training_row]].
 
 
 
==Syntax==
 
==Syntax==
 
<pre>
 
<pre>
{{vendor item row
+
{{NPC training unlock row
  | item =
+
| Icon=Unlock
  | cost =
+
  | item=
  | favor =
+
| skilllevel=
 +
  | cost =  
 +
  | favor =  
 
}}
 
}}
 
</pre>
 
</pre>
  
 
== Parameters ==
 
== Parameters ==
 +
; icon
 +
: must be set to Unlock.
 
; item
 
; item
: The item name
+
: The wording used in the NPC's training screen in-game.
 +
; skilllevel
 +
: Optional. The level of skill required to use learn the ability. If not provided, an empty column is shown.
 
; cost
 
; cost
 
: Optional. The numerical cost eg. "15".  If not provided, an empty column is shown.
 
: Optional. 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.
 
: 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 {{tlc|Item icon}} is being used instead of older {{tlc|Icon}}, which used lowercase argument.
 
  
 
== Sample output ==
 
== Sample output ==
 
<pre>
 
<pre>
{{training table first}}
+
{|
 
+
{{NPC training unlock row
{{NPC training row
+
  |Icon=Unlock
  | ability= Sword Slash
+
|item=Shield{{pipe}}Unlock Shield Skill Levels 51-60
 
  | skilllevel= 12
 
  | skilllevel= 12
 
  | cost = 980
 
  | cost = 980
 
  | favor = Neutral
 
  | favor = Neutral
 
}}
 
}}
 
 
|}
 
|}
 
</pre>
 
</pre>
{{training table first}}
+
{|
{{NPC training row
+
{{NPC training unlock row
  | ability= Sword Slash 2
+
  |Icon=Unlock
 +
|item=Shield{{pipe}}Unlock Shield Skill Levels 51-60
 
  | skilllevel= 12
 
  | skilllevel= 12
 
  | cost = 980
 
  | cost = 980
| favor = Neutral
 
}}
 
{{NPC training row
 
| ability=Ring of Fire
 
| skilllevel= 33
 
| cost = 1000
 
 
  | favor = Neutral
 
  | favor = Neutral
 
}}
 
}}
Line 50: Line 47:
  
 
==Examples==
 
==Examples==
See [[Braigon]] Sells and Training for examples.
+
See [[NPC Template]] for examples.
  
 
== Note ==
 
== Note ==

Revision as of 22:41, 22 January 2018

Description

Use this template to create a listing in the training table of an NPC that offers a skill unlock. This template works alongside Template:NPC_training_row.

Syntax

{{NPC training unlock row
 | Icon=Unlock
 | item=
 | skilllevel=
 | cost = 
 | favor = 
}}

Parameters

icon
must be set to Unlock.
item
The wording used in the NPC's training screen in-game.
skilllevel
Optional. The level of skill required to use learn the ability. If not provided, an empty column is shown.
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.

Sample output

{|
{{NPC training unlock row
 |Icon=Unlock
 |item=Shield{{pipe}}Unlock Shield Skill Levels 51-60
 | skilllevel= 12
 | cost = 980
 | favor = Neutral
}}
|}
 12    980 councils   [Neutral] 

Examples

See NPC Template for examples.

Note

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