Template:SMT2 Party Stats: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(10 intermediate revisions by the same user not shown)
Line 43: Line 43:
|colspan=3|
|colspan=3|
{| class="inner-table" style="width:100%;"
{| class="inner-table" style="width:100%;"
!style="width:calc(100%/6)"|[[Species]]
![[Species]]
!style="width:calc(100%/6)"|[[Race]]
![[Race]]
!style="width:calc(100%/6)"|[[Alignment#Shin Megami Tensei II|Alignment]]
![[Alignment#Shin Megami Tensei II|Alignment]]
!style="width:calc(100%/6)"|{{Tt|Cost|Summon Cost}}
!{{Tt|Cost|Summon Cost}}
!style="width:calc(100%/6)"|{{Tt|[[Magnetite|CP]]|Magnetite used while in party}}
!{{Tt|[[Magnetite|CP]]|Magnetite used while in party}}
!style="width:calc(100%/6)"|[[Skill Inheritance|Inheritance Type]]
![[Skill Inheritance|Inheritance Type]]
|-
|-
|{{{species|—}}}
|{{#switch:{{{race}}}
|Amatsu|Megami|Deity|Godly=God
|Fury|Lady|Kunitsu|Vile|Divine General=Kishin
|Yoma|Night|Fairy|Tyrant=Demonic
|Herald|Divine|Fallen=Flying
|Dragon|Snake|Drake=Dragon
|Avian|Flight|Raptor=Avian
|Avatar|Holy|Beast|Wilder=Beast
|Jirae|Brute|Femme|Jaki=Oni
|Element=Element
|Undead|Haunt|Spirit=Spirit
|Demonoid|Foul=Foul
|Messian|Gaean|Fiend|Ranger=Human
|Machine|Virus|Vaccine=Machine
|Wood=Dryad
|#default=—}}
|{{{raceredirect|[[{{{race|—}}}]]}}}
|{{{raceredirect|[[{{{race|—}}}]]}}}
|{{{alignment|}}}
|{{#switch:{{{race}}}
|{{#expr:{{{level}}} * 32}}
|Godly|Herald|Amatsu|Avian|Megami|Deity|Avatar|Holy|Element|Fury|Dragon|Lady|Kunitsu=Light
|Divine|Flight|Messian|Snake|Yoma|Beast|Night|Jirae|Fairy|Demonoid|Fallen|Brute|Femme|Gaean|Ranger=Neutral
|Vile|Raptor|Machine|Vaccine|Jaki|Wilder|Wood|Undead|Tyrant|Drake|Haunt|Spirit|Foul|Virus|Divine General|Fiend=Dark
}}-{{#invoke:NumberedAlignment|smt2|{{{alignment|{{#switch:{{{race|}}}
|Megami|Deity|Avatar|Holy|Element|Snake|Yoma|Beast|Night|Jirae|Fairy|Demonoid|Jaki|Wilder|Wood|Undead|=127
|Herald|Amatsu|Avian|Divine|Flight|Messian|Vile|Raptor|Machine|Vaccine=10
|Fallen|Brute|Femme|Gaean|Tyrant|Drake|Haunt|Spirit|Foul=240
|Fury|Dragon|Lady|Kunitsu=250
}}}}}}}
|{{M}}{{#expr:{{{level}}} * 32}}
|{{{cp|—}}}
|{{{cp|—}}}
|{{{inherit|—}}}
|{{{inherit|—}}}
Line 108: Line 132:
!Target
!Target
|-
|-
|—<!-- Leave as em dash until element data can be confirmed -->
|[[Sword (Attribute)|Sword]]
|{{{hit|1}}}
|{{{hit|1}}}
|Single enemy
|Single enemy

Latest revision as of 19:24, 27 September 2024

Purpose

Stat table template used to document the stats of ally Demons in Shin Megami Tensei II.

For the stats of enemy Demons, use Template:SMT2 Demon Stats instead. For bosses, use Template:SMT2 Boss Stats.

Usage

Stat tables are used in the Gameplay section on subject pages, or in their respective Gameplay page if available. It can be used with tabs to catalog different stat tables of the subject. Refer to the Gameplay guidelines for full instruction on using stat tables and tabs.

Parameter Explanation

{{SMT2 Party Stats
|img= Image subject name; defaults to "SMT2 PS (article name) Sprite.png" when omitted
|name= Name; defaults to article's name when omitted
|level= Level
|hp= HP
|mp= MP
|st= Strength
|in= Intelligence
|ma= Magic
|vi= Vitality
|ag= Agility
|lu= Luck
|location= Encounter location or obtain method
|race= Race
|raceredirect= Redirects the Race's link to another page or section
|alignment= The numerical value assigned to this demon's alignment
|cp= Antibody points; amount of Magnetite consumed while in party
|inherit= Inheritance Type
|resist= Resist Type
|moon= Moon Phase Type
|hit= Basic attack's number of hits
|magic= Known magic skills; use {{Skill}} to add skills
|extra= Known extra skills; use {{Skill}} to add skills
}}
Parameter Notes
img
Optional; not used when parameter is omitted. By default, the template will automatically add the Demon's sprite as [[File:SMT2 PS {{{PAGENAME}}} Sprite.png]]. The img= parameter can be used to input a different platform abbreviation and subject name to call the sprite from. This should be used if the Demon's in-game name differs from the article title, if the title has a discriminator in it, or if a sprite from a specific version of the game is required.

If the stat table is to be transcluded onto another page, then the img and name parameters must be used.
name
Optional; not used when parameter is omitted. By default, the template will automatically render the Demon's name the same as the article name. Use the name parameter if the Demon's name differs in-game or if the article title has a discriminator in it.

If the stat table is to be transcluded onto another page, then the img and name parameters must be used.
location
Optional; does not display when parameter is omitted. Displays where the Demon can be found or how to obtain. See the Gameplay guidelines for full instruction on listing locations.
race, raceredirect
Displays and automatically links to the Demon's Race by name.

If the Race has a different name in-game from the article or if the title has a discriminator in it, use raceredirect= to redirect the link to the appropriate Race page or section. The Race name entered in race= will therefore become the link's display name.
alignment
The Demon's numerical alignment value from 0 to 255. If you do not know the number, then just input "Law", "Neutral", or "Chaos". This parameter is filled in by default based on race, though demons added in the GBA version may differ and require manual input.
resist
In Shin Megami Tensei II, Demons do not have unique resistances but instead a resistance type. The resist= parameter requires only the resistance spread's ID number used by the Demon, which will automatically display the associated type. This data is stored in Template:Data/Type/SMT2. See the Gameplay guidelines for full instruction on documenting resistances.
moon
In Shin Megami Tensei II, a Demon's damage output is determined by the current Moon Phase. There are 12 Moon Phase Types, which each determine the damage output for each Moon Phase. The moon= parameter requires only the type spread's ID letter, which will automatically fill in the damage outputs for each Moon Phase.
hit
Used to render the number of hits the Demon's basic attack can inflict.
magic, extra
Use Template:Skill to add Magic and Extra Skills. E.g. {{Skill|SMT2|Agi}}. This stat table will display the skill name, attribute, cost, and description.

Skill information is called from Module:Data/Skill/smt2.

Code

All parameters
{{SMT2 Party Stats
|img=
|name=
|level=
|hp=
|mp=
|st=
|in=
|ma=
|vi=
|ag=
|lu=
|location=
|race=
|raceredirect=
|alignment=
|cost=
|cp=
|inherit=
|atk=
|acc=
|def=
|eva=
|matk=
|mefc=
|resist=
|moon=
|hit=
|magic=
|extra=
}}