Template:SMTif Enemy Demon Stats/Documentation

Revision as of 20:36, 30 August 2024 by RustyVanBurace (talk | contribs) (Text replacement - "Gameplay section on Demon pages" to "Gameplay section on subject pages")

Purpose

Stat table template used to document the stats of enemy Demons in Shin Megami Tensei if....

For the stats of allied Demons, use Template:SMTif Party Stats instead. For bosses, use Template:SMTif 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, particularly for ally or boss versions of Demons. Refer to the Gameplay guidelines for full instruction on using stat tables and tabs.

Parameter Explanation

{{SMTif Demon Stats
|img= Image subject name; defaults to "SMTif 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
|race= Race
|raceredirect= Redirects the Race's link to another page or section
|alignment= Alignment
|talk= Can the Demon be talked to during battle? Use Y for yes, N for no, NE for non-equal
|speech= The Demon's Speech Pattern
|randomencounter= Can the Demon be randomly encountered? Use Y for yes, N for no
|atk= Attack
|acc= Accuracy
|def= Defense
|eva= Evasion
|matk= Magic Attack
|mefc= Magic Effect
|exp= Base experience points
|macca= Base Macca drop, if any
|magnetite= Base Magnetite drop, if any
|drop= Item drop, if any
|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:SMTif 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 encountered. 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.
talk
Used to render a checkmark or X for whether the Demon can be Negotiated with. Add y for yes or n for no. For instances where a Demon can only be Negotiated with in certain areas, but not in others, add ne to render a non-equal sign. The location= parameter should then specify each location where Negotiation is not possible using an Exp tooltip. I.e. {{Exp|Cannot Negotiate with.}}.
resist
In Shin Megami Tensei if..., Demons do not have unique resistances but instead a resistance type. There are 66 types. 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/SMTif. See the Gameplay guidelines for full instruction on documenting resistances.
moon
In Shin Megami Tensei if..., a Demon's damage output is determined by the current Moon Phase. There are 14 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. All other aspects of basic attacks are shared between Demons.
magic, extra
Use Template:Skill to add Magic and Extra Skills. E.g. {{Skill|SMTif|Agi}}. This stat table will display the skill name, attribute, cost, and description (if available for that skill).

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

Code

All parameters
{{SMTif Demon Stats
|img=
|name=
|level=
|hp=
|mp=
|st=
|in=
|ma=
|vi=
|ag=
|lu=
|location=
|race=
|raceredirect=
|alignment=
|talk=
|speech=
|randomencounter=
|atk=
|acc=
|def=
|eva=
|matk=
|mefc=
|exp=
|money=
|magnetite=
|drop=
|resist=
|moon=
|hit=
|magic=
|extra=
}}

Example

{{SMTif Demon Stats
|name=Willy
|img=SFC Willy
|hp=22
|mp=25
|level=2
|st=1
|in=3
|ma=5
|vi=2
|ag=4
|lu=5
|location=[[Karukozaka High School]] 1F; [[Nomos of Earth]] B10F-B9F
|race=Fairy
|alignment=Neutral-Neutral
|atk=6
|acc=8
|def=8
|eva=9
|matk=5
|mefc=4
|resist=06
|hit=1
|magic=
{{Skill|SMTif|Agi}}
{{Skill|SMTif|Pulinpa}}
{{Skill|SMTif|Tarukaja}}
{{Skill|SMTif|Mapper}}
}}

Template:SMTif Demon Stats