User:Mistiryshak/sandbox10: Difference between revisions
Mistiryshak (talk | contribs) mNo edit summary |
Mistiryshak (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
When resistances are included in a stat table, the use of [[Template:Rst]] is employed in order to streamline the way such information is displayed and kept consistent throughout the wiki. Rst accepts a wide variety of inputs, but for most resistances, it is recommended to use the input closest to how the game displays it; for example, in a game that uses the shortening <code>Drn</code> to refer to elements that a Demon can absorb for HP, <code><nowiki>{{Rst|Dr}}</nowiki></code> should not be used. Instead, <code><nowiki>{{Rst|Drn}}</nowiki></code> is more appropriate. Similarly, the shortening <code>Rf</code> to refer to elements that a Demon can reflect back at the opponent for damage should not be used if the game in question uses <code>Rpl</code>. | When resistances are included in a stat table, the use of [[Template:Rst]] is employed in order to streamline the way such information is displayed and kept consistent throughout the wiki. Rst accepts a wide variety of inputs, but for most resistances, it is recommended to use the input closest to how the game displays it; for example, in a game that uses the shortening <code>Drn</code> to refer to elements that a Demon can absorb for HP, <code><nowiki>{{Rst|Dr}}</nowiki></code> should not be used. Instead, <code><nowiki>{{Rst|Drn}}</nowiki></code> is more appropriate. Similarly, the shortening <code>Rf</code> to refer to elements that a Demon can reflect back at the opponent for damage should not be used if the game in question uses <code>Rpl</code>. | ||
While adding information to character's stat table, only the | While adding information to a character's stat table, only the input is necessary. It is not necessary to write <code><nowiki>{{Rst|Drn}}</nowiki></code> and only <code>Drn</code> is required. However, <code>tri</code> can be appended to the input to denote that a resistance will still block secondary effects, such as the instakill effects on some skills. | ||
Additionally, some games will use specific multiplier values when determining how much damage an attack will do. These are referred to as ''fractionals'' and will generally be seen as a second set of resistance parameters on a given stat table. Within a stat table, fractionals can be expressed as either decimals or fractions; the usage of one or the other should be kept consistent across all stat tables for a given game. | Additionally, some games will use specific multiplier values when determining how much damage an attack will do. These are referred to as ''fractionals'' and will generally be seen as a second set of resistance parameters on a given stat table. Within a stat table, fractionals can be expressed as either decimals or fractions; the usage of one or the other should be kept consistent across all stat tables for a given game. | ||
Consider the following examples on how to use Rst. | Consider the following examples on how to use Rst when filling out stat tables. | ||
{| class="wikitable" | {| class="wikitable" | ||
! !! Scenario !! | ! !! Scenario !! Input !! Output !! Explanation | ||
|- | |- | ||
!rowspan=3 | {{Y}} '''Correct''' | !rowspan=3 | {{Y}} '''Correct''' | ||
Line 20: | Line 20: | ||
| Demon has a dark weakness, but is immune to dark-type instakills || <code><nowiki>dark=Wktri</nowiki></code> || dark={{Rst|Wktri}} || The triangle indicates that Dark instakills will not work on this target. | | Demon has a dark weakness, but is immune to dark-type instakills || <code><nowiki>dark=Wktri</nowiki></code> || dark={{Rst|Wktri}} || The triangle indicates that Dark instakills will not work on this target. | ||
|- | |- | ||
!rowspan= | !rowspan=4 | {{N}} '''Incorrect''' | ||
| Demon drains element || <code><nowiki>fire=Drain</nowiki></code> || fire= {{Rst|Drain}} || Drain is not used; it should be Dr or Drn. | | Demon drains element || <code><nowiki>fire=Drain</nowiki></code> || fire= {{Rst|Drain}} || Drain is not used; it should be Dr or Drn. | ||
|- | |- | ||
| Demon takes 150% damage || <code><nowiki>firefrac=125</nowiki></code><br/><code><nowiki>firefrac=Wk</nowiki></code> || firefrac= {{Rst|125}}<br/>firefrac={{Rst|Wk}} || The resistance must be expressed as either a decimal or a fraction.<br/>The parameter is a fractional, so a fractional input such as <code>1.25</code> must be used, rather than an affinity such as <code>Wk</code> or <code>Str</code>. | | Demon takes 150% damage || <code><nowiki>firefrac=125</nowiki></code><br/><code><nowiki>firefrac=Wk</nowiki></code><br/><code><nowiki>fire=1.25</nowiki></code> || firefrac= {{Rst|125}}<br/>firefrac={{Rst|Wk}}<br/>fire={{Rst|1.25}} || The resistance must be expressed as either a decimal or a fraction.<br/>The parameter is a fractional, so a fractional input such as <code>1.25</code> must be used, rather than an affinity such as <code>Wk</code> or <code>Str</code>.<br/>The parameter is ''not'' a fractional, so an affinity ''should'' be used. | ||
|- | |- | ||
| Demon has a dark weakness, but is immune to dark-type instakills || <code><nowiki>dark=Wk</nowiki></code> || dark={{Rst|Wk}} || <code>Wktri</code> must be used if the target nullifies secondary effects. | | Demon has a dark weakness, but is immune to dark-type instakills || <code><nowiki>dark=Wk</nowiki></code> || dark={{Rst|Wk}} || <code>Wktri</code> must be used if the target nullifies secondary effects. | ||
|- | |||
| Game uses shared resistance types || <code><nowiki>resist=Wk</nowiki></code> || resist={{Rst|Wk}} || For games using a shared pool of resistances, the identifier for that resistance type should be written instead of using a Rst input. | |||
|} | |} |
Revision as of 23:33, 20 June 2024
WIP AND SHOULD NOT BE CONSIDERED FINAL GUIDELINES
Resistances
When resistances are included in a stat table, the use of Template:Rst is employed in order to streamline the way such information is displayed and kept consistent throughout the wiki. Rst accepts a wide variety of inputs, but for most resistances, it is recommended to use the input closest to how the game displays it; for example, in a game that uses the shortening Drn
to refer to elements that a Demon can absorb for HP, {{Rst|Dr}}
should not be used. Instead, {{Rst|Drn}}
is more appropriate. Similarly, the shortening Rf
to refer to elements that a Demon can reflect back at the opponent for damage should not be used if the game in question uses Rpl
.
While adding information to a character's stat table, only the input is necessary. It is not necessary to write {{Rst|Drn}}
and only Drn
is required. However, tri
can be appended to the input to denote that a resistance will still block secondary effects, such as the instakill effects on some skills.
Additionally, some games will use specific multiplier values when determining how much damage an attack will do. These are referred to as fractionals and will generally be seen as a second set of resistance parameters on a given stat table. Within a stat table, fractionals can be expressed as either decimals or fractions; the usage of one or the other should be kept consistent across all stat tables for a given game.
Consider the following examples on how to use Rst when filling out stat tables.
Scenario | Input | Output | Explanation | |
---|---|---|---|---|
✔ Correct | Game uses symbols for affinity | fire=Drn |
fire= DrnDrain | Because the game uses symbols or icons, the abbreviation used defaults to Drn. |
Demon takes 150% damage | firefrac=1.50 firefrac=11/2 |
firefrac=×1.5 firefrac=×1½ |
Fractional weaknesses are expressed as either decimals or fractions. | |
Demon has a dark weakness, but is immune to dark-type instakills | dark=Wktri |
dark=WkWeak ▲Null Secondary Effects | The triangle indicates that Dark instakills will not work on this target. | |
✘ Incorrect | Demon drains element | fire=Drain |
fire= — | Drain is not used; it should be Dr or Drn. |
Demon takes 150% damage | firefrac=125 firefrac=Wk fire=1.25 |
firefrac= — firefrac=WkWeak fire=×1.25 |
The resistance must be expressed as either a decimal or a fraction. The parameter is a fractional, so a fractional input such as 1.25 must be used, rather than an affinity such as Wk or Str .The parameter is not a fractional, so an affinity should be used. | |
Demon has a dark weakness, but is immune to dark-type instakills | dark=Wk |
dark=WkWeak | Wktri must be used if the target nullifies secondary effects.
| |
Game uses shared resistance types | resist=Wk |
resist=WkWeak | For games using a shared pool of resistances, the identifier for that resistance type should be written instead of using a Rst input. |