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

From Project: Gorgon Wiki
Jump to: navigation, search
m
(Updating template as per discussion, and post talking with BetaNotus in game. Update is backwards compatible.)
Line 6: Line 6:
 
{{NPC training row
 
{{NPC training row
 
  | ability=  
 
  | ability=  
 +
| recipe=
 
  | skilllevel=
 
  | skilllevel=
 
  | cost =
 
  | cost =
Line 14: Line 15:
 
== Parameters ==
 
== Parameters ==
 
; ability
 
; ability
: The ability name
+
: OPTIONAL. The ability name. If ''ability'' is omitted only a recipe will be displayed
 +
; recipe
 +
: 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.
 
; skilllevel
 
; skilllevel
 
: Optional. The required skill level to train the skill. If not provided, an empty column is shown.
 
: Optional. The required skill level to train the skill. If not provided, an empty column is shown.
Line 29: Line 32:
 
  | cost = 980
 
  | cost = 980
 
  | favor = Neutral
 
  | 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
 
}}
 
}}
 
|}
 
|}
Line 40: Line 56:
 
}}
 
}}
 
{{NPC training row
 
{{NPC training row
  | ability=Ring of Fire
+
  |ability=Spore Bomb 3
  | skilllevel= 33
+
|recipe=[[Deadly Spore Bomb|Deadly Spore Bombs]]
  | cost = 1000
+
|skilllevel= 25
  | favor = Neutral
+
|cost=2934
 +
|favor=Comfortable
 +
}}
 +
{{NPC training row/sandbox
 +
|recipe=Coral Mushroom Smoothie
 +
  |skilllevel=40
 +
  |cost=3070
 +
  |favor=Neutral
 
}}
 
}}
 
|}
 
|}
  
 
==Examples==
 
==Examples==
See [[Braigon]] Sells and Training for examples.
+
See [[Braigon]] Sells and Training for examples. [[Jaw]] provides a more complex example of mixed ability/recipe combinations.
  
 
== Note ==
 
== Note ==

Revision as of 12:20, 3 April 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

ability
OPTIONAL. The ability name. If ability is omitted only a recipe will be displayed
recipe
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.
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
}}
|}
icon_2121.png Sword Slash 2  12    980 councils   [Neutral] 
icon_2134.png Spore Bomb 3  and
Error: Item not foundRecipe: Deadly Spore Bombs
 25    2934 councils   [Comfortable] 
Recipe: Coral Mushroom Smoothie  40    3070 councils   [Neutral] 

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.