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

Updating.
No edit summary
(Updating.)
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}}.
 
For the stats of 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.
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==
==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 Demon 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 [[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 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
|vi= Vitality
|vi= Vitality
Line 18: Line 20:
|ag= Agility
|ag= Agility
|lu= Luck
|lu= Luck
|loc= Encounter location(s)
|race= Race
|race= Race
|raceredirect= Race redirect
|raceredirect= Redirects the Race's link to another page or section
|align= Alignment
|alignment= Alignment
|talk= Can the Demon be talked to during battle? Use Y for yes, N for no
|randomencounter= Can the Demon be randomly encountered? Use Y for yes, N for no
|location= Encounter location
|hp= HP
|hp= HP
|mp= MP
|mp= MP
|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 {{SkillOldEffect}} 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 icon 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.</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.</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>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>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>location</center> || <div style="padding:1em;">Optional; does not display when parameter is omitted. Displays where the Demon can be found. If the Demon can be encountered in multiple locations, list the earliest appearance in the parameter and all other subsequent appearances in an [[Template:Exp|Exp]] tooltip. See the [[Guidelines:Gameplay|Gameplay guidelines]] for full instruction on listing Demon locations.</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>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]].</div>
|-
|-
| <center>Magic and Extra</center> || <div style="padding:1em;">Use [[Template:SkillOldEffect]] to add Magic Skills and [[Template:SkillMTExtra]] for Extra Skills. These are called from [[Template:Data/Skill/KMT]]. This stat table will display the skill name, attribute, cost (for Magic Skills), and description or effect.</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 Demon Stats
Line 59: Line 67:
|ag=
|ag=
|lu=
|lu=
|loc=
|race=
|race=
|raceredirect=  
|raceredirect=
|align=
|alignment=
|talk=
|randomencounter=
|location=
|hp=
|hp=
|mp=
|mp=
|exp=
|macca=
|magnetite=
|moon=
|moon=
|resist=
|resist=
Line 70: Line 83:
|extra=
|extra=
}}
}}
</pre>
</pre><noinclude>
<noinclude>[[Category:Template Documentation]]</noinclude>
[[Category:Template Documentation]]</noinclude>