Difference between revisions of "Template:NPC training row/doc"
From Project: Gorgon Wiki
m |
(Oh good. It works.) |
||
Line 14: | Line 14: | ||
== Parameters == | == Parameters == | ||
+ | ; unlock | ||
+ | : Semi-optional. The unlock name (skill level cap). If ''unlock'' is omitted, the template will see if an ''ability'' is listed. | ||
; ability | ; ability | ||
: Semi-optional. The ability name. If ''ability'' is omitted only a recipe will be displayed. At minimum ability or recipe must be defined. | : Semi-optional. The ability name. If ''ability'' is omitted only a recipe will be displayed. At minimum ability or recipe must be defined. | ||
Line 45: | Line 47: | ||
|cost=3070 | |cost=3070 | ||
|favor=Neutral | |favor=Neutral | ||
+ | }} | ||
+ | {{NPC training row | ||
+ | |unlock = Tailoring Levels 51-60 | ||
+ | |skilllevel= 60 | ||
+ | |cost= 20000 | ||
+ | |favor=Friends | ||
}} | }} | ||
|} | |} |
Revision as of 15:09, 22 May 2018
Description
- Use this template to create a listing in the training table of an NPC.
Syntax
{{NPC training row | ability= | recipe= | skilllevel= | cost = | favor = }}
Parameters
- unlock
- Semi-optional. The unlock name (skill level cap). If unlock is omitted, the template will see if an ability is listed.
- ability
- 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 name mismatches 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.
Sample output
{| {{NPC training row | ability= Sword Slash 2 | 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 }} {{NPC training row |unlock = Tailoring Levels 51-60 |skilllevel= 60 |cost= 20000 |favor=Friends }} |}
Sword Slash 2 | 12 | 980 councils | [Neutral] |
Spore Bomb 3 and Error: Item not foundRecipe: Deadly Spore Bombs |
25 | 2934 councils | [Comfortable] |
Error: Item not foundRecipe: Coral Mushroom Smoothie | 40 | 3070 councils | [Neutral] |
Error: Ability not found [[{{{ability}}}]] | 60 | 20000 councils | [Friends] |
Examples
See Braigon Sells and Training for examples. Jaw provides a more complex example of mixed ability/recipe combinations.
Note
- Uses Template:Item icon, which supercedes the older Template:Icon.