Template:SMT4A Ally Demon Stats/Documentation: Difference between revisions

Jump to navigation Jump to search
m (Protected "Template:SMT4A Party Stats/Documentation" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (Text replacement - "SMT4A Party Stats" to "SMT4A Ally Demon Stats")
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Purpose==
==Purpose==
Table template used to document the stats of ally Demons in {{Link|Game|SMT4A}}.
Stat table template used to document the stats of ally Demons in {{Link|Game|SMT4A}}.


For the stats of stats of enemy encounters, which can differ from ally stats, use [[Template:SMT4A Demon Stats]] instead.
For the stats of enemy encounters, use [[Template:SMT4A Enemy Demon Stats]] instead. For bosses, use [[Template:SMT4A Boss Stats]].


==Usage==
==Usage==
This template is to be used in the <code>==Gameplay==</code> section on Demon pages, or in their respective <code>Gameplay:</code> page if available. It can be used with <code><nowiki><tabber></tabber></nowiki></code> tags to catalog different versions of the subject, particularly for bosses or enemy versions of Demons. Refer to the [[Guidelines:Gameplay#Tabbers|tabber guidelines]] for instruction.  
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 [[Guidelines:Gameplay|Gameplay guidelines]] for full instruction on using stat tables and tabs.


Parameters that are non-applicable to the subject, such as element or ailment resistances, should be omitted from usage.
Parameters that are non-applicable to the subject, such as element/ailment resistances or evolution, should be omitted from usage.
 
===Parameter Explanation===
<pre>
<pre>
{{SMT4A Party Stats
{{SMT4A Ally Demon Stats
|img= Image subject name
|img= Image subject name; defaults to "SMT4A (article name) Sprite.png" when omitted
|name= Name
|name= Name; defaults to article's name when omitted
|level= Base level
|level= Base level
|hp= Base HP
|mp= Base MP
|st= Base strength
|st= Base strength
|dx= Base dexterity
|dx= Base dexterity
Line 18: Line 22:
|ag= Base agility
|ag= Base agility
|lu= Base luck
|lu= Base luck
|location= Encounter location or obtain method
|race= Race
|race= Race
|raceredirect= Race redirect
|raceredirect= Redirects the Race's link to another page or section
|speech= Tone of speech used during Negotiation
|alignment= Alignment; indicate only as "Law", "Neutral", or "Chaos" according to dictionary screen
|hp= Base HP
|speech= The Demon's Speech Pattern
|mp= Base MP
|cost= Base compendium summoning cost
|hit= Basic attack's number of hits
|fusioncondition= Condition criteria to unlock Demon in fusion
|element= Basic attack's element
|target= Basic attack's target range
|effect= Basic attack's added effect, if any
|loc= Encounter location(s)
|physical= Resistance to the Phys element; use Wk, Rs, Nu, Dr, or Rp
|physical= Resistance to the Phys element; use Wk, Rs, Nu, Dr, or Rp
|gun= Resistance to the Gun element
|gun= Resistance to the Gun element
Line 52: Line 53:
|sick= Fractional resistance to the Sick ailment
|sick= Fractional resistance to the Sick ailment
|sleep= Fractional resistance to the Sleep ailment
|sleep= Fractional resistance to the Sleep ailment
|spphysical= Skill Affinity of the Physical element
|saphysical= Skill Affinity of the Physical element
|spgun= Skill Affinity of the Gun element
|sagun= Skill Affinity of the Gun element
|spfire= Skill Affinity of the Fire element
|safire= Skill Affinity of the Fire element
|spice= Skill Affinity of the Ice element
|saice= Skill Affinity of the Ice element
|spelectric= Skill Affinity of the Electric element
|saelectric= Skill Affinity of the Electric element
|spforce= Skill Affinity of the Force element
|saforce= Skill Affinity of the Force element
|splight= Skill Affinity of the Light element
|salight= Skill Affinity of the Light element
|spdark= Skill Affinity of the Dark element
|sadark= Skill Affinity of the Dark element
|spalmighty= Skill Affinity of the Almighty element
|almighty= Skill Affinity of the Almighty element
|spailment= Skill Affinity of the Ailment element
|ailment= Skill Affinity of the Ailment element
|spheal= Skill Affinity of the Heal element
|heal= Skill Affinity of the Heal element
|spsupport= Skill Affinity of the Support element
|support= Skill Affinity of the Support element
|evolvefrom= Previous evolution stage, if any
|evolvefrom= Previous Demon evolved from
|fromlevel= Level the previous stage evolves at
|fromlevel= Level the previous Demon evolves at
|evolveto= Next evolution stage, if any
|evolveto= Next Demon evolves into
|tolevel= Level the next stage evolves at
|tolevel= Level the Demon evolves at
|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 and learnable skills; use {{Skill}} to add skills
|skills= Known and learnable skills; use {{Skill}} to add skills
|}
}}
</pre>
</pre>


Line 76: Line 81:
! Parameter !! Notes
! Parameter !! Notes
|-
|-
| <center>img</center> || <div style="padding:1em;">By default, the template will automatically add the Demon's sprite as <code><nowiki>[[File:SMT4A {{{PAGENAME}}} Sprite.png]]</nowiki></code>. The <code>img=</code> 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 name.<br/><br/>As most Demon sprites are reused from ''Shin Megami Tensei IV'', redirects to the initial files should be created. I.e. <code>File:SMT4A Pixie Sprite.png</code> should redirect to <code>File:SMT4 Pixie Sprite.png</code>; make sure the filename spelling is exact and all name components are included.</div>
| <center>img</center>|| <div style="padding:1em;">Optional; not used when parameter is omitted. By default, the template will automatically add the Demon's sprite as <code><nowiki>[[File:SMT4A {{{PAGENAME}}} Sprite.png]]</nowiki></code>. The <code>img=</code> 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.<br/><br/>As most Demon sprites are reused from ''Shin Megami Tensei IV'', redirects to the initial files should be created. I.e. <code>File:SMT4A Pixie Sprite.png</code> should redirect to <code>File:SMT4 Pixie Sprite.png</code>; make sure the filename spelling is exact and all name components are included.<br/><br/>If the stat table is to be [[Guidelines:Gameplay#Transcluding Sections|transcluded]] onto another page, then the img and name parameters must be used.</div>
|-
| <center>name</center> || <div style="padding:1em;">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.<br/><br/>If the stat table is to be [[Guidelines:Gameplay#Transcluding Sections|transcluded]] onto another page, then the img and name parameters must be used.</div>
|-
| <center>location</center> || <div style="padding:1em;">Optional; does not display when parameter is omitted. Displays where the Demon can be found or how to obtain. See the [[Guidelines:Gameplay#Locations|Gameplay guidelines]] for full instruction on listing locations.</div>
|-
| <center>race, raceredirect</center> || <div style="padding:1em;">Displays and automatically links to the Demon's Race by name. Race can be viewed in the Demon's status screen or in Analyze.<br/><br/>If the Race has a different name in-game from the article or if the title has a discriminator in it, use <code>raceredirect=</code> to redirect the link to the appropriate Race page or section. The Race name entered in <code>race=</code> will therefore become the link's display name.</div>
|-
| <center>alignment</center> || <div style="padding:1em;">In ''Shin Megami Tensei IV'' and ''Apocalypse'', a Demon's Alignment is factored with the skills [[Holy Wrath]], [[Judgement (Skill)|Judgment]], and [[Sea of Chaos]]. Alignment can be viewed in the Demon's dictionary entry from its status screen. As only "Law", "Neutral", and "Chaos" are displayed, add just these.</div>
|-
|-
| <center>name</center> || <div style="padding:1em;">By default, the template will automatically render the Demon's name the same as the article name. Use the name parameter if the name differs in-game.</div>
| <center>cost</center> || <div style="padding:1em;">Displays the base cost to summon the Demon from the [[Demon Compendium|Compendium]]. This cost should reflect the Demon's base stats without any alterations.</div>
|-
|-
| <center>race / raceredirect</center> || <div style="padding:1em;">The race parameters displays the Demon's race, which can be viewed in the status screen or Analyze. The <code>race=</code> parameter will automatically link to the named race's page.<br/><br/>If the race has a different name in-game from the race page, use <code>raceredirect=</code> instead to manually link to the appropriate race page or section. This must be formatted with brackets.</div>
| <center>fusioncondition</center> || <div style="padding:1em;">Optional; does not display when parameter is omitted. Displays the conditional criteria needed to be able to fuse this Demon, such as clearing a Challenge Quest or defeating a boss. This parameter should be kept concise; any complicated explanations should be explained outside of the stat table in its own paragraph. For Challenge Quest conditions, this can be formatted as <code><nowiki>Clear "[[Challenge Quest Name]]"</nowiki></code>. For bosses, this can be formatted as <code><nowiki>Defeat [[Boss Name]]</nowiki></code>.</div>
|-
|-
| <center>Basic attack</center> || <div style="padding:1em;">The <code>hit=</code>, <code>element=</code>, <code>target=</code>, and <code>effect=</code> parameters are used to render the Demon's basic attack description. By default, this is rendered as the default description: "1 attack(s) with the Phys element / Target: 1 enemy / Add: None".</div>
| <center>Resistances</center> || <div style="padding:1em;">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 Final Official Complete Guide]]''. Ailment resistance parameters use fractional values only.<br/><br/>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 [[Guidelines:Gameplay#Resistances|Gameplay guidelines]] for full instruction on documenting resistances.</div>
|-
|-
| <center>loc</center>  || <div style="padding:1em;">Displays where the Demon can be found or how to obtain. Locations should be linked to and multiple methods separated by a semicolon, adhering to the [[Guidelines:Gameplay#Locations|Gameplay guidelines]].</div>
| <center>Skill Affinity</center>  || <div style="padding:1em;">Displays the Demon's [[Skill Affinity]], which can be viewed in the status screen. Format as <code>+1</code> or <code>-1</code>.</div>
|-
|-
| <center>Resistances</center>  || <div style="padding:1em;">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 Final Official Complete Guide]]''. Ailment resistance parameters use fractional values.<br/><br/>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).</div>
| <center>Evolution</center>  || <div style="padding:1em;">The <code>evolvefrom=</code>, <code>fromlevel=</code>, <code>evolveto=</code>, and <code>tolevel=</code> parameters are used to display evolution information if applicable to the Demon. The evolution row is hidden by default and is only displayed if any of its parameters are used.
|-
|-
| <center>Skill Affinities</center> || <div style="padding:1em;">Displays the Demon's Skill Affinities, which can be viewed in the status screen. Format as <code>+1</code> or <code>-1</code>.</div>
| <center>Basic attack</center> || <div style="padding:1em;">The <code>element=</code>, <code>hit=</code>, <code>target=</code>, and <code>effect=</code> parameters display information about the Demon's basic attack. This information can be viewed by highlighting its basic attack during battle.<br/><br/>When an element or status ailment are entered in the <code>element=</code> or <code>effect=</code> 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 [[Guidelines:Gameplay#Basic Attack|Gameplay guidelines]] for full instruction on formatting basic attack information.</div>
|-
|-
| <center>skills</center> || <div style="padding:1em;">Use [[Template:Skill]] to add skills and the level they are learned at, if applicable. Skill information is called from [[Template:Data/Skill/SMT4A]]. This stat table will display the skill name, cost, description, and level.</div>
| <center>skills</center> || <div style="padding:1em;">Use [[Template:Skill]] to add skills and the level they are learned at. E.g. <code><nowiki>{{Skill|SMT4A|Agi|-}}</nowiki></code>. Adding a hyphen in the level parameter will automatically add "Innate" to indicate a skill known by default. This stat table will display the skill name, cost, description (if available for that skill), and level learned at.<br/><br/>Skill information is called from [[Module:Data/Skill/smt4a]].</div>
|}
|}


===Code===
===Code===
;All parameters
<pre>
<pre>
{{SMT4A Party Stats
{{SMT4A Ally Demon Stats
|img=
|img=
|name=
|name=
|level=
|level=
|hp=
|mp=
|st=
|st=
|dx=
|dx=
Line 104: Line 120:
|ag=
|ag=
|lu=
|lu=
|location=
|race=
|race=
|raceredirect=
|raceredirect=
|alignment=
|speech=
|speech=
|hp=
|cost=
|mp=
|fusioncondition=
|hit=
|element=
|target=
|effect=
|loc=
|physical=
|physical=
|gun=
|gun=
Line 138: Line 151:
|sick=
|sick=
|sleep=
|sleep=
|spphysical=
|saphysical=
|spgun=
|sagun=
|spfire=
|safire=
|spice=
|saice=
|spelectric=
|saelectric=
|spforce=
|saforce=
|splight=
|salight=
|spdark=
|sadark=
|spalmighty=
|almighty=
|spailment=
|ailment=
|spheal=
|heal=
|spsupport=
|support=
|evolvefrom=
|evolvefrom=
|fromlevel=
|fromlevel=
|evolveto=
|evolveto=
|tolevel=
|tolevel=
|element=
|hit=
|target=
|effect=
|skills=
|skills=
|}
}}</pre>
</pre>
<noinclude>[[Category:Template Documentation]]</noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>

Latest revision as of 20:38, 9 October 2024

Purpose

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

For the stats of enemy encounters, use Template:SMT4A Enemy Demon Stats instead. For bosses, use Template:SMT4A 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 evolution, should be omitted from usage.

Parameter Explanation

{{SMT4A Ally Demon Stats
|img= Image subject name; defaults to "SMT4A (article name) Sprite.png" when omitted
|name= Name; defaults to article's name when omitted
|level= Base level
|hp= Base HP
|mp= Base MP
|st= Base strength
|dx= Base dexterity
|ma= Base magic
|ag= Base agility
|lu= Base luck
|location= Encounter location or obtain method
|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
|speech= The Demon's Speech Pattern
|cost= Base compendium summoning cost
|fusioncondition= Condition criteria to unlock Demon in fusion
|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
|charm= Fractional resistance to the Charm ailment
|daze= Fractional resistance to the Daze ailment
|mute= Fractional resistance to the Mute 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
|saphysical= Skill Affinity of the Physical element
|sagun= Skill Affinity of the Gun element
|safire= Skill Affinity of the Fire element
|saice= Skill Affinity of the Ice element
|saelectric= Skill Affinity of the Electric element
|saforce= Skill Affinity of the Force element
|salight= Skill Affinity of the Light element
|sadark= Skill Affinity of the Dark element
|almighty= Skill Affinity of the Almighty element
|ailment= Skill Affinity of the Ailment element
|heal= Skill Affinity of the Heal element
|support= Skill Affinity of the Support element
|evolvefrom= Previous Demon evolved from
|fromlevel= Level the previous Demon evolves at
|evolveto= Next Demon evolves into
|tolevel= Level the Demon evolves at
|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 and learnable 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:SMT4A {{{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.

As most Demon sprites are reused from Shin Megami Tensei IV, redirects to the initial files should be created. I.e. File:SMT4A Pixie Sprite.png should redirect to File:SMT4 Pixie Sprite.png; make sure the filename spelling is exact and all name components are included.

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. Race can be viewed in the Demon's status screen or 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 from its status screen. As only "Law", "Neutral", and "Chaos" are displayed, add just these.
cost
Displays the base cost to summon the Demon from the Compendium. This cost should reflect the Demon's base stats without any alterations.
fusioncondition
Optional; does not display when parameter is omitted. Displays the conditional criteria needed to be able to fuse this Demon, such as clearing a Challenge Quest or defeating a boss. This parameter should be kept concise; any complicated explanations should be explained outside of the stat table in its own paragraph. For Challenge Quest conditions, this can be formatted as Clear "[[Challenge Quest Name]]". For bosses, this can be formatted as Defeat [[Boss Name]].
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 Final 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.
Skill Affinity
Displays the Demon's Skill Affinity, which can be viewed in the status screen. Format as +1 or -1.
Evolution
The evolvefrom=, fromlevel=, evolveto=, and tolevel= parameters are used to display evolution information if applicable to the Demon. The evolution row is hidden by default and is only displayed if any of its parameters are used.
Basic attack
The element=, hit=, target=, and effect= parameters display information about the Demon's basic attack. This information can be viewed by highlighting its basic attack during battle.

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 and the level they are learned at. E.g. {{Skill|SMT4A|Agi|-}}. Adding a hyphen in the level parameter will automatically add "Innate" to indicate a skill known by default. This stat table will display the skill name, cost, description (if available for that skill), and level learned at.

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

Code

All parameters
{{SMT4A Ally Demon Stats
|img=
|name=
|level=
|hp=
|mp=
|st=
|dx=
|ma=
|ag=
|lu=
|location=
|race=
|raceredirect=
|alignment=
|speech=
|cost=
|fusioncondition=
|physical=
|gun=
|fire=
|ice=
|electric=
|force=
|light=
|dark=
|physfrac=
|gunfrac=
|firefrac=
|icefrac=
|elecfrac=
|forcefrac=
|lightfrac=
|darkfrac=
|bind=
|charm=
|daze=
|mute=
|panic=
|poison=
|sick=
|sleep=
|saphysical=
|sagun=
|safire=
|saice=
|saelectric=
|saforce=
|salight=
|sadark=
|almighty=
|ailment=
|heal=
|support=
|evolvefrom=
|fromlevel=
|evolveto=
|tolevel=
|element=
|hit=
|target=
|effect=
|skills=
}}