Template:P4 Shadow Stats

Revision as of 19:04, 2 October 2024 by Mistiryshak (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Purpose

Stat table template used to document the stats of Shadows in Persona 4.

For the stats of Personas, use Template:P4 Persona Stats instead.

For Persona 4 Golden, use Template:P4G Shadow 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

{{P4 Shadow Stats
|name= Name; defaults to article's name when omitted
|level= Level
|hp= HP
|sp= SP
|st= Strength
|ma= Magic
|en= Endurance
|ag= Agility
|lu= Luck
|location= Encounter location
|arcana= Arcana
|exp= Base experience points
|yen= Base yen drop
|randomencounter= Can the Shadow 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
|phys= Resistance to the Phys element
|fire= Resistance to the Fire element
|ice= Resistance to the Ice element
|elec= Resistance to the Elec element
|wind= Resistance to the Wind element
|light= Resistance to the Light element
|darkness= Resistance to the Darkness element
|physfrac= Fractional resistance to the Pierce element
|firefrac= Fractional resistance to the Fire element
|icefrac= Fractional resistance to the Ice element
|elecfrac= Fractional resistance to the Elec element
|windfrac= Fractional resistance to the Wind element
|lightfrac= Fractional resistance to the Light element
|darknessfrac= Fractional resistance to the Darkness element
|almifrac= Fractional resistance to the Almi element
|panic= Fractional resistance to the Panic ailment
|poison= Fractional resistance to the Poison ailment
|fear= Fractional resistance to the Fear ailment
|rage= Fractional resistance to the Rage ailment
|dizzy= Fractional resistance to the Dizzy ailment
|exhaust= Fractional resistance to the Exhaust ailment
|enervate= Fractional resistance to the Enervate ailment
|silence= Fractional resistance to the Silence ailment
|skills= Known skills; use {{Skill}} to add skills
}}
Parameter Notes
name
Optional; not used when parameter is omitted. By default, the template will automatically render the Shadow's name the same as the article name. Use the name parameter if the Shadow'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 name parameter must be used.
location
Optional; does not display when parameter is omitted. Displays where the Shadow can be encountered. See the Gameplay guidelines for full instruction on listing locations.
drop, droprate
Displays the Shadow's potential item drops and their percentage rate. Shadows can have up to two potential item drops. If a Shadow 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, the second is used for precise fractional values. 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.

The Almi element does not have a resistance UI icon, however some Shadows have varying resistances to the Almi element regardless. almifrac= can be used to input its fractional resistance.
skills
Use Template:Skill to add skills. E.g. {{Skill|P4|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/p4.

Code

All parameters
{{P4 Shadow Stats
|name=
|level=
|hp=
|sp=
|st=
|ma=
|en=
|ag=
|lu=
|location=
|arcana=
|exp=
|yen=
|randomencounter=
|drop1=
|droprate1=
|drop2=
|droprate2=
|phys=
|fire=
|ice=
|elec=
|wind=
|light=
|darkness=
|physfrac=
|firefrac=
|icefrac=
|elecfrac=
|windfrac=
|lightfrac=
|darknessfrac=
|almifrac=
|panic=
|poison=
|fear=
|rage=
|dizzy=
|exhaust=
|enervate=
|silence=
|skills=
}}