Open main menu

Project: Gorgon Wiki β

Changes

Template:NPC training row/doc

758 bytes added, 23:31, 2 April 2021
m
no edit summary
==Syntax==
<pre>
{{vendor item NPC training row | item ability= | recipe= | skilllevel=
| cost =
| favor =
== Parameters ==
; itemability: Semi-optional. The ability name. If ''ability'' is omitted only a recipe will be displayed. At minimum ability or recipe must be defined.; recipe: Semi-optional. The recipe name (sans "Recipe:"). If ''recipe'' is omitted, only an ability will be displayed. If both a recipe and ability are provided, both will display within the same row (with "and"). Recipes can be provided as wiki links to their ''item'' if the author desires, but care should be taken. Trainer taught recipes do not have items on the wiki, and recipe/item namemismatches can occur. At minimum ability or recipe must be defined.; skilllevel: Optional. The required skill level to train the skill. 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.
; 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 Slash2
| skilllevel= 12
| cost = 980
| favor = Neutral
}}
{{NPC training row |ability=Spore Bomb 3 |recipe=[[Deadly Spore Bombs]] |skilllevel= 25 |cost=2934 |favor=Comfortable}}{{NPC training row |recipe=Coral Mushroom Smoothie |skilllevel=40 |cost=3070 |favor=Neutral}}
|}
</pre>
{{training table first}}|
{{NPC training row
| ability= Sword Slash 2
}}
{{NPC training row
| ability=RegrowthSpore Bomb 3 |recipe=[[Deadly Spore Bomb|Deadly Spore Bombs]] |skilllevel= 25 |cost=2934 |favor=Comfortable}}{{NPC training row |recipe=Coral Mushroom Smoothie | skilllevel= 3340 | cost = 10003070 | favor = Neutral
}}
|}
==Examples==
See [[BraigonMu]] Sells and Training [[Jaw]] for examplescomplex example of mixed ability/recipe combinations.
== Note ==
: If an NPC offers an unlock, use [[Template:NPC training unlock row]] : Uses [[Template:Item iconRecipe]], which supercedes the older and [[Template:IconAbility 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>
5,698
edits