Template:SMT4 Enemy Demon Stats

Revision as of 01:48, 24 July 2024 by Mistiryshak (talk | contribs)
Jump to navigation Jump to search

Purpose

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

For the stats of allied Demons, use Template:SMT4 Ally Demon Stats instead. For bosses, use Template:SMT4 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.

Parameters that are non-applicable to the subject, such as element/ailment resistances or item drop slots, should be omitted from usage.

Parameter Explanation

{{SMT4 Enemy Demon Stats
|img= Image subject name; defaults to "SMT4 (article name) Sprite.png" when omitted
|name= Name; defaults to article's name when omitted
|level= Level
|hp= HP
|mp= MP
|st= Strength
|dx= Dexterity
|ma= Magic
|ag= Agility
|lu= Luck
|location= Encounter location
|race= Race
|raceredirect= Redirects the Race's link to another page or section
|alignment= Alignment; indicate only as "Law", "Neutral", or "Chaos" according to dictionary screen
|exp= Base experience points
|recruit= Can the Demon be recruited 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
|drop1= First kind of item drop, if any
|droprate1= Percentage rate for first item dropping
|drop2= Second kind of item drop, if any
|droprate2= Percentage rate for second item dropping
|drop3= Third kind of item drop, if any
|droprate3= Percentage rate for third item dropping
|physical= Resistance to the Phys element; use Wk, Rs, Nu, Dr, or Rp
|gun= Resistance to the Gun element
|fire= Resistance to the Fire element
|ice= Resistance to the Ice element
|electric= Resistance to the Elec element
|force= Resistance to the Force element
|light= Resistance to the Light element
|dark= Resistance to the Dark element
|physfrac= Fractional resistance to the Phys element
|gunfrac= Fractional resistance to the Gun element
|firefrac= Fractional resistance to the Fire element
|icefrac= Fractional resistance to the Ice element
|elecfrac= Fractional resistance to the Elec element
|forcefrac= Fractional resistance to the Force element
|lightfrac= Fractional resistance to the Light element
|darkfrac= Fractional resistance to the Dark element
|bind= Fractional resistance to the Bind ailment
|panic= Fractional resistance to the Panic ailment
|poison= Fractional resistance to the Poison ailment
|sick= Fractional resistance to the Sick ailment
|sleep= Fractional resistance to the Sleep ailment
|element= Basic attack's element
|hit= Basic attack's number of hits
|target= Basic attack's target range
|effect= Basic attack's effect
|skills= Known 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:SMT4 {{{PAGENAME}}} Sprite.png]]. The img= parameter inputs a different subject name to call the sprite from. This should be used if the Demon's in-game name differs from the article title, or if the 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.
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. Race can be viewed in Analyze.

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
In Shin Megami Tensei IV and Apocalypse, a Demon's Alignment is factored with the skills Holy Wrath, Judgment, and Sea of Chaos. Alignment can be viewed in the Demon's dictionary entry through Analyze. As only "Law", "Neutral", and "Chaos" are displayed, add just these.
recruit
Used to render a checkmark or X for whether the Demon can be recruited through Negotiation. Add y for yes or n for no. For instances where a Demon can only be recruited in certain areas, but not in others, add ne to render a non-equal sign. The location= parameter should then specify each location where recruiting is not possible using an Exp tooltip. I.e. {{Exp|Cannot recruit.}}.
drop, droprate
Displays the Demon's potential item drops and their percentage rate. Demons can have up to three potential item drops. If a Demon carries fewer items, omit the unused drop parameters to automatically add an em dash.
Resistances
Element resistance parameters have two sets of rows: the first is used for the in-game resistance UI (Wk, Rs, Nu, Dr, Rp), the second is used for precise fractional values reflecting data found in the Shin Megami Tensei IV Official Complete Guide. Ailment resistance parameters use fractional values only.

The fraction parameters default to ×1 to indicate neutral resistance. Fractions are added by inputting the equivalent numerical value (i.e. "2" for ×2, "1.5" for ×1.5, etc). See the Gameplay guidelines for full instruction on documenting resistances.
Basic attack
The element=, hit=, target=, and effect= parameters display information about the Demon's basic attack.

When an element or status ailment are entered in the element= or effect= parameters, respectively, the stat table will automatically link to it. By default, the stat table will render the most common data: Phys element, 1 hit, 1 enemy, and no effect. See the Gameplay guidelines for full instruction on formatting basic attack information.
skills
Use Template:Skill to add skills. E.g. {{Skill|SMT4|Agi}}. This stat table will display the skill name, cost, and description (if available for that skill).

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

Code

All parameters
{{SMT4 Enemy Demon Stats
|img=
|name=
|level=
|hp=
|mp=
|st=
|dx=
|ma=
|ag=
|lu=
|location=
|race=
|raceredirect=
|alignment=
|exp=
|recruit=
|speech=
|randomencounter=
|drop1=
|droprate1=
|drop2=
|droprate2=
|drop3=
|droprate3=
|physical=
|gun=
|fire=
|ice=
|electric=
|force=
|light=
|dark=
|physfrac=
|gunfrac=
|firefrac=
|icefrac=
|elecfrac=
|forcefrac=
|lightfrac=
|darkfrac=
|bind=
|panic=
|poison=
|sick=
|sleep=
|element=
|hit=
|target=
|effect=
|skills=
}}