Template:Training/doc

From Darkan
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Training.
It contains usage information, categories, and other content that is not part of the original template page.

The Training template gives a sentence of the number of items needed (rounded up) to get to a particular goal level. Up to 4 items can be specified.

Usage

  {{Training
      |Skill     = name of skill
      |Goal      = target level
      |Level     = current level
      |Xp        = current experience points (alternative to Level)
      |Item      = item used for training (e.g dragon bones)
      |ItemXp    = experience gained for each item
      |ItemCost  = individual cost of item (in gold coins)
      |Item2     = alternative item 2
      |Item2Xp   = experience for alternative item 2
      |Item2Cost = individual cost of item 2 (in gold coins)
      |Item3     = alternative item 3
      |Item3Xp   = experience for alternative item 3
      |Item3Cost = individual cost of item 3 (in gold coins)
      |Item4     = alternative item 4
      |Item4Xp   = experience for alternative item 4
      |Item4Cost = individual cost of item 4 (in gold coins)
      |Color     = text color (defaults to black)
      |AndOr     = items are "and" or "or" (default "or")
  }}

Examples

The first example defines the current skill status using the Level parameter:

  {{Training
      |Skill    = [[Prayer]]
      |Goal     = 50
      |Level    = 43
      |Item     = [[Dragon bones]]
      |ItemXp   = 72
  }}

The example produces the following result:
Training to 50 Prayer requires 709 Dragon bones.

The second example defines the actual skill status by using the Xp parameter:

  {{Training
      |Skill    = [[Prayer]]
      |Goal     = 50
      |Xp       = 51234
      |Item     = [[Dragon bones]]
      |ItemXp   = 72
  }}

The example produces the following result:
Training to 50 Prayer requires 696 Dragon bones.

The third example defines multiple possible items:

  {{Training
      |Skill     = [[Prayer]]
      |Goal      = 50
      |Xp        = 51234
      |Item      = [[Dragon bones]]
      |ItemXp    = 72
      |ItemCost  = 2346
      |Item2     = [[Big bones]]
      |Item2Xp   = 15
      |Item2Cost = 398
      |Item3     = [[Bones|Normal bones]]
      |Item3Xp   = 4.5
      |Item3Cost = 92
  }}

The example produces the following result:
Training to 50 Prayer requires 696 Dragon bones (cost 1,633k), 3,340 Big bones (cost 1,329k) or 11,134 Normal bones (cost 1,024k).