22,897
edits
Line 1: | Line 1: | ||
==Documentation== | ==Documentation== | ||
===Basic use=== | ===Basic use=== | ||
To use this module, do as follows: | To use this module, do as follows for most games: | ||
<pre>{{#invoke:CalculatedStats|<function>|<level>|<strength>|<intelligence>|<magic>|<vitality/endurance>|<agility>|<luck>}}</pre> | <pre>{{#invoke:CalculatedStats|<function>|<level>|<strength>|<intelligence>|<magic>|<vitality/endurance>|<agility>|<luck>}}</pre> | ||
For ''Persona 2: Innocent Sin'', do as follows for basic use: | |||
<pre>{{#invoke:CalculatedStats|<function>|<level>|<strength>|<vitality>|<dexterity>|<agility>|<luck>}}</pre> | |||
This module should not be invoked directly in the mainspace and should be part of a template, with the values filled with template parameters. | This module should not be invoked directly in the mainspace and should be part of a template, with the values filled with template parameters. | ||
Line 9: | Line 12: | ||
*<code>smt2</code> for ''Shin Megami Tensei II'' | *<code>smt2</code> for ''Shin Megami Tensei II'' | ||
*<code>smtif</code> for ''Shin Megami Tensei if...'' (alias for <code>smt2</code>) | *<code>smtif</code> for ''Shin Megami Tensei if...'' (alias for <code>smt2</code>) | ||
*<code>smtn</code> for ''Shin Megami Tensei: Nine'' | |||
*<code>desum</code> for ''Shin Megami Tensei: Devil Summoner'' | *<code>desum</code> for ''Shin Megami Tensei: Devil Summoner'' | ||
*<code>sh1</code> for ''Devil Summoner: Soul Hackers'' | *<code>sh1</code> for ''Devil Summoner: Soul Hackers'' | ||
*<code>p2is</code> for ''Persona 2: Innocent Sin'' | |||
===Platform=== | ===Platform=== | ||
Line 16: | Line 21: | ||
''Shin Megami Tensei: Devil Summoner'' by default shows both the Sega Saturn and PlayStation Portable values for Magic Defense. Set the named parameter <code>platform</code> to either <code>SAT</code> or <code>PSP</code> (case insensitive) to display only one of them. | ''Shin Megami Tensei: Devil Summoner'' by default shows both the Sega Saturn and PlayStation Portable values for Magic Defense. Set the named parameter <code>platform</code> to either <code>SAT</code> or <code>PSP</code> (case insensitive) to display only one of them. | ||
''Persona 2: Innocent Sin'' is similar to ''Devil Summoner'' but it applies for all stats. Set the named parameter <code>platform</code> to <code>PS</code> or <code>PSP</code> to show only one platform's set of stats. | |||
===Boss=== | ===Boss=== |