Template:Minor Trainers

From Rejuvenation Wiki
Jump to navigation Jump to search

This page describes the usage of the Minor Trainers template, do not call this template directly as it is empty.

First template you're going to use is Template:Minor Trainers/header. This starts the table and has only 1 parameter, which sets a color scheme, this can be either a Pokémon type, or one of several location colors (see here). This should be used based on the terrain (general trainers) or gym type (for gym trainers).

Secondly: Template:Minor Trainers/entry.

This is the first complicated one. It has several arguments and the order below must be followed for it to work.
1. Trainersprite-filename
2. Trainerclass
3. Trainername
4. Prizemoney awarded; The Prize Money is calculated as follows:

highest level mon * Trainerclass modifier * player badge count

5. Number of Pokemon in party
6-10: Information of first party pokemon in order, dexnumber (for the icon), Pokémonname, Gender (M or F or B for both if undefined, ? if unknown, keep empty if genderless),Level, held item
11-15: same as above for 2nd Pokémon
16-20: same as above for 3rd Pokémon
21-25: same as above for 4th Pokémon
26-30: same as above for 5th Pokémon
31-35: same as above for 6th Pokémon
Note: the Pokémon entries are calling their own template Template:Minor Trainers/entry/Pokémon automatically. Do not add this template by yourself.
36: Usable item (healing items, generally), write as a hyperlink (if you want to link to the Potion page, you'd write: "Healing_Items#Potion|Potion" for Potion). Write 36= before this, if a trainer has less than 6 Pokémon.
37: Rematch marker, unused in Rejuvenation. This is a remnant from Bulbapedia's template, do not use it.

Example:
{{Minor Trainers/entry|Fisherman_TS.png|Fisherman|Connald|120|6|129|Magikarp|B|15||129|Magikarp|B|16||129|Magikarp|B|17||129|Magikarp|B|18||129|Magikarp|B|19||130|Gyarados|B|20|}}

Third template is Template:Minor Trainers/div. It's used to break up the table into sections, put in subheaders or switch colorscheme. It has 2 arguments: first is the color scheme (works the same as the header, and functions exactly the same, see point 1), 2nd is the text you'll find in the subheader.

{{Minor Trainers/div|Building|Aqua Building}}

Finally, Template:Minor Trainers/footer is used once you are finished with your table, set this template at the end. Like in the first template, the only argument here is the color scheme.