User:Mistiryshak/sandbox4

Jump to navigation Jump to search

THIS IS A DRAFT AND SHOULD NOT BE CONSIDERED FINAL GUIDELINES


When entering skill data into modules, each value must follow a specific set of consistency guidelines. A full skill data table may look like this:

['lunge'] = {
attribute = 'phys',
attribute_link = 'sword (attribute)',
damage_attribute = 'almighty',
damagetype = 'Physical',
effect = 'Inflicts damage.',
cost = 14,
costtype = 'HP',
target = 'Single',
hit = '1',
power = '145',
powerlvl = 'Light',
crit = '?',
acc = '?',
range = 'Melee',
skilltype = 'Magic',
inbattle = 'y',
outbattle = 'n',
description = 'Light Phys attack. (1 Enemy)',
description_ja = '日本語',
notes= 'Power scales with Boost.',
name = 'Lunge',
link = 'Deathbound',
name_note = 'Enemy-exclusive',
effect_note = 'Lunge',
},

Each skill is separated into a skill data table, which begins with ['name of skill'] = {. The name of the skill must be written in lower-case, and any skills which use an apostrophe must either be encased in double quotes (["thor's judgment"]) or use an escape character such as \ (['thor\'s judgment']), as otherwise the table will not function correctly. Following the end of each parameter, a comma must also be used or the module will interpret the next parameter as being part of the value for the first. Finally, at the end of the table, }, must be written before the start of the next set of skill data, unless it is the final skill in the module.

Parameter guidelines
Parameter Description
attribute The elemental attribute of the skill. This must be written in lowercase, like the skill name. It is responsible for both identifying which icon to use for skills and, in nearly all cases, the damage attribute. Note that for the purposes of the skill data, passive, healing, and support count as attributes.
attribute_link Sets the link for the attribute if it would otherwise link to an unrelated article, for example, Charge (the skill) rather than Charge (Attribute) (the skill attribute).
damage_attribute This parameter is only used if the attribute of a skill does not match the icon, such as for Unison Skills in Persona Q2. Like attribute, this parameter must be written in lowercase. If the parameter is unnecessary, it may be omitted from the data for a specific skill. This is primarily required for Template:Skill Effect.
damagetype The damage type of the skill. Add "Physical" if a physical skill; "Magical" if a magic skill; "Healing" if it does healing, and "Status" if a skill that inflicts a status ailment, buff, or debuff. Otherwise, leave blank. Damage types should also not be used for elemental damage. The "damage type" of a skill influences the kind of damage it does and how it will behave, such as whether or not it will be affected by Tetrakarn or Makarakarn, and whether or not it is capable of naturally landing a critical hit.
effect The effect of the skill when used. This should be kept concise; lengthier explanations of skill mechanics should not go into the skill data but rather in a dedicated Mechanics subsection on the skill's page. It also should not be used for descriptions of unlock conditions for special skills or skill exclusivity.
cost The skill's cost to use as a numerical value. Unlike other parameters, this does not need to be placed within apostrophes and can be rendered as a pure number, for example; cost = 25 rather than cost = '25'.
costtype The cost type of a skill, i.e. HP, MP, SP, PM. For skills whose sole cost is a full gauge, i.e. Theurgy and Magatsuhi Skills, this parameter may be left blank.
target The targeting range of the skill's effects, if applicable. Not to be confused with range. Target should be formatted as follows, depending on the skill:
Enemies: Single enemy, Enemy group, All enemies, Random enemies.
Party: Single ally, Self, Party.
hit The number of hits the skill inflicts, if applicable. For multiple hits, format as 1-5. This must be placed within apostrophes, or the data for multiple hits will instead be interpreted as math, for example, 1-5 will be output as -4.
power The skill's base power using hard numbers, if applicable.
powerlvl The power level description of the skill, if applicable. This reflects the listed in-game power scaling: Light / Weak, Moderate / Medium, Heavy, Severe, etc. If the skill has no such description, do not use this parameter.
crit The skill's critical rate. Formatted as x%.
acc The skill's accuracy. Formatted as x%.
range The skill's range of usage. Separate from the range of targets that will be affected by a skill, which is covered by target. Range is used when a skill is unable to target all possible targets due to game mechanics such as row-based or grid-based battle systems. Range should be formatted as follows:
Row-based: Front row, Pierce, All, Back row. If a skill's range is affected by caster's row or has a splash effect, this should instead be listed in the effect parameter.
Grid-based: Self, Team, Map, Party. For map skills, also list the grid range, i.e. Map (2-5).
For Megami Ibunroku Persona, use the code from Template:MIPRange.
skilltype The skill's type, such as Magic, Extra, Theurgy, Fusion, Magatsuhi Skill, Showtime, Commander, and so forth. For skills that do not fall into a special category, they are considered to be Magic. Skill types are not for subtypes or categories such as Dark or Nerve; they are specifically meant to distinguish between skills which are standard magic and skills which have unique mechanics.
inbattle Can the skill be used in battle? y for yes, n for no.
outbattle Can the skill be used outside of battle? y for yes, n for no.
description The skill's in-game description, if applicable. For Megami Ibunroku Persona, include a second parameter, rpdescription, for the description in Revelations: Persona.
description_ja The skill's in-game description in the original Japanese, if applicable.
notes For short notes on a skill that do not fit elsewhere. This should not be used for detailed, in-depth explanations of skill effects, which should be placed on the skill page; rather it is used for brief anecdotes on additional properties of a skill.
name Sets the display name of the skill. This should be rendered with the proper capitalization as seen in-game. For Megami Ibunroku Persona, include a second parameter, rpname, for the name in Revelations: Persona. The name must also escape any apostrophes or be encased with double quotes if it is required for the name of the skill at the beginning of skill data.
link Sets the target page for the link, if different from the skill name; i.e. pointing to Fire (Skill) instead of Fire.
name_note Places Template:Exp after the name of the skill, which will display the text entered as the parameter's value as a tooltip. Also used in rare instances where notes need to be displayed on skill lists for stat tables.
effect_note Places Template:Exp after the name of the game when the skill is called in Template:Skill Effect, for differentiating between two versions of the same skill in the same game. Omit this parameter if it is not needed.

Code

[''] = {
attribute = '',
attribute_link = '',
damagetype = '',
effect = '',
cost = ,
costtype = '',
target = '',
hit = '',
power = '',
powerlvl = '',
crit = '',
acc = '',
range = '',
skilltype = '',
inbattle = '',
outbattle = '',
description = '',
notes= '',
name = '',
link = '',
name_note = '',
},