Help:Table templates

The table templates at this wiki are, quite simply, some of the most annoyingly complex templates EVER. These templates are used to aid in the creation of wikitables on pages where they are needed, like the Class series pages. They tend to be comprised of multiple templates; the most complex having no less than 6 individual templates. This page will help you understand how to use these templates.

Statistic Shift templates
There are three of these, all with very similar syntax. Template:Statshift and Template:Statheader are for the basic class series, such as the Wind Seer Class series. Template:Statshift2 and Template:Statheader2 are for classes available to at least two different elements of Adepts, such as the Ninja Class series. Finally, Template:Statshift4 and Template:Statheader4 are used for classes that require an item, and therefore are available to all Adepts, like the Dark Mage Class series. The syntax for each is below.

Syntax for and
The parameters are explained below:
 * class: The name of the class.
 * no: The number of Djinn required for this class. Use 0 if none are required.
 * elem: The element of the Djinn required for this class. You must use venus, mars, mercury, or jupiter exactly like that.  This code is needed to load an image, and will only work for those four values.
 * HP: The class's HP shift, in percent.
 * PP: The class's PP shift, in percent.
 * ATK: The class's attack shift, in percent.
 * DEF: The class's defense shift, in percent.
 * AGI: The class's agility shift, in percent.
 * LCK: The class's luck shift, in percent.

Syntax for and
The parameters are explained below:
 * adept1, adept2: The elements of the Adepts that can access this class.
 * class: The name of the class.
 * no1, no2: The number of Djinn required of elements 1 and 2 respectively for this class for the first Adept. Use 0 if none are required. If no1 is 0, then the table will assume that the class is unavailable for this Adept.
 * no3, no4: The number of Djinn required of elements 3 and 4 respectively for this class for the second Adept. Use 0 if none are required. If no3 is 0, then the table will assume that the class is unavailable for this Adept.
 * elem1, elem2: The element of the Djinn required for this class for the first Adept. You must use venus, mars, mercury, or jupiter exactly like that.  This code is needed to load an image, and will only work for those four values.
 * elem3, elem4: The element of the Djinn required for this class for the second Adept.
 * HP: The class's HP shift, in percent.
 * PP: The class's PP shift, in percent.
 * ATK: The class's attack shift, in percent.
 * DEF: The class's defense shift, in percent.
 * AGI: The class's agility shift, in percent.
 * LCK: The class's luck shift, in percent.

Syntax for and
The parameters are explained below:
 * class: The name of the class.
 * no: The number of Djinn required for this class. Use 0 if none are required.
 * HP: The class's HP shift, in percent.
 * PP: The class's PP shift, in percent.
 * ATK: The class's attack shift, in percent.
 * DEF: The class's defense shift, in percent.
 * AGI: The class's agility shift, in percent.
 * LCK: The class's luck shift, in percent.

Bestiary Templates
Bestiary templates collect data about monsters in a given area of Weyard and places them in convenient table form. There are three templates used in this table: Template:Bestihead, Template:Besti, and the special case Template:Bestid. (And if you want to criticize my choice of using "Besti" as the prefix here instead of "Best", think: do you really want to use the template ?)

Syntax
The parameters are explained below:
 * name: The name of the monster. It becomes a link, which should redirect to it's respective monster line.
 * HP: The monster's HP.
 * ATK: The monster's attack.
 * DEF: The monster's defense.
 * AGI: The monster's agility.
 * EXP: The amount of experience points you gain upon felling the monster.
 * C: The amount of coins you receive upon felling the monster.
 * drop: The item it drops, if any.

There is also an optional parameter: if you use the syntax  rather than just , the table's title will display "Bestiary of (location)", where (location) is whatever you typed in.

On
The template exists solely to get around disambiguation pages, such as Slayer (the name of a monster as well as a class). The syntax for this template is very similar: | just replaces another template. The only new parameter, link, is the name of the page you want the link to go to.

Shop Templates
The most obnoxious of the templates, the Shop Templates can use up to six different templates. They are used to make a table of a certain city's shops and what they sell. The templates used in this process are Template:Shead, Template:Sweapons, Template:Sarmor, Template:Sitems, Template:Sart, and Template:S.

Syntax
Pay attention, it's a doozy: The parameters:
 * item: The name of the item. You can wikilink this as needed.
 * class: What class the item is (ie. Long Sword, Ring, etc). There is a lot of coding that has gone into this parameter (thank you, #switch:!), and therefore, this parameter must be singular (except for Gloves and Clothing), and must be capitalized.
 * cost: How much it costs.
 * effect: What it does, from raising attack or defense to an unleash.

Notes on customizing the table
Due to the fact that certain towns may not have certain shops or carry artifacts, there are some guidelines you might want to take a look at. First of all, if the town does not sell artifacts of a certain type, why bother adding ? Similarly, if a town does not have a certain shop, don't include that shop.