Module:CalculatedStats/doc
This is the documentation page for Module:CalculatedStats
Documentation
Basic use
To use this module, do as follows:
{{#invoke:CalculatedStats|<function>|<level>|<strength>|<intelligence>|<magic>|<vitality/endurance>|<agility>|<luck>}}
This module should not be invoked directly in the mainspace and should be part of a template, with the values filled with template parameters.
Valid values for function (case sensitive):
smt1
for Shin Megami Tenseismt1mcd
for Shin Megami Tensei (Mega-CD)smt2
for Shin Megami Tensei IIsmtif
for Shin Megami Tensei if... (alias forsmt2
)desum
for Shin Megami Tensei: Devil Summonersh1
for Devil Summoner: Soul Hackers
Boss
Shin Megami Tensei (Mega-CD) appears to use different stat calculations for bosses than it does for regular demons. Set the named parameter boss
to something (recommended: y
) to use the boss calculations.
Platform
Shin Megami Tensei: Devil Summoner by default shows both the Sega Saturn and PlayStation Portable values for Magic Defense. Set the named parameter platform
to either sat
or psp
(case insensitive) to display only one of them.
Manual stat inputting
Shin Megami Tensei, Shin Megami Tensei (Mega-CD), and Devil Summoner: Soul Hackers support manual input of stats through named arguments (which are st
, in
, ma
, vi
/en
, ag
, and lu
). This is because some of the calculations for Shin Megami Tensei (Mega-CD) and Devil Summoner: Soul Hackers are not yet perfect; regular Shin Megami Tensei supports manual input to retain backwards compatibility with current articles which do not yet have a platform argument filled in.