User:RustyVanBurace/Sandbox5: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 109: Line 109:
Skills will be added so long as the game's skill data module exists and the skill's information is available. If either of these do not exist, the Skill template will result in a Lua error.
Skills will be added so long as the game's skill data module exists and the skill's information is available. If either of these do not exist, the Skill template will result in a Lua error.


Errors can potentially arise from misspelled skills. Make sure that skills are properly spelled, '''including any accents if present.''' Some games have multiple variations of skills with the same name; in these cases, skill data modules differentiate each variant by giving them an additional label, such as a number, element, or a character's name. It is advised to look over a game's skill data module before adding skill variants.
Errors can potentially arise from misspelled skills. Make sure that skills are properly spelled, '''including any accents if present.''' Some games have multiple variations of skills with the same name; in these cases, skill data modules differentiate each variant by adding a discriminator to their label. It is advised to look over a game's skill data module before adding skill variants.


==Skill Data Modules==
==Skill Data Modules==
Line 118: Line 118:
Skills must be added to modules in a certain format in order to avoid Lua errors. This tends to look like:
Skills must be added to modules in a certain format in order to avoid Lua errors. This tends to look like:
<pre>
<pre>
['skill name in lowercase'] = {
['skill label in lowercase'] = {
     attribute = 'attribute name',
     attribute = 'attribute name',
     effect = 'Effect explanation.',
     effect = 'Effect explanation.',
Line 124: Line 124:
     costtype = 'Cost type',
     costtype = 'Cost type',
     description = 'In-game description.',
     description = 'In-game description.',
     name = 'Skill Name'
     name = 'Skill Display Name'
},
},
</pre>
</pre>
<code><nowiki>},</nowiki></code> is used to separate each additional skill. With the exception of numbers, data entered into parameters must be enclosed by apostrophes. All parameters must be closed with a comma. If any parameters are entered incorrectly, the editor will highlight the error and require this be fixed before the module can be saved. If there is a possessive case in a skill name or description (such as Impaler's Animus), a backlash should be added before the apostrophe. For example: <code>Imapaler\'s Animus</code>.  
<code><nowiki>},</nowiki></code> is used to separate each additional skill. Skills are given a label in lowercase on the first line, which is the name that the Skill template will call a skill by. This label should generally be identical to the skill's in-game name, including any accents. Some games, however, have multiple variants of a skill with the same name. In these cases, each variant should be given a differentiator in their label, such as a number, an attribute, or a character's name. This allows the Skill template to reliably call specific variants of a skill. The skill's display name should otherwise remain how it is titled in-game.
 
With the exception of numbers, data entered into parameters must be enclosed by apostrophes. All parameters must be closed with a comma. If any parameters are entered incorrectly, the editor will highlight the error and require this be fixed before the module can be saved. If there is a possessive case in a skill name or description (such as Impaler's Animus), a backlash must be added before the apostrophe. For example: <code>Imapaler\'s Animus</code>.  


Because the Skill template and skill data modules are made to be universal, skill data parameters must be kept consistent with each module on the wiki. Inconsistently named parameters will cause Lua errors. Some common skill data parameters are listed below.
Because the Skill template and skill data modules are made to be universal, skill data parameters must be kept consistent with each module on the wiki. Inconsistently named parameters will cause Lua errors. Some common skill data parameters are listed below.
Line 138: Line 140:
|-
|-
|'''name'''
|'''name'''
|The name of the skill. Will also act as the '''link''' of a skill if that is not manually set.
|The display name of the skill. Will also act as the '''link''' of a skill if that is not manually set.
|Always necessary
|Always necessary
|-
|-
Line 386: Line 388:
===Rank Up Events===
===Rank Up Events===
</pre>
</pre>
For the most part, changes to Social Links between the original version of a game and its enhanced remaster may share the same section, with a clear distinction made where content is exclusive to a remaster. In these cases, the game section should remain titled as the original version (as this is the base game that enhanced remasters are based upon). Remaster-exclusive content can be denoted either within a tab's name in parentheses or in an [[Template:Exp|Exp tooltip]], whichever is more appropriate for the information covered.

Navigation menu