Template:P4 Persona Stats: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{| class="outer-table stat-table" | {| class="inner-table" width="100%;" !Name !Level |- |'''{{{name|{{PAGENAME}}}}}''' |{{{level|}}} |} |width="330px"| {{Statbars |Strength |Magic |Endurance |Agility |Luck |i1={{{st|1}}} |i2={{{ma|1}}} |i3={{{en|1}}} |i4={{{ag|1}}} |i5={{{lu|1}}} }} |- |colspan=2| {| class="inner-table" style="width:100%;" !Arcana !Inheritance |- |[[{{{arcana}}} (Arcana)|{{{arcana}}}]] |{{{inherit|}}} |} |- |colspan=2| {| class="inner-table" style="widt...") |
Mistiryshak (talk | contribs) mNo edit summary |
||
(30 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{| class="outer-table stat-table" | <includeonly>{| class="outer-table stat-table" | ||
| | | | ||
{| class="inner-table" | {| class="inner-table" style="width:100%;" | ||
!Name | !Name | ||
!Level | !Level | ||
Line 8: | Line 8: | ||
|{{{level|}}} | |{{{level|}}} | ||
|} | |} | ||
| | |style="width:330px"| | ||
{{Statbars | {{Statbars | ||
|Strength | |Strength | ||
Line 21: | Line 21: | ||
|i5={{{lu|1}}} | |i5={{{lu|1}}} | ||
}} | }} | ||
{{#if: {{{location|}}} | | |||
{{!}}- | |||
{{!}}colspan=3{{!}} | |||
{{{!}}class="inner-table" style="width:100%;" | |||
!style="width:15%"{{!}}Location | |||
{{!}}style="text-align: left"{{!}}{{{location|—}}} | |||
{{!)}} | |||
|<nowiki/>}} | |||
|- | |- | ||
|colspan=2| | |colspan=2| | ||
{| class="inner-table" style="width:100%;" | {| class="inner-table" style="width:100%;" | ||
!Arcana | !Arcana | ||
!Shuffle Time | |||
{{#if:{{{fusioncondition|}}}|!Fusion Condition|<nowiki/>}} | |||
!Inheritance | !Inheritance | ||
|- | |- | ||
|[[{{{arcana}}} (Arcana)|{{{arcana}}}]] | |[[{{{arcana}}} (Arcana)|{{{arcana}}}]] | ||
|{{{inherit|}}} | |{{Rst|{{{shuffle|—}}}}} | ||
{{#if:{{{fusioncondition|}}}|{{!}}{{{fusioncondition}}}|<nowiki/>}} | |||
|{{{inherit|—}}} | |||
|} | |} | ||
|- | |- | ||
Line 35: | Line 47: | ||
!colspan=7|Resistances | !colspan=7|Resistances | ||
|- | |- | ||
!{{Data/Icon/P4|Phys}} | !style="width:calc(100%/7)"|{{Data/Icon/P4|Phys}} | ||
!{{Data/Icon/P4|Fire}} | !style="width:calc(100%/7)"|{{Data/Icon/P4|Fire}} | ||
!{{Data/Icon/P4|Ice}} | !style="width:calc(100%/7)"|{{Data/Icon/P4|Ice}} | ||
!{{Data/Icon/P4|Elec}} | !style="width:calc(100%/7)"|{{Data/Icon/P4|Elec}} | ||
!{{Data/Icon/P4|Wind}} | !style="width:calc(100%/7)"|{{Data/Icon/P4|Wind}} | ||
!{{Data/Icon/P4|Light}} | !style="width:calc(100%/7)"|{{Data/Icon/P4|Light}} | ||
!{{Data/Icon/P4| | !style="width:calc(100%/7)"|{{Data/Icon/P4|Darkness}} | ||
|- | |||
|{{Rst|{{{phys|—}}}}} | |||
|{{Rst|{{{fire|—}}}}} | |||
|{{Rst|{{{ice|—}}}}} | |||
|{{Rst|{{{elec|—}}}}} | |||
|{{Rst|{{{wind|—}}}}} | |||
|{{Rst|{{{light|—}}}}} | |||
|{{Rst|{{{darkness|—}}}}} | |||
|- | |- | ||
|{{Rst|{{{ | |{{Rst|{{{physfrac|1}}}}} | ||
|{{Rst|{{{ | |{{Rst|{{{firefrac|1}}}}} | ||
|{{Rst|{{{ | |{{Rst|{{{icefrac|1}}}}} | ||
|{{Rst|{{{ | |{{Rst|{{{elecfrac|1}}}}} | ||
|{{Rst|{{{ | |{{Rst|{{{windfrac|1}}}}} | ||
|{{Rst|{{{ | |{{Rst|{{{lightfrac|1}}}}} | ||
|{{Rst|{{{ | |{{Rst|{{{darknessfrac|1}}}}} | ||
|} | |} | ||
|- | |- | ||
Line 58: | Line 78: | ||
!Skill | !Skill | ||
!Cost | !Cost | ||
! | !Description | ||
!Level | !Level | ||
|- | |- | ||
{{ | {{{skills|}}} | ||
|} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{slskills|}}}|{{!}}colspan=2{{!}} | ||
{{(!}} class="inner-table" style="width:100%;" | |||
!colspan=4{{!}}Social Link Skills | |||
{{!-}} | |||
!Skill | |||
!Cost | |||
!Description | |||
!Rank | |||
{{!-}} | |||
{{{slskills|}}} | |||
{{!)}} | |||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{bikeskills|}}}|{{!}}colspan=2{{!}} | ||
{{(!}} class="inner-table" style="width:100%;" | |||
!colspan=4{{!}}Bike Skills | |||
{{!-}} | |||
!Skill | |||
!Cost | |||
!Description | |||
!Rank | |||
{{!-}} | |||
{{{bikeskills|}}} | |||
{{!)}} | |||
}} | |||
|}</includeonly><noinclude> | |||
[[Category:Stat Table Templates]] | [[Category:P4 Templates]] | ||
[[Category:P4 Stat Table Templates]] | |||
[[Category:Persona Stat Table Templates]] | |||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:03, 2 October 2024
Purpose
Stat table template used to document the stats of Personas in Persona 4.
For the stats of Shadows, use Template:P4 Shadow Stats instead.
For Persona 4 Golden, use Template:P4G Persona 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 resistances, should be omitted from usage.
Parameter Explanation
{{P4 Persona Stats |name= Name; defaults to article's name when omitted |level= Level |st= Strength |ma= Magic |en= Endurance |ag= Agility |lu= Luck |location= How to obtain |arcana= Arcana |shuffle= Can the Persona be obtained from Shuffle Time? Use Y for yes, N for no |fusioncondition= Condition criteria to unlock Persona in fusion |inherit= Inheritance Type |phys= Resistance to the Phys element |fire= Resistance to the Fire element |ice= Resistance to the Ice element |elec= Resistance to the Elec element |wind= Resistance to the Wind element |light= Resistance to the Light element |darkness= Resistance to the Darkness element |physfrac= Fractional resistance to the Pierce element |firefrac= Fractional resistance to the Fire element |icefrac= Fractional resistance to the Ice element |elecfrac= Fractional resistance to the Elec element |windfrac= Fractional resistance to the Wind element |lightfrac= Fractional resistance to the Light element |darknessfrac= Fractional resistance to the Darkness element |skills= Known and learnable skills; use {{Skill}} to add skills |slskills= Social Link skills; use {{Skill}} to add skills |bikeskills= Bike skills; use {{Skill}} to add skills }}
Parameter | Notes |
---|---|
Optional; not used when parameter is omitted. By default, the template will automatically render the Persona's name the same as the article name. Use the name parameter if the Persona'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 name parameter must be used. | |
Optional; does not display when parameter is omitted. Displays how the Persona can be obtained. See the Gameplay guidelines for full instruction on listing locations.
| |
Optional; does not display when parameter is omitted. Displays the conditional criteria needed to be able to fuse this Persona, such as reaching a certain Social Link Rank. This parameter should be kept concise; any complicated explanations or lengthier conditions should be explained outside of the stat table in its own paragraph. For Social Link Rank conditions, format as
[[Arcana Name]] Rank # . | |
Element resistance parameters have two sets of rows: the first is used for the in-game resistance UI, the second is used for precise fractional values.
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. | |
Use Template:Skill to add skills and the level they are learned at. E.g.
{{Skill|P4|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, and level learned at.Skill information is called from Module:Data/Skill/p4. | |
Use Template:Skill to add Social Link skills and their rank. E.g.
{{Skill|P4|Agi|1}} . Skill information is called from Module:Data/Skill/p4. | |
Use Template:Skill to add Bike skills and their rank. E.g.
{{Skill|P4|Agi|1}} . Skill information is called from Module:Data/Skill/p4. |
Code
- All parameters
{{P4 Persona Stats |name= |level= |st= |ma= |en= |ag= |lu= |location= |arcana= |shuffle= |inherit= |phys= |fire= |ice= |elec= |wind= |light= |darkness= |physfrac= |firefrac= |icefrac= |elecfrac= |windfrac= |lightfrac= |darknessfrac= |skills= |slskills= |bikeskills= }}