User:RustyVanBurace/Sandbox5: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (Text replacement - "|-|+4}}" to " +4|-}}")
Tags: Mobile edit Mobile web edit
No edit summary
Line 1: Line 1:
==Purpose==
[[File:Megami Tensei Wiki.png|250px|right|class=white]]
Stat table template used to document the stats of ally Demons in {{Link|Game|SMT5}}.
The '''gameplay''' policy of [[Community:{{SITENAME}}|{{SITENAME}}]] outlines how gameplay information should be covered. This page also explains the usage of '''stat table templates''' and '''skill data modules'''.


For the stats of enemy encounters, use [[Template:SMT5 Demon Stats]] instead.
==General==
Gameplay coverage on the wiki should not be written as game guides and should not cover strategies, tips, or walkthroughs. They should only provide explanations of game mechanics or document essential data. Relatedly, their content should also avoid the use of "you" and other forms of breaking the [[Wikipedia:Fourth wall|fourth wall]]. Use of "the player" or "players" is appropriate when detailing mechanical or other out-of-universe gameplay information. In which case, "the player" or "players" must always be used over "you".


==Usage==
===Gameplay Sections===
Stat tables are used in the Gameplay section on Demon pages, or in their respective Gameplay page if available. It can be used with <code><nowiki><tabber></tabber></nowiki></code> tags to catalog different stat tables of the subject, particularly for enemy or boss versions of Demons. Refer to the [[Guidelines:Gameplay|Gameplay guidelines]] for full instruction on using stat tables and tabbers.
In many content pages, the Gameplay section covers any gameplay-related information pertinent to the subject. This can include stat tables for playable characters or Demons, encounter lists, item lists, shops or other local services, etc. The Gameplay section is usually one of the first sections on most pages, allowing users to readily find gameplay information without having to scroll too far down or through potentially spoilery sections below.


Parameters that are non-applicable to the subject, such as element/ailment resistances or Skill Potential, should be omitted from usage. This will automatically add an em dash to their fields.
Each game covered in this section should be given its own Level 3 subsection <code><nowiki>===Level 3===</nowiki></code>. Remasters or enhanced ports can have their own subsection if there is substantial difference from the original's gameplay information to warrant its own coverage, such as the addition of new mechanics. Otherwise, a [[#Tabbers|tabber]] can suffice for minor version differences, such as differing stats for stat tables or other lists.


===Parameter Explanation===
===Gameplay Pages===
If a subject's Gameplay section has over five subsections, particularly with stat tables or other intensive documentation, then the entire section's contents should be split into a separate Gameplay page. These pages have the <code>Gameplay:</code> prefix, such as <code>Gameplay:Jack Frost</code> or <code>Gameplay:Ann Takamaki</code>. They are linked to using [[Template:Gameplay]] <code><nowiki>{{Gameplay}}</nowiki></code> in the subject's Gameplay section.
 
Gameplay pages provide a dedicated space for documenting thorough information while keeping the main page brief. Gameplay pages can further organize its contents into series sections. For example:
<pre>
<pre>
{{SMT5 Party Stats
=={{Link|Series|SMT-}}==
|img= Image subject name; defaults to "SMT5 (article name) Icon.png" when omitted
==={{Link|Game|SMT1}}===
|name= Name; defaults to article's name when omitted
==={{Link|Game|SMT2}}===
|level= Base level
 
|st= Base strength
=={{Link|Series|P-}}==
|vi= Base vitality
==={{Link|Game|MIP}}===
|ma= Base magic
==={{Link|Game|P2IS}}===
|ag= Base agility
|lu= Base luck
|race= Race
|raceredirect= Redirects the Race's link to another page or section
|hp= Base HP
|mp= Base MP
|cost= Base compendium summoning cost
|fusioncondition= Condition criteria to unlock Demon in fusion
|gifttype= Gift Type
|location= Encounter location or obtain method
|physical= Resistance to the Phys element; use Wk, Rs, Nu, Dr, or Rp
|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
|physicalfrac= Fractional resistance to the Phys 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
|mirage= Resistance to the Mirage ailment; use Wk, Rs, Nu, Dr, or Rp
|sleep= Resistance to the Sleep ailment
|confusion= Resistance to the Confusion ailment
|charm= Resistance to the Charm ailment
|seal= Resistance to the Seal ailment
|poison= Resistance to the Poison ailment
|mud= Resistance to the Mud ailment
|shroud= Resistance to the Shroud ailment
|miragefrac= Fractional resistance to the Mirage ailment
|sleepfrac= Fractional resistance to the Sleep ailment
|confusionfrac= Fractional resistance to the Confusion ailment
|charmfrac= Fractional resistance to the Charm ailment
|sealfrac= Fractional resistance to the Seal ailment
|poisonfrac= Fractional resistance to the Poison ailment
|mudfrac= Fractional resistance to the Mud ailment
|shroudfrac= Fractional resistance to the Shroud ailment
|spphysical= Skill Potential with the Physical element
|spfire= Skill Potential with the Fire element
|spice= Skill Potential with the Ice element
|spelectric= Skill Potential with the Elec element
|spforce= Skill Potential with the Force element
|splight= Skill Potential with the Light element
|spdark= Skill Potential with the Dark element
|almighty= Skill Potential with the Almighty element
|ailment= Skill Potential with the Ailment element
|healing= Skill Potential with the Healing element
|support= Skill Potential with the Support element
|hit= Basic attack's number of hits
|element= Basic attack's element
|target= Basic attack's target range
|skills= Known and learnable skills; use {{Skill}} to add skills
}}
</pre>
</pre>


{| class="wikitable"
Characters with [[Social Link]] information in the {{Link|Series|P-}} should be given their own Gameplay games due to the highly comprehensive nature of this mechanic. See (Section Name) for more information.
|-
! Parameter !! Notes
|-
| <center>img</center> || <div style="padding:1em;">Optional; not used when parameter is omitted. By default, the template will automatically add the Demon's icon as <code><nowiki>[[File:SMT5 {{{PAGENAME}}} Icon.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;">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>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>cost</center>  || <div style="padding:1em;">Displays the base cost to summon the Demon from the [[Compendium]]. This cost should reflect the Demon's base stats without any alterations.</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 sidequest 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 sidequest conditions, this can be formatted as <code><nowiki>Clear "[[Sidequest Name]]"</nowiki></code>. For bosses, this can be formatted as <code><nowiki>Defeat [[Boss Name]]</nowiki></code>.</div>
|-
| <center>gifttype</center>  || <div style="padding:1em;">Displays the Demon's [[Gift Type]].</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. 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>Resistances</center>  || <div style="padding:1em;">Element and ailment 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.<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>Basic attack</center>  || <div style="padding:1em;">The <code>hit=</code>, <code>element=</code>, and <code>target=</code> parameters are used to render the Demon's basic attack description, which can be viewed by highlighting its basic attack during battle. By default, this is rendered as the default description: "1 attack with the Phys element to 1 enemy".</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|SMT5|Agi|-}}</nowiki></code>. Adding a hyphen in the level parameter will automatically add "Innate" to indicate a skill known by default.<br/><br/>Skill information is called from [[Module:Data/Skill/smt5]]. This stat table will display the skill name, cost, description (if available), and level learned at.</div>
|}
 
===Code===
;All parameters
<pre>
{{SMT5 Party Stats
|img=
|name=
|level=
|st=
|vi=
|ma=
|ag=
|lu=
|race=
|raceredirect=
|hp=
|mp=
|cost=
|fusioncondition=
|gifttype=
|location=
|physical=
|fire=
|ice=
|electric=
|force=
|light=
|dark=
|physicalfrac=
|firefrac=
|icefrac=
|elecfrac=
|forcefrac=
|lightfrac=
|darkfrac=
|mirage=
|sleep=
|confusion=
|charm=
|seal=
|poison=
|mud=
|shroud=
|miragefrac=
|sleepfrac=
|confusionfrac=
|charmfrac=
|sealfrac=
|poisonfrac=
|mudfrac=
|shroudfrac=
|spphysical=
|spfire=
|spice=
|spelectric=
|spforce=
|splight=
|spdark=
|almighty=
|ailment=
|healing=
|support=
|hit=
|element=
|target=
|skills=
}}</pre>
 
==Example==
<pre>
{{SMT5 Party Stats
|img=Jack Frost
|name=Jack Frost
|level=25
|st=14
|vi=15
|ma=29
|ag=21
|lu=21
|race=Fairy
|hp=119
|mp=153
|cost=8,568
|gifttype=Ice
|location=
|fire=Wk
|ice=Drn
|firefrac=1.25
|charm=Wk
|charmfrac=1.25
|spfire=-5
|spice=+4
|splight=+2
|skills={{Skill|SMT5|Jack Bufula +4|-}}
{{Skill|SMT5|Ice Breath +4|-}}
{{Skill|SMT5|Ice Block|26}}
{{Skill|SMT5|Mahama|27|+2}}
{{Skill|SMT5|Resist Light|28}}
}}</pre>
{{SMT5 Party Stats
|img=Jack Frost
|name=Jack Frost
|level=25
|st=14
|vi=15
|ma=29
|ag=21
|lu=21
|race=Fairy
|hp=119
|mp=153
|cost=8,568
|gifttype=Ice
|location=
|fire=Wk
|ice=Drn
|firefrac=1.25
|charm=Wk
|charmfrac=1.25
|spfire=-5
|spice=+4
|splight=+2
|skills={{Skill|SMT5|Jack Bufula +4|-}}
{{Skill|SMT5|Ice Breath +4|-}}
{{Skill|SMT5|Ice Block|26}}
{{Skill|SMT5|Mahama|27|+2}}
{{Skill|SMT5|Resist Light|28}}
}}

Navigation menu