User:RustyVanBurace/Sandbox5: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:Megami Tensei Wiki.png|250px|right|class=white]]
[[File:Megami Tensei Wiki.png|250px|right|class=white]]
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'''.
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'''.
The guidelines presented here are meant to serve as a guiding example and are not indicative of how to handle every gameplay-related matter on the wiki.


==General==
==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".
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, gameplay content must be written in an encyclopedic tone and avoid the use of "you". Use of "the player" or "players" is appropriate when detailing gameplay systems or other out-of-universe information. Otherwise, when covering in-universe gameplay elements such as stores or locations, it is preferable to refer to the player as the game's protagonist or party.


===Gameplay Sections===
===Gameplay Sections===
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.
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.


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.
Each game covered in this section should be given its own Level 3 subsection <code><nowiki>===Level 3===</nowiki></code>. Games should be listed in the order defined in the [[Guidelines:Media Order|media order guidelines]], from series order, sub-series order, and finally by game order. 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 [[#Tabs|tab]] can suffice for minor version differences, such as differing stats for stat tables or other lists.


===Gameplay Pages===
===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.
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 provide a dedicated space for documenting thorough gameplay information while keeping the main page brief.
 
Gameplay 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:
For characters and Demons who reoccur across more than one ''Megami Tensei'' series, it is advised to order Gameplay pages by series using this example outline:
<pre>
<pre>
=={{Link|Series|SMT-}}==
=={{Link|Series|SMT-}}==
Line 22: Line 28:
==={{Link|Game|MIP}}===
==={{Link|Game|MIP}}===
==={{Link|Game|P2IS}}===
==={{Link|Game|P2IS}}===
</pre>
However, for characters who only appear in one series, the series sections are not necessary and the game sections may be formatted as Level 2 subsections <code><nowiki>==Level 2==</nowiki></code> instead.
Characters with [[Social Link]] information in the {{Link|Series|P-}} should be given their own Gameplay pages due to the highly comprehensive nature of this mechanic. See the [[#Social Links|Social Links]] section for more information.
==Listings==
{{Main|[[Guidelines:Listings|Listing guidelines]]}}
For most of the wiki, gameplay data is compiled into referential lists.
Most video games will usually have a number of dedicated list pages for listing various related content contained within them. These lists are linked to in the game page's Listings section. For most games, their Listings section may look like:
<pre>
==Listings==
===[[Characters in {{PAGENAME}}|Characters]]===
===[[Demons in {{PAGENAME}}|Demons]]===
===[[Skills in {{PAGENAME}}|Skills]]===
===[[Items in {{PAGENAME}}|Items]]===
===[[Equipment in {{PAGENAME}}|Equipment]]===
===[[Locations in {{PAGENAME}}|Locations]]===
===[[Translations in {{PAGENAME}}|Translations]]===
</pre>
Some games and series may require different listings from this to suit their own needs. List pages should only include content that can be found within a game, and should not include content explicitly outside of it. For instance: a Skill List for the original version of a game should only list skills included in that version, and should not include skills that were introduced in a major re-release. The re-release may have its own Skill List page in that case.
For Demons/Personas/Shadows, Skills, Items, and Equipment List pages, their listings are compiled into table templates to format and present information in an orderly manner. Because games in the ''Megami Tensei'' franchise can vary greatly from one another, often times a game will have its own set of list table templates to suit its needs.
Smaller lists are also used on some individual subject pages to compile targeted information, such as encounter or item location lists on location pages, the stock or services a shop offers, Demons within a Race, data pertaining to a specific skill, etc. These lists are also compiled using table templates, many of which are already included in [[Guidelines:Article Writing#Boilerplates|page boilerplates]] for convenience.
[[:Category:List Table Templates]] has a full list of available list templates. Be sure to read their documentation when using. For more information on formatting listings, consult the [[Guidelines:Listings|Listing guidelines]].
==Stat Tables==
Stat tables are specialized templates used to display statistical information about playable characters, Demons, Personas, etc. This can include stat values, weaknesses and resistances, skills, passive traits, victory spoils, location information, and whatever else that is pertinent to the game and subject. Because of the specified nature of stat tables as well that games across the ''Megami Tensei'' franchise can vary greatly with their mechanics, each game has their own dedicated stat tables. A game may have separate stat tables used specifically for allies, enemies, bosses, and others depending on its individual needs.
[[:Category:Stat Table Templates]] has a full list of available stat tables.
Stat tables have a range of information parameters that will display formatted data when filled. Any information added should be sourced from the games wherever possible, such as from a stat screen or from data-mining. Information can also be sourced from official guide publications as well; however, be aware that even some official guides have also been known to contain errors and may not always be 100% accurate. It is therefore recommended to cross-reference any sources used.
Skill information are stored in data modules, which can then be called into the stat table and automatically adds the appropriate data. See the [[#Skills|skills]] and [[#Skill Data Modules|skill data modules]] sections for more information.
Information added to stat tables should be kept concise wherever possible, being no more than a sentence long. At times, there may be complicated information that would otherwise become too lengthy to explain within a stat table. In such cases, the information should instead be presented outside of the stat table as a short sentence or paragraph. For example: In ''Shin Megami Tensei'', Fiends have a 1 in 256 chance of spawning on specific tile coordinates in dungeons. Because of this complexity, their encounter location should be explained as a paragraph before the stat table and not within it.
===Parameters===
Most stat tables have a common set of parameters for specific data. This section will outline those parameters and their usage guidelines. For stat tables with specific parameters, the table's own documentation should be consulted.
====Name====
For quick ease of use, most stat tables are automated where they will automatically fill in the name of the subject based on the article's title. It is possible, however, to override this and input a different name by using the <code>name=</code> parameter. This should be used if the subject's name differs in-game from the article's title, or if the article title has a discriminator in it.
The name of the subject should reflect the name used in the game's localization. I.e. Jack-o'-Lantern should be referred to as "Pyro Jack" in games that use this name. The exceptions to this are {{Link|Game|MIP}}, {{Link|Game|LB1}}, and {{Link|Game|DCLD}}, which should instead prioritize the original names of characters and enemies, as opposed to their ''Revelations'' and ''DemiKids'' localization names (as per our [[Guidelines:Canon#Localization versus Japanese Canon|canon policy]]). However, stat tables for these games also have additional parameters to list their localization names separately as well.
====Image====
Stat tables with image functionality can be accompanied with an in-game image of the subject. This will usually be of the subject's sprite, icon, model, or otherwise another type of file as required by the stat table. Stat tables without this functionality cannot have an image added.
Like the subject's name, stat table images are generally automated and will automatically insert the appropriate image if one is available that matches the [[Guidelines:Files#File Naming|file naming]] scheme. For instance, the [[Template:SMT5 Party Stats|SMT5 Party Stats]] table will automatically add the Demon's icon if there is a file titled <code><nowiki>SMT5 {{{PAGENAME}}} Icon.png</nowiki></code>, with "PAGENAME" being the same as the Demon's article title.
It is possible to add a different subject name to the file name by using the <code>img=</code> parameter. This should be used if the Demon's name differs from its article title, or if the article title has a discriminator in it. For instance, adding <code>img=Feng Huang</code> to a stat table will make it so that the table will specifically search for and add an image with this subject name.
====Stats====
In this context, "stats" refer to the inherent data with each character that are often used for battle. This can include the common array of stat values: Level, HP, MP, Strength, Dexterity, Vitality, Magic, Agility, Luck, etc. This also includes miscellaneous data such as Race, behavioral types such as [[Speech Pattern]] or [[Moon Phase]], associative summoning costs, and so on.
Stat data are added simply by entering them into their appropriate parameters. Stats that have a visual gauge in-game will also have these rendered automatically. Some stat parameters in stat tables are optional; if a particular stat is not applicable to a subject, its parameter should be omitted from usage. This will either hide the parameter's cell or otherwise add an em dash to denote as non-applicable.
Stats that can grow or change should only reflect the base / default value inherent to the subject.
Stats should always preferably be taken straight from the games wherever possible, such as from a status screen for allies or from an Analyze screen for enemies and bosses. Other times, especially for enemies / bosses with hidden values, this may require data-mining. If you are unable to retrieve certain information yourself, you should mark unknown fields with "?" and tag the game's section with [[Template:Research]] to request that the data be found and added by another. Data can also be taken from verified guides as well.
Bear in mind that in many ''Megami Tensei'' games, '''ally and enemy Demons often have different stats, resistances, and/or skill sets''' and should not be assumed to always be identical unless verified. It is for this reason that that the wiki usually splits ally and enemy stat tables.
====Locations====
A subject's encounter location (or how it can be obtained) can be added to the <code>location=</code> parameter. This should merely state the name of the location with a link to its page, immediately followed by any floor numbers. For example: <code><nowiki>location=[[Daedalus Tower]] 1F</nowiki></code>. For allied subjects who can only be obtained through certain means, the location parameter can also be used to briefly describe the method. Examples: <code><nowiki>location=[[Fusion]] only</nowiki></code> (for standard fusions), <code><nowiki>location=[[Fusion Accident]]</nowiki></code>, <code><nowiki>location=Event at [[Old Suidobashi]]</nowiki></code>, <code><nowiki>location=Clear "[[Osiris' Resurrection]]"</nowiki></code> (for sidequests).
Otherwise, the location parameter must be kept concise and be no longer than a short sentence. Any locations that would require a lengthier explanation should be explained outside of and prior to the stat table.
If a subject appears in more than one location, the earliest appearance should be added to the parameter. Subsequent locations can be added as an [[Template:Exp|Exp tooltip]] after the initial appearance with a line break for each location. For example: <code><nowiki>{{Exp|Location 2F-3F<br/>Location 5F, 7F}}</nowiki></code>.
====Resistances====
====Skills====
Skills can be added to the <code>skills=</code> parameter using [[Template:Skill]]. This template requires that the game's [[Guidelines:Media_Abbreviations#List of Abbreviations|abbreviation]] and the skill's name be added as template parameters, whereupon the Skill template will automatically fill in the skill's information from the game's skill data module. Some games can have additional parameters, such as the level the skill is learned at.
For example: adding <code><nowiki>skills={{Skill|SMT4|Hama|3}}</nowiki></code> will display the Hama skill from ''Shin Megami Tensei IV'' learned at level 3. If the skill is known by default, adding a hyphen in the level parameter will automatically render it as "Innate".
Skill information is stored within skill data modules, which allow other pages on the wiki to recall and automatically insert the relevant information. This ensures that skill information is always kept accurate and consistent wherever they are used. Skill data modules are titled as <code>Module:Data/Skill/(Game abbreviation)</code>. For example: [[Module:Data/Skill/smt5]] stores all the skill data from the original version of ''Shin Megami Tensei V''. For a detailed explanation of skill data modules, see the [[#Skill Data Modules|skill data modules]] section.
Skills will be added so long as the game's skill data module exists and the skill's information is available. If either of these do not exist, the Skill template will result in a Lua error.
Errors can potentially arise from misspelled skills. Make sure that skills are properly spelled, '''including any accents if present.''' Some games have multiple variations of skills with the same name; in these cases, skill data modules differentiate each variant by adding a discriminator to their label. It is advised to look over a game's skill data module before adding skill variants.
==Skill Data Modules==
In order to ensure that all skill information across the wiki is kept consistent and accurate, the wiki compiles skills into data modules. This allows [[Template:Skill]] to automatically call and insert the skill's information into skill listings and stat tables.
Skill data modules use the [[MW:Lua|Lua]] programming language to compile and store skill information. For the most part, this involves a series of named parameters used to store specific information on a skill, such as its [[Attribute]], base power, in-game description, and so on.
Skills must be added to modules in a certain format in order to avoid Lua errors. This tends to look like:
<pre>
['skill label in lowercase'] = {
    attribute = 'attribute name',
    effect = 'Effect explanation.',
    cost = Number,
    costtype = 'Cost type',
    description = 'In-game description.',
    name = 'Skill Display Name'
},
</pre>
<code><nowiki>},</nowiki></code> is used to separate each additional skill. Skills are given a label in lowercase on the first line, which is the name that the Skill template will call a skill by. This label should generally be identical to the skill's in-game name, including any accents. Some games, however, have multiple variants of a skill with the same name. In these cases, each variant should be given a differentiator in their label, such as a number, an attribute, or a character's name. This allows the Skill template to reliably call specific variants of a skill. The skill's display name should otherwise remain how it is titled in-game.
With the exception of numbers, data entered into parameters must be enclosed by apostrophes. All parameters must be closed with a comma. If any parameters are entered incorrectly, the editor will highlight the error and require this be fixed before the module can be saved. If there is a possessive case in a skill name or description (such as Impaler's Animus), a backslash must be added before the apostrophe. For example: <code>Imapaler\'s Animus</code>.
Because the Skill template and skill data modules are made to be universal, skill data parameters must be kept consistent with each module on the wiki. Inconsistently named parameters will cause Lua errors. Some common skill data parameters are listed below.
Any parameter that is omitted from a skill will not be given its own cell, with a few exceptions.
{| class="wikitable"
!Parameter
!Description
!Necessity
|-
|'''name'''
|The display name of the skill. Will also act as the '''link''' of a skill if that is not manually set.
|Always necessary
|-
|'''link'''
|A manually set link to the skill, separate from the display name.
|Optional
|-
|'''name_note'''
|A note to be attached to the name of a skill as a tooltip.
|Optional
|-
|'''attribute'''
|The attribute/element of the skill in lowercase. Filled with '—' if not set.
|Necessary if icon data exists
|-
|'''attribute_link'''
|A manually set link to the attribute, separate from its display name.
|Optional
|-
|'''cost'''
|The cost of a skill. If there is no cost, this should be set to '—' if the game has cost for other skills.
|Optional
|-
|'''costtype'''
|The cost type of a skill, as in what unit is depleted when the skill is used. Should not be set if cost is unset.
|Optional
|-
|'''range'''
|A range parameter, used for a few games.
|Optional
|-
|-
|'''description'''
|A description taken from the game. Will default to '''effect''' if unset.
|Optional
|-
|'''effect'''
|A description provided by the wiki users. Will fall back to nothing if unset.
|Optional
|}
For security purposes, skill data modules can only be edited by Autoconfirmed users. '''It is strongly advised to read a module's documentation before editing one.'''
==Formatting==
Additional wikitext can be used to format and present gameplay information in certain ways as necessary.
===Tabs===
Information can be placed into tabs, allowing users to switch between different sets of information by clicking or tapping on tabber buttons. This helps to keep information organized while also keeping a page's contents brief.
Tabs are created using tabber tags and giving each tab a label. The code for this is:
<pre>
<tabber>
Tab 1=
Tab 1's information here.
|-|
Tab 2=
Tab 2's information here.
</tabber>
</pre>
Tabs can be used to switch between templates, such as different list tables or stat tables. This is especially used to display information between different versions of games or subjects.
To achieve this, simply add the template's code as the contents with each tab. For example, for list templates:
<pre>
<tabber>
P3=
{{Enctr/Header}}
{{Enctr|name=|race=|level=|note=}}
{{Enctr|name=|race=|level=|note=}}
|}
|-|
P3R=
{{Enctr/Header}}
{{Enctr|name=|race=|level=|note=}}
{{Enctr|name=|race=|level=|note=}}
|}
</tabber>
</pre>
And for stat tables:
<pre>
<tabber>
Ally=
{{SMT5 Party Stats
|level=
|st=
|vi=
|ma=
|ag=
|lu=
|race=
|hp=
|mp=
|cost=
|fusioncondition=
|gifttype=
|location=
|skills=
}}
|-|
Enemy=
{{SMT5 Demon Stats
|level=
|st=
|vi=
|ma=
|ag=
|lu=
|race=
|hp=
|mp=
|exp=
|macca=
|talk=
|tone=
|location=
|drop1=
|droprate1=
|skills=
}}
</tabber>
</pre>
Tabs should each be given a short label reflecting the specific source or subject they cover.
*For information from different versions of games, label after each game's [[Guidelines:Media_Abbreviations#List of Abbreviations|media abbreviation]]. E.g. <code>P3</code>, <code>P3P</code>, <code>P3R</code>.
*If the game's title stays the same between versions, label after the platform's abbreviation. E.g. <code>SFC</code>, <code>CD2</code>, <code>MCD</code>, <code>GBA</code>. If a version is multi-platform, label as a re-release with the release date. E.g. <code>2023 Re-release</code>.
*For different stat tables of the same subject, label after the relevant role. E.g. <code>Partner</code> (for main character party members), <code>Enemy</code>, <code>Ally</code> (for allied Demons), <code>Boss</code>, <code>Persona</code>, <code>Shadow</code>.
*For specific versions of a subject, such as Demon stats from a specific game version or a boss with multiple forms or phases, clarify this in parentheses. E.g. <code>Enemy (PSP)</code>, <code>Boss (Phase 1)</code>.
===Transcluding Sections===
Transclusion is a method of including content from one page onto another. This is generally used with template functionality. However, a similar method can also be used to transclude a page's contents or even a filled template onto another page.
This involves using <code><nowiki><onlyinclude></nowiki></code> tags and the <code><nowiki>#ifeq</nowiki></code> parser function with the following code:
<pre>
<onlyinclude>{{#ifeq:{{{transcludesection|Section Name}}}|Section Name|
Contents here.
}}</onlyinclude>
</pre>
The contents in-between will then become a makeshift template that can then be transcluded onto another page with the following:
<pre>
{{:Name of original page|transcludesection=Section Name}}
</pre>
The same contents on the original page will now be transcluded onto the other one. If the contents on the original page are edited, those changes will be reflected on the page(s) it was transcluded on much like an actual template.
Transcluding page contents can be used to display repeating gameplay information or data across multiple pages without having to manually re-enter the same information. This is especially used to keep filled data consistent across the wiki, such as the same list on  multiple pages or a boss's stat table transcluded onto a location page.
For instance, to transclude a list template from one page onto another:
<pre>
<!-- Do not remove onlyinclude or transclude tags --><onlyinclude>{{#ifeq:{{{transcludesection|Shop List}}}|Shop List|
{{Shop/Header|Store}}
{{Shop|Item 1|400}}
{{Shop|Item 2|1000}}
|}
}}</onlyinclude>
</pre>
<pre>
{{:Name of original page|transcludesection=Shop List}}
</pre>
It is advised to include the editor comment to inform other editors not to remove the transclude code, as doing so will result in the transclusion breaking on other pages.
To transclude a boss stat table (including tabs) onto another page:
<pre>
<!-- Do not remove onlyinclude or transclude tags --><onlyinclude>{{#ifeq:{{{transcludesection|MT1Stats}}}|MT1Stats|
<tabber>
FC=
{{MT1 Demon Stats
|img=Minotaur
|name=Minotaur
|st=9
|in=11
|at=10
|ag=12
|de=13
|loc=
|race=Tyrant
|align=Evil
|hp=700
|moon=
|resist=09
|magic={{Skill|MT1|Psycho}}
|extra={{Skill|MT1|Roar}}
{{Skill|MT1|Palsy G}}
}}
|-|
KMT=
{{KMT Demon Stats
|img=Minotaur
|name=Minotaur
|level=27
|vi=12
|in=10
|st=9
|ag=10
|lu=9
|loc=
|race=Tyrant
|align=Evil
|hp=166
|mp=37
|moon=
|resist=01
|magic={{Skill|KMT|Zanma}}
|extra={{Skill|KMT|Roar 2}}
{{Skill|KMT|Stun Bite 1}}
}}
</tabber>}}</onlyinclude>
</pre>
<pre>
{{:Gameplay:Minotaur|transcludesection=MT1Stats}}
</pre>
==Specific Gameplay Coverage==
===Persona User Stats===
In {{Link|Game|MIP}} and the ''[[Persona 2]]'' duology, party members have their own distinct stats that are either changed or augmented by their currently equipped [[Persona (Concept)|Persona]]. Party members in these games should therefore be given their own stat tables. "Signature Persona" stats (i.e. Personas that can only be equipped by certain characters) may also be included on the character's page in their own [[#Tabs|tab]].
In {{Link|Game|P3}}, {{Link|Game|P4}}, and {{Link|Game|P5}}, all characters' stats mirror their current Persona, with the exception of their HP and SP stats. Party members should have their own stat table documenting their base HP and SP values along with any starting equipment, while their inherent Persona(s) should be documented in separate tabs.
Stat table tabs should be named after the character or Persona they apply to. For spoilery "ultimate Personas", is it acceptable to label the tab as <code>Ultimate Persona</code> to avoid immediate spoilers.
===Social Links===
Due to the highly comprehensive nature of [[Social Link]] mechanics in the {{Link|Series|P-}} (known as Confidants in ''Persona 5''), any character with Social Link information needs to be given their own [[#Gameplay Pages|Gameplay page]].
The wiki provides these templates for covering social links:
* [[Template:SL Rank]] and [[Template:Confidant Rank]], for documenting Social Link Ranks and their requirements. Confidant Rank also has a column for unlocked abilities.
* [[Template:SL Availability]], for documenting characters' availability during days and nights of the week.
* [[Template:SL Event]], for documenting the prompts, responses, and outcomes that occur during "Rank Up" events. This uses a set of templates.
As the Social Link mechanic is exclusive to the ''Persona'' series, there is no need to add series sections to a Social Link's Gameplay page unless it deemed absolutely necessary. Social Link information should be presented in a certain format on Gameplay pages, following this example outline:
<pre>
=={{Link|Game|Game Abbreviation}}==
===Social Link Ranks===
===Availability===
===Rank Up Events===
</pre>
For page brevity, Rank Up Events should each be placed into a [[#Tabs|tab]]. The tabs should be labeled after the rank number. I.e. <code>Rank 1</code>.
For party members who are also Social Links, battle stats should be prioritized first, following this outline:
<pre>
=={{Link|Game|Game Abbreviation}}==
===Stats===
===Social Link Ranks===
===Availability===
===Rank Up Events===
</pre>
</pre>


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.
For the most part, changes to Social Links between the original version of a game and its enhanced remaster may share the same section, with a clear distinction made where content is exclusive to a remaster. In these cases, the game section should remain titled as the original version (as this is the base game that enhanced remasters are based upon). Remaster-exclusive content can be denoted either within a tab's name in parentheses or in an [[Template:Exp|Exp tooltip]], whichever is more appropriate for the information covered.

Latest revision as of 02:52, 23 June 2024

The gameplay policy of Megami Tensei Wiki outlines how gameplay information should be covered. This page also explains the usage of stat table templates and skill data modules.

The guidelines presented here are meant to serve as a guiding example and are not indicative of how to handle every gameplay-related matter on the wiki.

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, gameplay content must be written in an encyclopedic tone and avoid the use of "you". Use of "the player" or "players" is appropriate when detailing gameplay systems or other out-of-universe information. Otherwise, when covering in-universe gameplay elements such as stores or locations, it is preferable to refer to the player as the game's protagonist or party.

Gameplay Sections

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.

Each game covered in this section should be given its own Level 3 subsection ===Level 3===. Games should be listed in the order defined in the media order guidelines, from series order, sub-series order, and finally by game order. 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 tab can suffice for minor version differences, such as differing stats for stat tables or other lists.

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 provide a dedicated space for documenting thorough gameplay information while keeping the main page brief.

Gameplay pages have the Gameplay: prefix, such as Gameplay:Jack Frost or Gameplay:Ann Takamaki. They are linked to using Template:Gameplay {{Gameplay}} in the subject's Gameplay section.

For characters and Demons who reoccur across more than one Megami Tensei series, it is advised to order Gameplay pages by series using this example outline:

=={{Link|Series|SMT-}}==
==={{Link|Game|SMT1}}===
==={{Link|Game|SMT2}}===

=={{Link|Series|P-}}==
==={{Link|Game|MIP}}===
==={{Link|Game|P2IS}}===

However, for characters who only appear in one series, the series sections are not necessary and the game sections may be formatted as Level 2 subsections ==Level 2== instead.

Characters with Social Link information in the Persona series should be given their own Gameplay pages due to the highly comprehensive nature of this mechanic. See the Social Links section for more information.

Listings

Main article: Listing guidelines

For most of the wiki, gameplay data is compiled into referential lists.

Most video games will usually have a number of dedicated list pages for listing various related content contained within them. These lists are linked to in the game page's Listings section. For most games, their Listings section may look like:

==Listings==
===[[Characters in {{PAGENAME}}|Characters]]===
===[[Demons in {{PAGENAME}}|Demons]]===
===[[Skills in {{PAGENAME}}|Skills]]===
===[[Items in {{PAGENAME}}|Items]]===
===[[Equipment in {{PAGENAME}}|Equipment]]===
===[[Locations in {{PAGENAME}}|Locations]]===
===[[Translations in {{PAGENAME}}|Translations]]===

Some games and series may require different listings from this to suit their own needs. List pages should only include content that can be found within a game, and should not include content explicitly outside of it. For instance: a Skill List for the original version of a game should only list skills included in that version, and should not include skills that were introduced in a major re-release. The re-release may have its own Skill List page in that case.

For Demons/Personas/Shadows, Skills, Items, and Equipment List pages, their listings are compiled into table templates to format and present information in an orderly manner. Because games in the Megami Tensei franchise can vary greatly from one another, often times a game will have its own set of list table templates to suit its needs.

Smaller lists are also used on some individual subject pages to compile targeted information, such as encounter or item location lists on location pages, the stock or services a shop offers, Demons within a Race, data pertaining to a specific skill, etc. These lists are also compiled using table templates, many of which are already included in page boilerplates for convenience.

Category:List Table Templates has a full list of available list templates. Be sure to read their documentation when using. For more information on formatting listings, consult the Listing guidelines.

Stat Tables

Stat tables are specialized templates used to display statistical information about playable characters, Demons, Personas, etc. This can include stat values, weaknesses and resistances, skills, passive traits, victory spoils, location information, and whatever else that is pertinent to the game and subject. Because of the specified nature of stat tables as well that games across the Megami Tensei franchise can vary greatly with their mechanics, each game has their own dedicated stat tables. A game may have separate stat tables used specifically for allies, enemies, bosses, and others depending on its individual needs.

Category:Stat Table Templates has a full list of available stat tables.

Stat tables have a range of information parameters that will display formatted data when filled. Any information added should be sourced from the games wherever possible, such as from a stat screen or from data-mining. Information can also be sourced from official guide publications as well; however, be aware that even some official guides have also been known to contain errors and may not always be 100% accurate. It is therefore recommended to cross-reference any sources used.

Skill information are stored in data modules, which can then be called into the stat table and automatically adds the appropriate data. See the skills and skill data modules sections for more information.

Information added to stat tables should be kept concise wherever possible, being no more than a sentence long. At times, there may be complicated information that would otherwise become too lengthy to explain within a stat table. In such cases, the information should instead be presented outside of the stat table as a short sentence or paragraph. For example: In Shin Megami Tensei, Fiends have a 1 in 256 chance of spawning on specific tile coordinates in dungeons. Because of this complexity, their encounter location should be explained as a paragraph before the stat table and not within it.

Parameters

Most stat tables have a common set of parameters for specific data. This section will outline those parameters and their usage guidelines. For stat tables with specific parameters, the table's own documentation should be consulted.

Name

For quick ease of use, most stat tables are automated where they will automatically fill in the name of the subject based on the article's title. It is possible, however, to override this and input a different name by using the name= parameter. This should be used if the subject's name differs in-game from the article's title, or if the article title has a discriminator in it.

The name of the subject should reflect the name used in the game's localization. I.e. Jack-o'-Lantern should be referred to as "Pyro Jack" in games that use this name. The exceptions to this are Megami Ibunroku Persona, Last Bible, and Devil Children Light Book and Dark Book, which should instead prioritize the original names of characters and enemies, as opposed to their Revelations and DemiKids localization names (as per our canon policy). However, stat tables for these games also have additional parameters to list their localization names separately as well.

Image

Stat tables with image functionality can be accompanied with an in-game image of the subject. This will usually be of the subject's sprite, icon, model, or otherwise another type of file as required by the stat table. Stat tables without this functionality cannot have an image added.

Like the subject's name, stat table images are generally automated and will automatically insert the appropriate image if one is available that matches the file naming scheme. For instance, the SMT5 Party Stats table will automatically add the Demon's icon if there is a file titled SMT5 {{{PAGENAME}}} Icon.png, with "PAGENAME" being the same as the Demon's article title.

It is possible to add a different subject name to the file name by using the img= parameter. This should be used if the Demon's name differs from its article title, or if the article title has a discriminator in it. For instance, adding img=Feng Huang to a stat table will make it so that the table will specifically search for and add an image with this subject name.

Stats

In this context, "stats" refer to the inherent data with each character that are often used for battle. This can include the common array of stat values: Level, HP, MP, Strength, Dexterity, Vitality, Magic, Agility, Luck, etc. This also includes miscellaneous data such as Race, behavioral types such as Speech Pattern or Moon Phase, associative summoning costs, and so on.

Stat data are added simply by entering them into their appropriate parameters. Stats that have a visual gauge in-game will also have these rendered automatically. Some stat parameters in stat tables are optional; if a particular stat is not applicable to a subject, its parameter should be omitted from usage. This will either hide the parameter's cell or otherwise add an em dash to denote as non-applicable.

Stats that can grow or change should only reflect the base / default value inherent to the subject.

Stats should always preferably be taken straight from the games wherever possible, such as from a status screen for allies or from an Analyze screen for enemies and bosses. Other times, especially for enemies / bosses with hidden values, this may require data-mining. If you are unable to retrieve certain information yourself, you should mark unknown fields with "?" and tag the game's section with Template:Research to request that the data be found and added by another. Data can also be taken from verified guides as well.

Bear in mind that in many Megami Tensei games, ally and enemy Demons often have different stats, resistances, and/or skill sets and should not be assumed to always be identical unless verified. It is for this reason that that the wiki usually splits ally and enemy stat tables.

Locations

A subject's encounter location (or how it can be obtained) can be added to the location= parameter. This should merely state the name of the location with a link to its page, immediately followed by any floor numbers. For example: location=[[Daedalus Tower]] 1F. For allied subjects who can only be obtained through certain means, the location parameter can also be used to briefly describe the method. Examples: location=[[Fusion]] only (for standard fusions), location=[[Fusion Accident]], location=Event at [[Old Suidobashi]], location=Clear "[[Osiris' Resurrection]]" (for sidequests).

Otherwise, the location parameter must be kept concise and be no longer than a short sentence. Any locations that would require a lengthier explanation should be explained outside of and prior to the stat table.

If a subject appears in more than one location, the earliest appearance should be added to the parameter. Subsequent locations can be added as an Exp tooltip after the initial appearance with a line break for each location. For example: {{Exp|Location 2F-3F<br/>Location 5F, 7F}}.

Resistances

Skills

Skills can be added to the skills= parameter using Template:Skill. This template requires that the game's abbreviation and the skill's name be added as template parameters, whereupon the Skill template will automatically fill in the skill's information from the game's skill data module. Some games can have additional parameters, such as the level the skill is learned at.

For example: adding skills={{Skill|SMT4|Hama|3}} will display the Hama skill from Shin Megami Tensei IV learned at level 3. If the skill is known by default, adding a hyphen in the level parameter will automatically render it as "Innate".

Skill information is stored within skill data modules, which allow other pages on the wiki to recall and automatically insert the relevant information. This ensures that skill information is always kept accurate and consistent wherever they are used. Skill data modules are titled as Module:Data/Skill/(Game abbreviation). For example: Module:Data/Skill/smt5 stores all the skill data from the original version of Shin Megami Tensei V. For a detailed explanation of skill data modules, see the skill data modules section.

Skills will be added so long as the game's skill data module exists and the skill's information is available. If either of these do not exist, the Skill template will result in a Lua error.

Errors can potentially arise from misspelled skills. Make sure that skills are properly spelled, including any accents if present. Some games have multiple variations of skills with the same name; in these cases, skill data modules differentiate each variant by adding a discriminator to their label. It is advised to look over a game's skill data module before adding skill variants.

Skill Data Modules

In order to ensure that all skill information across the wiki is kept consistent and accurate, the wiki compiles skills into data modules. This allows Template:Skill to automatically call and insert the skill's information into skill listings and stat tables.

Skill data modules use the Lua programming language to compile and store skill information. For the most part, this involves a series of named parameters used to store specific information on a skill, such as its Attribute, base power, in-game description, and so on.

Skills must be added to modules in a certain format in order to avoid Lua errors. This tends to look like:

['skill label in lowercase'] = {
    attribute = 'attribute name',
    effect = 'Effect explanation.',
    cost = Number,
    costtype = 'Cost type',
    description = 'In-game description.',
    name = 'Skill Display Name'
},

}, is used to separate each additional skill. Skills are given a label in lowercase on the first line, which is the name that the Skill template will call a skill by. This label should generally be identical to the skill's in-game name, including any accents. Some games, however, have multiple variants of a skill with the same name. In these cases, each variant should be given a differentiator in their label, such as a number, an attribute, or a character's name. This allows the Skill template to reliably call specific variants of a skill. The skill's display name should otherwise remain how it is titled in-game.

With the exception of numbers, data entered into parameters must be enclosed by apostrophes. All parameters must be closed with a comma. If any parameters are entered incorrectly, the editor will highlight the error and require this be fixed before the module can be saved. If there is a possessive case in a skill name or description (such as Impaler's Animus), a backslash must be added before the apostrophe. For example: Imapaler\'s Animus.

Because the Skill template and skill data modules are made to be universal, skill data parameters must be kept consistent with each module on the wiki. Inconsistently named parameters will cause Lua errors. Some common skill data parameters are listed below.

Any parameter that is omitted from a skill will not be given its own cell, with a few exceptions.

Parameter Description Necessity
name The display name of the skill. Will also act as the link of a skill if that is not manually set. Always necessary
link A manually set link to the skill, separate from the display name. Optional
name_note A note to be attached to the name of a skill as a tooltip. Optional
attribute The attribute/element of the skill in lowercase. Filled with '—' if not set. Necessary if icon data exists
attribute_link A manually set link to the attribute, separate from its display name. Optional
cost The cost of a skill. If there is no cost, this should be set to '—' if the game has cost for other skills. Optional
costtype The cost type of a skill, as in what unit is depleted when the skill is used. Should not be set if cost is unset. Optional
range A range parameter, used for a few games. Optional
description A description taken from the game. Will default to effect if unset. Optional
effect A description provided by the wiki users. Will fall back to nothing if unset. Optional

For security purposes, skill data modules can only be edited by Autoconfirmed users. It is strongly advised to read a module's documentation before editing one.

Formatting

Additional wikitext can be used to format and present gameplay information in certain ways as necessary.

Tabs

Information can be placed into tabs, allowing users to switch between different sets of information by clicking or tapping on tabber buttons. This helps to keep information organized while also keeping a page's contents brief.

Tabs are created using tabber tags and giving each tab a label. The code for this is:

<tabber>
Tab 1=
Tab 1's information here.
|-|
Tab 2=
Tab 2's information here.
</tabber>

Tabs can be used to switch between templates, such as different list tables or stat tables. This is especially used to display information between different versions of games or subjects.

To achieve this, simply add the template's code as the contents with each tab. For example, for list templates:

<tabber>
P3=
{{Enctr/Header}}
{{Enctr|name=|race=|level=|note=}}
{{Enctr|name=|race=|level=|note=}}
|}
|-|
P3R=
{{Enctr/Header}}
{{Enctr|name=|race=|level=|note=}}
{{Enctr|name=|race=|level=|note=}}
|}
</tabber>

And for stat tables:

<tabber>
Ally=
{{SMT5 Party Stats
|level=
|st=
|vi=
|ma=
|ag=
|lu=
|race=
|hp=
|mp=
|cost=
|fusioncondition=
|gifttype=
|location=
|skills=
}}
|-|
Enemy=
{{SMT5 Demon Stats
|level=
|st=
|vi=
|ma=
|ag=
|lu=
|race=
|hp=
|mp=
|exp=
|macca=
|talk=
|tone=
|location=
|drop1=
|droprate1=
|skills=
}}
</tabber>

Tabs should each be given a short label reflecting the specific source or subject they cover.

  • For information from different versions of games, label after each game's media abbreviation. E.g. P3, P3P, P3R.
  • If the game's title stays the same between versions, label after the platform's abbreviation. E.g. SFC, CD2, MCD, GBA. If a version is multi-platform, label as a re-release with the release date. E.g. 2023 Re-release.
  • For different stat tables of the same subject, label after the relevant role. E.g. Partner (for main character party members), Enemy, Ally (for allied Demons), Boss, Persona, Shadow.
  • For specific versions of a subject, such as Demon stats from a specific game version or a boss with multiple forms or phases, clarify this in parentheses. E.g. Enemy (PSP), Boss (Phase 1).

Transcluding Sections

Transclusion is a method of including content from one page onto another. This is generally used with template functionality. However, a similar method can also be used to transclude a page's contents or even a filled template onto another page.

This involves using <onlyinclude> tags and the #ifeq parser function with the following code:

<onlyinclude>{{#ifeq:{{{transcludesection|Section Name}}}|Section Name|
Contents here.
}}</onlyinclude>

The contents in-between will then become a makeshift template that can then be transcluded onto another page with the following:

{{:Name of original page|transcludesection=Section Name}}

The same contents on the original page will now be transcluded onto the other one. If the contents on the original page are edited, those changes will be reflected on the page(s) it was transcluded on much like an actual template.

Transcluding page contents can be used to display repeating gameplay information or data across multiple pages without having to manually re-enter the same information. This is especially used to keep filled data consistent across the wiki, such as the same list on multiple pages or a boss's stat table transcluded onto a location page.

For instance, to transclude a list template from one page onto another:

<!-- Do not remove onlyinclude or transclude tags --><onlyinclude>{{#ifeq:{{{transcludesection|Shop List}}}|Shop List|
{{Shop/Header|Store}}
{{Shop|Item 1|400}}
{{Shop|Item 2|1000}}
|}
}}</onlyinclude>
{{:Name of original page|transcludesection=Shop List}}

It is advised to include the editor comment to inform other editors not to remove the transclude code, as doing so will result in the transclusion breaking on other pages.

To transclude a boss stat table (including tabs) onto another page:

<!-- Do not remove onlyinclude or transclude tags --><onlyinclude>{{#ifeq:{{{transcludesection|MT1Stats}}}|MT1Stats|
<tabber>
FC=
{{MT1 Demon Stats
|img=Minotaur
|name=Minotaur
|st=9
|in=11
|at=10
|ag=12
|de=13
|loc=
|race=Tyrant
|align=Evil
|hp=700
|moon=
|resist=09
|magic={{Skill|MT1|Psycho}}
|extra={{Skill|MT1|Roar}}
{{Skill|MT1|Palsy G}}
}}
|-|
KMT=
{{KMT Demon Stats
|img=Minotaur
|name=Minotaur
|level=27
|vi=12
|in=10
|st=9
|ag=10
|lu=9
|loc=
|race=Tyrant
|align=Evil
|hp=166
|mp=37
|moon=
|resist=01
|magic={{Skill|KMT|Zanma}}
|extra={{Skill|KMT|Roar 2}}
{{Skill|KMT|Stun Bite 1}}
}}
</tabber>}}</onlyinclude>
{{:Gameplay:Minotaur|transcludesection=MT1Stats}}

Specific Gameplay Coverage

Persona User Stats

In Megami Ibunroku Persona and the Persona 2 duology, party members have their own distinct stats that are either changed or augmented by their currently equipped Persona. Party members in these games should therefore be given their own stat tables. "Signature Persona" stats (i.e. Personas that can only be equipped by certain characters) may also be included on the character's page in their own tab.

In Persona 3, Persona 4, and Persona 5, all characters' stats mirror their current Persona, with the exception of their HP and SP stats. Party members should have their own stat table documenting their base HP and SP values along with any starting equipment, while their inherent Persona(s) should be documented in separate tabs.

Stat table tabs should be named after the character or Persona they apply to. For spoilery "ultimate Personas", is it acceptable to label the tab as Ultimate Persona to avoid immediate spoilers.

Social Links

Due to the highly comprehensive nature of Social Link mechanics in the Persona series (known as Confidants in Persona 5), any character with Social Link information needs to be given their own Gameplay page.

The wiki provides these templates for covering social links:

  • Template:SL Rank and Template:Confidant Rank, for documenting Social Link Ranks and their requirements. Confidant Rank also has a column for unlocked abilities.
  • Template:SL Availability, for documenting characters' availability during days and nights of the week.
  • Template:SL Event, for documenting the prompts, responses, and outcomes that occur during "Rank Up" events. This uses a set of templates.

As the Social Link mechanic is exclusive to the Persona series, there is no need to add series sections to a Social Link's Gameplay page unless it deemed absolutely necessary. Social Link information should be presented in a certain format on Gameplay pages, following this example outline:

=={{Link|Game|Game Abbreviation}}==
===Social Link Ranks===
===Availability===
===Rank Up Events===

For page brevity, Rank Up Events should each be placed into a tab. The tabs should be labeled after the rank number. I.e. Rank 1.

For party members who are also Social Links, battle stats should be prioritized first, following this outline:

=={{Link|Game|Game Abbreviation}}==
===Stats===
===Social Link Ranks===
===Availability===
===Rank Up Events===

For the most part, changes to Social Links between the original version of a game and its enhanced remaster may share the same section, with a clear distinction made where content is exclusive to a remaster. In these cases, the game section should remain titled as the original version (as this is the base game that enhanced remasters are based upon). Remaster-exclusive content can be denoted either within a tab's name in parentheses or in an Exp tooltip, whichever is more appropriate for the information covered.