Open main menu

Project: Gorgon Wiki β

Changes

Template:NPC training unlock row/doc

1,591 bytes added, 22:33, 22 January 2018
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..."
== Description ==
:Use this template to create a listing in the training table of an NPC.

==Syntax==
<pre>
{{vendor item row
| item =
| cost =
| favor =
}}
</pre>

== 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 {{tlc|Item icon}} is being used instead of older {{tlc|Icon}}, which used lowercase argument.

== Sample output ==
<pre>
{{training table first}}

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

|}
</pre>
{{training table first}}
{{NPC training row
| ability= Sword Slash 2
| skilllevel= 12
| cost = 980
| favor = Neutral
}}
{{NPC training row
| ability=Ring of Fire
| skilllevel= 33
| cost = 1000
| favor = Neutral
}}
|}

==Examples==
See [[Braigon]] Sells and Training for examples.

== Note ==
: Uses [[Template:Item icon]], which supercedes the older [[Template:Icon]].
<includeonly>
<!-- Categories/interwikis for the template itself -->
[[Category:Formatting templates|vendor item row]]
</includeonly><noinclude>
<!-- Categories/interwikis for this documentation itself -->
[[Category:Template documentation|{{PAGENAME}}]]
</noinclude>