Template documentation (for the above template, sometimes hidden or invisible)[edit] [purge]
For direct comparison between this template and the legacy templates, see {{Stats/testcases}}.

Stats template invokes the "stats" function of Lua module Skills to generate in-game statistics infobox of the individual. This template is created to replace the legacy game-specific stats templates.

Parameter 1 (game-specific theme)

The theme and the applicable parameters of the stats infobox are controlled by filling the unnamed parameter "1". Its legit values are the abbreviations of the games and the full list is in module:Gamedata. For example "mt1" stands for "Megami Tensei". The entry should be all lowercase letters: {{stats|mt1}}

For games of "enhanced" port or remake which have modified individual's data such as Persona 3 FES and Devil Survivor 2 Record Breaker, use their corresponding code like "p3f" and "desu2rb" respectively if the individual does not appear in the original. The style of the stats infobox will fallback to the original, but the code will help various things like auto-categorization.

General parameters

Barring the skill-related parameters and few more, most parameters of the stats infobox are identical to the legacy template of the corresponding game. For example, {{Stats|smt1|Race=Deity}} is literally the same as {{SMTstats|Race=Deity}} but {{stats|smt1|Arcana=Emperor}} is pointless because the "arcana" parameter is unavailable to "smt1" (Shin Megami Tensei) stats infobox even though it does to the Persona series.

Alternative parameter names are also provided, mostly for all-lowercase spelling. Some parameters which are literally similar to each other can be used interchangeably such as "vitality/vi-endurance/en" or "reflect-repel". A full list of all parameters can be found in module:Property names.

Skill-related parameters

Unlike the legacy stats templates, Only one "skills" (or "Skill1" for easy transition from the legacy template) to generate a full list of skills of the individual. Other parameters which use the following entry scheme are "fskills" (fusion spells), "Skillds" (D-source skill of Strange Journey) "Passive", "AucSkill", "AucPassives" (Devil Survivor series) and "items" (possible item drops in Strange Journey). To add new skill to the list, add the correct skill name on the new line after the previous skill name:

{{stats|p3|skill=Agi
Agidyne
Bufudyne}}

"Agi" in the above example can be returned to a new line as well for formatting but the result is the same.

Arcana Level
Strength --
Magic --
Endurance --
Agility --
Luck --
- ?
List of Skills
Skill Cost Effect Level
Agi 3 SP Deals light Fire damage to one foe.
Agidyne 12 SP Deals heavy Fire damage to one foe.
Bufudyne 16 SP Deals heavy Ice damage / Freezes one foe. (10% chance)

The legacy equivalence is:

{{P3stats
|Skill1=Agi
|Cost1=3 SP
|Effect1=Deals light Fire damage to one foe. 
|Skill2=Agidyne
|Cost1=12 SP
|Effect1=Deals heavy Fire damage to one foe. 
|Skill3=Bufudyne
|Cost1=16 SP
|Effect1=Deals heavy Ice damage / Freezes one foe. (10% chance) 
}}

The module will generate the cost and effect of the corresponding skill automatically. If there is any unrecognized skill name (so does wrong letter case) or empty line between skill names, the template will warn you to either correct the skill name in the template or modify the skill database. For example, {{stats|p3|skill=agi}} will result in:

Arcana Level
Strength --
Magic --
Endurance --
Agility --
Luck --
- ?
List of Skills
Skill Cost Effect Level
Invalid skill name of "agi". You may correct the skill name or modify module:Skills/P3 if needed.

The link in the warning message is the location of the database if you are sure the skill name is 100% correct and should be registered to the database. Copy the style of other skill entries in the database to add new entry. If there are skills of namesake with different effects, the skill entry name should be amended for distinction and add the "name" key with the value of the intended skill name. For example:

	['Summon (Spurious Book)'] = { --Corrupt Tower
		name = 'Summon',
		cost = ' - ',
		effect = 'Summons a [[Spurious Book]].',
	},
	['Summon (Soul Dancer)'] = { -- Brilliant Cyclops
		name = 'Summon',
		cost = ' - ',
		effect = 'Summons a [[Soul Dancer]].',
	},

Then use the "skill entry name" in the stats template.

In many games, the individual gains new skill under different condition, usually via gaining a new level, this information is given manually in the stats template by adding that condition (level) beside the skill name with a backslash (\) which serves as a separator so the module can recognize the condition entry. Usually the condition is added after the skill name:

{{stats|raidou2|Skill=
Bufu\Innate
Mabufu\14
Ice Bullet\15
Finders Keepers\Max Loyalty
}}
Order Level HP St Ma Vi Lu Conversation Investigation
- ?   - - - - -
Reflects Absorbs Block Resists Weak Frail
- - - - - -
List of Skills
Skill Cost Effect Level
Bufu 8 MAG Light Ice dmg to an enemy. Stun:Short Innate
Mabufu 12 MAG Medium Ice dmg to an area. Stun: Med 14
Ice Bullet 30 MAG Adds Ice dmg to gun attacks. Duration: Short 15
Finders Keepers Passive Find items while walking Max Loyalty

But for Personas in Megami Ibunroku Persona, Persona 2 duology and demons in Shin Megami Tensei IMAGINE, the condition (rank or level) is written before the skill name:

{{stats|p2is|Skill=
1\Bufu
3\Media
m\Bufudyne
r\Atomic Bufula
}}
Arcana Type Level SP cost Bonus Returns °
- ?
Atk Def Matk Mdef
Strength --
Vitality --
Dexterity --
Agility --
Luck --
? ? ? ?
List of Skills
Rank Skill Effect
1 Bufu Deal low Ice damage to one enemy. May freeze. (30% chance)
3 Media Recover low HP for all allies.
Mutation Bufudyne Deal high Ice damage to one enemy. May freeze. (30% chance)
Rumor Atomic Bufula Seems different from a normal Bufula... *


Skill Affinities of Shin Megami Tensei IV Apocalypse

The "specialty" parameter ("affinities" is not used due to conflict with other similarly named parameters) is available for demons in Shin Megami Tensei IV Apocalypse to display their Skill Affinities. The entry format is similar to "skills" parameter:

{{Stats|smt4a
|specialty=
phys\-2
ice\+4
light\+1
}}
Race Level HP MP
Strength --
Dexterity --
Magic --
Agility --
Luck --
- ? ? ?
Physical Phys Gun Gun Fire Fire Ice Ice Electricity Elec Force Force Light Light Dark Dark
- - - - - - - -
Ailment Resistance
Normal Attack
Skill Affinities Physical Physical -2 · Ice Ice +4 · Light Light +1


The spelling of skill type value is fixed without alternative:
phys/gun/fire/ice/elec/force/light/dark/almighty/ailment/heal/support

The modifier separated by a backslash from the skill type must be begin with either a plus + or minus - signs to allow the module to change the color of the modifier to either green (specialized) or red (penalized).

Parameter list

Always add |boss=1 in the template for boss so the template will add game-specific bosses category automatically and change the format of data cells accordingly.

Megami Tensei


{{Stats|mt1
|Image=
|Clan=
|Level=
|HP=
|EXP=
|Macca=
|MAG=
|STR=
|INT=
|HIT=
|AGI=
|DEF=
|Location=
|Skills=
}}
Megami Tensei II


{{Stats|mt2
|Image= 
|Clan= 
|Level= 
|HP= 
|MP= 
|Formations= 
|Macca= 
|CP= 
|STM= 
|INT= 
|ATK= 
|AGI= 
|DEF= 
|LUK= 
|Drops= 
|Skills=
}}
Kyūyaku Megami Tensei


{{Stats|kmt1
|Image= 
|Race= 
|Level= 
|HP= 
|MP= 
|CP= 
|VIT= 
|INT= 
|STR= 
|SPD= 
|LUK= 
|Def= 
|Exp= 
|Macca= 
|MAG= 
|Drop= 
|Resist= 
|Skills=
}}
Kyūyaku Megami Tensei II


{{Stats|kmt2
|Image= 
|Race= 
|Level= 
|HP= 
|MP= 
|CP= 
|VIT= 
|INT= 
|STR= 
|SPD= 
|LUK= 
|Def= 
|Location= 
|EXP= 
|Macca= 
|MAG= 
|Drop= 
|Resist= 
|Skills=
}}
Shin Megami Tensei, II, if..., 20XX and NINE


{{Stats
|smt1 or |smt2 or |smtif or |20xx or |smt9
|Image= 
|Level= 
|Race= 
|Alignment= 
|HP= 
|MP= 
|CP= (for allied demon)
|exp=
|Mag Drop= (for enemy/boss)
|NOA= 
|st= 
|in= 
|ma= 
|vi= 
|ag= 
|lu= 
|Atk= 
|Hit= 
|Def= 
|Eva= 
|Mpw= 
|Mef= 
|Drop= 
|Resist= 
|inherit= (for 20XX)
|Skills=
}}
Shin Megami Tensei III: Nocturne


{{Stats|smt3
|element= (for Magatamas)
|Level= (for demons)
|Race= 
|HP= 
|MP= 
|Str= 
|Mgc= 
|Vit= 
|Agi= 
|Luc= 
|Strong= 
|Void= 
|Drain= 
|Repel= 
|Weak= 
|Recruit= 
|obtain= Full description of obtaining method
|evolved from=
|evolves into=
|special fusion=
|special conversation=
|Skills=
}}

See template:SMTNstats#Values for Recruit parameter

Shin Megami Tensei: Strange Journey


{{Stats|smtsj
|Level= 
|Race= 
|Alignment= 
|HitPoints= 
|ManaPoints= 
|AttackType= 
|Strength= 
|Magic= 
|Vitality= 
|Agility= 
|Luck= 
|Physical= 
|Gun= 
|Fire= 
|Ice= 
|Electricity= 
|Wind= 
|Expel= 
|Curse= 
|Almighty= 
|Poison= 
|Paralyze= 
|Stone= 
|Strain= 
|Sleep= 
|Charm= 
|Mute= 
|Fear= 
|Bomb= 
|Rage= 
|skills=
|dskill=
|item=
|Password= 
}}
Shin Megami Tensei IV


{{Stats|smt4
|Race=
|Level=
|HP=
|MP=
|STR=
|DEX=
|MGC=
|AGI=
|LUC=
|Physical=
|Gun=
|Fire=
|Ice=
|Electricity=
|Force=
|Expel=
|Curse= 
|Ailmentresistance= 
|Normalattack= 
|Skills=
|Evolvedfrom= 
|Evolvedfromlevel= 
|Evolveinto= 
|Evolveintolevel= 
|Specialfusion= 
|Requiredquest= 
|Drop=
}}
Persona 5
{{stats|p5
|quote=<!--Persona fusion/boss intro quote-->
|boss=|enemy=<!--for cognitive mobs-->
|arcana=<!--hidden for boss/cognitive mob-->
|level=
|hp=
|sp=
|strength=
|magic=
|endurance=
|agility=
|luck=
<!--parameters for persona start-->
|inherit=
|repel=
|absorb=
|block=
|resist=
|weak=
|special fusion=
<!--parameters for persona end-->
<!--parameters for enemies/boss start-->
|trait=<!--personality type in negotiation-->
|phys=
|gun=
|fire=
|ice=
|elec=
|wind=
|psy=
|nuclear=
|expel=<!--Bless-->
|dark=<!--Curse-->
|almighty=
|xp=
|yen=
|material=<!--dropped items-->
|card=<!--skill cards-->
<!--parameters for enemies/boss end-->
|normal=
|rare=
|skills=
}}
Persona Q and Persona Q2


{{stats|PQ <!--change PQ to PQ2 for the sequel-->
|Level= 
|St= 
|Ma= 
|En= 
|Ag= 
|Lu= 
|Exp= 
|HP= 
|Attack= 
|Defense= 
|Drop1= 
|Drop2= 
|Drop3= 
|Cut= 
|Bash= 
|Stab= 
|Fire= 
|Ice= 
|Elec= 
|Wind= 
|Light= 
|Dark= 
|Almighty=
|KO= 
|Sleep= 
|Panic= 
|Poison= 
|Curse= 
|Para= 
|Down= 
|Ma Bind= 
|St Bind= 
|Ag Bind= 
|Skill=
|Boss= 
}}
Devil Children Black/Red/White Book
{{stats|dcbrb
|Image= 
|class= 
|element= <!--for Type-->
|type= <!--for Race-->
|exp= 
|lvl= 
|hp= 
|mp= 
|atk= 
|def= 
|mgc= 
|res= 
|spd= 
|lck= 
|Skill=
}}
Visit Template:Stats/doc to edit this text! (How does this work?)
Done editing it? Refresh this page! (Why?)
Community content is available under CC-BY-SA unless otherwise noted.