Template:MT2 Enemy Demon Stats/Documentation: Difference between revisions

Jump to navigation Jump to search
(Created page with "==Purpose== Table template used to document the stats of enemy Demons, including bosses, in {{Link|Game|MT2}}. For ally Demons, use Template:MT2 Party Stats. This stat table is specifically designed for the original Famicom version of ''Digital Devil Story: Megami Tensei II''. For {{Link|Game|KMT}}, use Template:KMT Demon Stats instead. ==Usage== This template is to be used in the <code>==Gameplay==</code> section on Demon or character pages, or in their respec...")
 
m (Text replacement - "MT2 Party Stats" to "MT2 Ally Demon Stats")
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Purpose==
==Purpose==
Table template used to document the stats of enemy Demons, including bosses, in {{Link|Game|MT2}}. For ally Demons, use [[Template:MT2 Party Stats]].
Stat table template used to document the stats of enemy Demons, including bosses, in {{Link|Game|MT2}}.


This stat table is specifically designed for the original Famicom version of ''Digital Devil Story: Megami Tensei II''. For {{Link|Game|KMT}}, use [[Template:KMT Demon Stats]] instead.
For the stats of ally Demons use [[Template:MT2 Ally Demon Stats]].
 
This stat table is specifically designed for the original Famicom version of ''Digital Devil Story: Megami Tensei II''. For {{Link|Game|KMT}}, use [[Template:KMT Enemy Demon Stats]] instead.


==Usage==
==Usage==
This template is to be used in the <code>==Gameplay==</code> section on Demon or character 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. 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 should be omitted from usage.
===Parameter Explanation===
<pre>
<pre>
{{MT2 Demon Stats
{{MT2 Enemy Demon Stats
|img= Image subject name
|img= Image subject name; defaults to "MT2 (article name) Sprite.png" when omitted
|name= Name
|name= Name; defaults to article's name when omitted
|level= Level
|level= Level
|hp= HP
|mp= MP
|vi= Vitality
|vi= Vitality
|in= Intelligence
|in= Intelligence
|st= Strength
|at= Attack
|ag= Agility
|ag= Agility
|lu= Luck
|lu= Luck
|loc= Encounter location(s)
|location= Encounter location
|race= Race
|race= Race
|raceredirect= Race redirect
|raceredirect= Redirects the Race's link to another page or section
|align= Alignment
|alignment= Alignment
|hp= HP
|recruit= Can the Demon be recruited during battle? Use Y for yes, N for no, NE for non-equal
|mp= MP
|randomencounter= Can the Demon be randomly encountered? Use Y for yes, N for no
|moon= Moon Phase Aggression
|exp= Experience points
|macca= Macca drop
|magnetite= Magnetite drop, if any
|moon= Moon Phase aggression
|resist= Resist Type
|resist= Resist Type
|magic= Known Magic Skills; use {{SkillOld}} to add skills  
|magic= Known magic skills; use {{Skill}} to add skills
|extra= Known Extra Skills; use {{SkillMTExtra}} to add skills  
|extra= Known extra skills; use {{Skill}} to add skills
}}
}}
</pre>
</pre>
Line 35: Line 42:
! 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:MT2 {{{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.</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:MT2 {{{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/>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></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>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></div>
|-
|-
| <center>loc</center> || <div style="padding:1em;">Displays where the Demon can be encountered. These should be linked to and multiple locations separated by a semicolon, adhering to the [[Guidelines:Gameplay#Locations|Gameplay guidelines]].</div>
| <center>location</center> || <div style="padding:1em;">Optional; does not display when parameter is omitted. Displays where the Demon can be encountered. See the [[Guidelines:Gameplay#Locations|Gameplay guidelines]] for full instruction on listing locations.</div>
|-
|-
| <center>race / raceredirect</center> || <div style="padding:1em;">The race parameters displays the Demon's race. 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>race, raceredirect</center> || <div style="padding:1em;">Displays and automatically links to the Demon's Race by name.<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>Resist</center> || <div style="padding:1em;">In the Famicom ''Megami Tensei'' games, Demons do not have unique resistances. These are pulled from a shared pool of preset weakness spreads, here called "Resistance Type". ''Digital Devil Story: Megami Tensei II'' features 34 types. The <code>resist=</code> parameter only requires the weakness spread's ID number used by the Demon being cataloged. This data is stored in [[Template:Data/Type/MT2]].</div>
| <center>recruit</center> || <div style="padding:1em;">Used to render a checkmark or X for whether the Demon can be recruited through [[Negotiation]]. Add <code>y</code> for yes or <code>n</code> for no. For instances where a Demon can only be recruited in certain areas, but not in others, add <code>ne</code> to render a non-equal sign. The <code>location=</code> parameter should then specify each location where recruiting is not possible using an [[Template:Exp|Exp]] tooltip. I.e. <code><nowiki>{{Exp|Cannot recruit.}}</nowiki></code>.</div>
|-
|-
| <center>Magic and Extra</center> || <div style="padding:1em;">Use [[Template:SkillOld]] to add Magic Skills and [[Template:SkillMTExtra]] for Extra Skills. These are called from [[Template:Data/Skill/MT2]]. This stat table will display the skill name, attribute, cost (for Magic Skills), and description or effect.</div>
| <center>resist</center> || <div style="padding:1em;">In ''Digital Devil Story: Megami Tensei II'', Demons do not have unique resistances but instead a resistance type. The original Famicom version has 34 types. The <code>resist=</code> 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/MT2]]. See the [[Guidelines:Gameplay#Resistances|Gameplay guidelines]] for full instruction on documenting resistances.</div>
|-
| <center>magic, extra</center> || <div style="padding:1em;">Use [[Template:Skill]] to add Magic and Extra Skills. E.g. <code><nowiki>{{Skill|MT2|Agi}}</nowiki></code>. This stat table will display the skill name, attribute, cost, and effect.<br/><br/>Skill information is called from [[Module:Data/Skill/mt2]].</div>
|}
|}


===Code===
===Code===
;All parameters
<pre>
<pre>
{{MT2 Demon Stats
{{MT2 Enemy Demon Stats
|img=
|img=
|name=
|name=
|level=
|level=
|hp=
|mp=
|vi=
|vi=
|in=
|in=
|st=
|at=
|ag=
|ag=
|lu=
|lu=
|loc=
|location=
|race=
|race=
|raceredirect=  
|raceredirect=
|align=
|alignment=
|hp=
|recruit=
|mp=
|randomencounter=
|exp=
|macca=
|magnetite=
|moon=
|moon=
|resist=
|resist=
Line 70: Line 85:
|extra=
|extra=
}}
}}
</pre>
</pre><noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>
[[Category:Template Documentation]]</noinclude>

Latest revision as of 20:15, 9 October 2024

Purpose

Stat table template used to document the stats of enemy Demons, including bosses, in Digital Devil Story: Megami Tensei II.

For the stats of ally Demons use Template:MT2 Ally Demon Stats.

This stat table is specifically designed for the original Famicom version of Digital Devil Story: Megami Tensei II. For Kyūyaku Megami Tensei, use Template:KMT Enemy Demon Stats instead.

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

{{MT2 Enemy Demon Stats
|img= Image subject name; defaults to "MT2 (article name) Sprite.png" when omitted
|name= Name; defaults to article's name when omitted
|level= Level
|hp= HP
|mp= MP
|vi= Vitality
|in= Intelligence
|at= Attack
|ag= Agility
|lu= Luck
|location= Encounter location
|race= Race
|raceredirect= Redirects the Race's link to another page or section
|alignment= Alignment
|recruit= Can the Demon be recruited during battle? Use Y for yes, N for no, NE for non-equal
|randomencounter= Can the Demon be randomly encountered? Use Y for yes, N for no
|exp= Experience points
|macca= Macca drop
|magnetite= Magnetite drop, if any
|moon= Moon Phase aggression
|resist= Resist Type
|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:MT2 {{{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.

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.
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.}}.
resist
In Digital Devil Story: Megami Tensei II, Demons do not have unique resistances but instead a resistance type. The original Famicom version has 34 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/MT2. See the Gameplay guidelines for full instruction on documenting resistances.
magic, extra
Use Template:Skill to add Magic and Extra Skills. E.g. {{Skill|MT2|Agi}}. This stat table will display the skill name, attribute, cost, and effect.

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

Code

All parameters
{{MT2 Enemy Demon Stats
|img=
|name=
|level=
|hp=
|mp=
|vi=
|in=
|at=
|ag=
|lu=
|location=
|race=
|raceredirect=
|alignment=
|recruit=
|randomencounter=
|exp=
|macca=
|magnetite=
|moon=
|resist=
|magic=
|extra=
}}