Our 2014 Christmas Contests have begun! Check the Bulbagarden Forums to find out how you could win 1 of 30 copies of ORAS!
Please remember to follow the manual of style and code of conduct at all times.
Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel #bulbagarden on irc.systemnet.info.

Template talk:Tutormv

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search

Documentation

This template is meant for use on the Move Tutor page to condense the move tables. It is used in conjunction with the {{tutormv/header}} template and two |} to create uniform, sortable lists of tutored moves. It supports all the different tables on the move tutor page, but adding an additional table type would likely require a change to tutormv/header.

Usage

Simply invoke tutormv/header, specify the table type and optional header, list the moves using tutormv (this template), and end everything with two |}.

For instance, the following code:

 {{tutormv/header|platinum|shard|no|disp=Route 212}}
 {{tutormv|ThunderPunch|Electric|cat=Physical|2|0|6|0}}
 {{tutormv|Mud-Slap|Ground|cat=Special|4|0|4|0|}}
 |}
 |}

produces the following sortable table:

Route 212
Move Type Cat. Shards
ThunderPunch  Electric  Physical 2 0 6 0
Mud-Slap  Ground  Special 4 0 4 0

The header template recognizes stad0, stad, crystal, xd, emerald, frlg, dp, platinum, hgss, bw and b2w2 as table types, and determines the table columns and header color using this required parameter. The second parameter is the type of currency required for the move tuition; it is set to the type of currency, or none if the tuition is free. The third parameter determines if the "Location" header will be used; yes makes it appear, no makes it disappear. The optional disp parameter adds a heading to the table; this is done by setting disp=<heading>.

Each tutormv move entry supports a number of ordered and named parameters. The first two ordered parameters are used for the move's name and type. The next four ordered parameters (3 through 6) are only used for the shard prices for tutors that require shards. The named parameters may be specified at any point in the parameter list, but the order of parameters should be kept consistent for ease of editing; the template will automatically place the named parameter in the correct column.

Named parameters include cat for the move's damage category, loc for the tutor's location, tm for the move's associated Generation I TM, hm for the move's associated Generation I HM, bp for the move's cost in Battle Points. The cat parameter automatically adds a link, but loc does not. The tm, hm, and bp parameters add text to the column, but only if the parameter's value is numeric (i.e., passing — as the value for one of these will cause "TM", "HM", or "BP" to be omitted).

Frontier Access

See how awkward the Frontier Access page looks in terms of location? ht14 03:41, 15 August 2010 (UTC)

Test text color change

Rationale: Black on blue is not legible.

  • Mmm.
  • Lessons:
    1. Eyes.
    2. Skill Link shouldn't be using this template anyway.
  • Someone should take this lesson to heart. Until next time, folks. --Raijinili (talk)
I've hidden the template to prevent links appearing on the wanted pages, Mmm. --Spriteit (talk) 12:05, 22 February 2013 (UTC)