Template:Magia Record Stats: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Improve documentation)
(Improve rarity detection so that Kuro no longer needs a special key)
Line 16: Line 16:
* <tt>type</tt> – The girl's type; must be one of the valid type categories
* <tt>type</tt> – The girl's type; must be one of the valid type categories
* <tt>typedisplay</tt> - The displayed type; if present, is displayed instead of the type above but still using the above type to categorize the character.
* <tt>typedisplay</tt> - The displayed type; if present, is displayed instead of the type above but still using the above type to categorize the character.
* <tt>rarity</tt> – Overrides the auto-generated rarity cell (only use if the character cannot be upgraded in rarity)
* <tt>disk1 - disk5</tt> – The girl's [[Template:Magia Record Disk|disk]] pool; omitted entries will be filled with a duplicate of the previous entry (so, <tt>disk1</tt> is always mandatory)
* <tt>disk1 - disk5</tt> – The girl's [[Template:Magia Record Disk|disk]] pool; omitted entries will be filled with a duplicate of the previous entry (so, <tt>disk1</tt> is always mandatory)
;Connect
;Connect
Line 37: Line 36:


Here's an example of what the code might look like for [[Iroha Tamaki]]:
Here's an example of what the code might look like for [[Iroha Tamaki]]:
<pre><nowiki>
<!--<pre><nowiki>-->
{{Magia Record Stats
{{Magia Record Stats
|hp0=3068|atk0=878|def0=1157
|hp0=3068|atk0=878|def0=1157
|hp1=9204|atk1=2634|def1=3471
|hp1=9204|atk1=2634|def1=3471
<!--|hp2=10633|atk2=3033|def2=4016
|hp2=10633|atk2=3033|def2=4016
|hp3=13474|atk3=3848|def3=5089
|hp3=13474|atk3=3848|def3=5089
|hp4=17748|atk4=6714|def4=6714
|hp4=17748|atk4=6714|def4=6714
|hp5=22020|atk5=6276|def5=8332-->
|hp5=22020|atk5=6276|def5=8332
|hpmax=25365|atkmax=7517|defmax=9720
|hpmax=25365|atkmax=7517|defmax=9720
|attribute=light|type=Heal
|attribute=light|type=Heal
Line 65: Line 64:
|doppel5=Damage to all enemies [VIII] & Revive Ally & HP Restore (All) & Remove All Negative Effects
|doppel5=Damage to all enemies [VIII] & Revive Ally & HP Restore (All) & Remove All Negative Effects
}}
}}
</nowiki></pre>
<!--</nowiki></pre>-->
</noinclude><includeonly>
</noinclude><includeonly>
{|class="mw-collapsible mw-collapsed wikitable" style="width:100%;"
{|class="mw-collapsible mw-collapsed wikitable" style="width:100%;"
Line 72: Line 71:
|-
|-
|style="padding:10px; background:#fff;"|
|style="padding:10px; background:#fff;"|
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|[[Category:Magia Record ★1]]|
[[Category:Magia Record ★{{Magia Record Rarity
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|[[Category:Magia Record ★2]]|
|{{{hp1|}}}{{{atk1|}}}{{{def1|}}}
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|[[Category:Magia Record ★3]]|
|{{{hp2|}}}{{{atk2|}}}{{{def2|}}}
{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|[[Category:Magia Record ★4]]|
|{{{hp3|}}}{{{atk3|}}}{{{def3|}}}
}}}}}}}}
|{{{hp4|}}}{{{atk4|}}}{{{def4|}}}
|{{{hp5|}}}{{{atk5|}}}{{{def5|}}}}}]]
{|class="wikitable" style="width:100%;text-align:center;border:none;"
{|class="wikitable" style="width:100%;text-align:center;border:none;"
!style="width:25%;"|'''Rarity'''
!style="width:25%;"|'''Rarity'''
Line 84: Line 84:
|-
|-
|style="width:25%;"|
|style="width:25%;"|
{{#if:{{{rarity|}}}|{{{rarity}}}|
{{Magia Record Rarity|mode=range|suffix=★|sep=→
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|1|
|{{{hp1|}}}{{{atk1|}}}{{{def1|}}}
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|2|
|{{{hp2|}}}{{{atk2|}}}{{{def2|}}}
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|3|
|{{{hp3|}}}{{{atk3|}}}{{{def3|}}}
{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|4|
|{{{hp4|}}}{{{atk4|}}}{{{def4|}}}
{{#if:{{{hp5|}}}{{{atk5|}}}{{{def5|}}}|5|
|{{{hp5|}}}{{{atk5|}}}{{{def5|}}}}}
}}}}}}}}}}★
{{#if:{{{hp5|}}}{{{atk5|}}}{{{def5|}}}|5|
{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|4|
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|3|
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|2|
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|1|
}}}}}}}}}}★
|}}
|style="width:25%;"|
|style="width:25%;"|
{{#if:{{{hp5|}}}{{{atk5|}}}{{{def5|}}}|100|
{{#explode:100,80,60,50,40|,|-{{Magia Record Rarity|mode=rev
{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|80|
|{{{hp1|}}}{{{atk1|}}}{{{def1|}}}
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|60|
|{{{hp2|}}}{{{atk2|}}}{{{def2|}}}
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|50|
|{{{hp3|}}}{{{atk3|}}}{{{def3|}}}
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|40|
|{{{hp4|}}}{{{atk4|}}}{{{def4|}}}
}}}}}}}}}}
|{{{hp5|}}}{{{atk5|}}}{{{def5|}}}}}}}
<!--The 2 and 3 star cases above are unused and probably wrong-->
<!--The 2 and 3 star cases above are unused and probably wrong-->
|style="width:25%;"|{{#if:{{{type|}}}|{{{typedisplay|{{{type}}}}}} [[Category:Magia Record Type {{ucfirst:{{{type}}}}}]]|Unknown}}
|style="width:25%;"|{{#if:{{{type|}}}|{{{typedisplay|{{{type}}}}}} [[Category:Magia Record Type {{ucfirst:{{{type}}}}}]]|Unknown}}

Revision as of 01:56, 15 August 2023


Creates a Magia Record unit stats box.

Possible parameters (which can be specified in any order):

Basic Stats
  • hp0, atk0, def0 – Initial HP, ATK, and DEF
  • hp1 - hp5 – Max HP for each star (only include those that are valid for the character)
  • atk1 - atk5 – Max ATK for each star (only include those that are valid for the character)
  • def1 - def5 – Max DEF for each star (only include those that are valid for the character)
  • hpmax, atkmax, defmax – Max HP, ATK, DEF when fully maxed out including spirit enhancement
The girl's rarity range is determined by which levels these keys are specified for. For example, if you specify atk3 and atk4, it will display as 3★ → 4★. The 0 and max levels are always mandatory.
Miscellaneous
  • attribute – The girl's attribute
  • type – The girl's type; must be one of the valid type categories
  • typedisplay - The displayed type; if present, is displayed instead of the type above but still using the above type to categorize the character.
  • disk1 - disk5 – The girl's disk pool; omitted entries will be filled with a duplicate of the previous entry (so, disk1 is always mandatory)
Connect
  • connect – The name of the girl's connect skill
  • connecttype – The icon of the girl's connect skill (see Template:Magia Record Skill Icon for valid values)
  • connect1 - connect5 – Effect of the connect skill for each star (only include those that are valid for the character)
Magia
  • magia – The name of the girl's magia skill
  • magiatype – The type of magia (see Template:Magia Record Magia Type for valid values)
  • magia1 - magia5 – Effect of the magia skill for each star (only include those that are valid for the character)
Doppel or Magia 2 - leave these out if the girl doesn't have one
  • doppel – The name of the girl's doppel or second magia skill
  • doppel5 – Effect of the doppel or second magia skill
  • doppeltype - One of "doppel" or "magia2" (determines whether the above is a doppel or a second magia), or a type as in magiatype (making it a second magia with an icon)
EX Skill - leave these out if the girl doesn't have one
  • exskill - The name of the girl's EX skill
  • exskilltype – The icon of the girl's EX skill (see Template:Magia Record Skill Icon for valid values)
  • exskill1 - Effect of the EX skill on 1 slot
  • exskill4 - Effect of the EX skill on 4 slots

Here's an example of what the code might look like for Iroha Tamaki:

Stats, Connect, Magia Data
Rarity Final Lv Type Attribute

1★→ 5★

100

Heal

Attribute light.png

STATS HP ATK DEF

Initial 3068 878 1157

Max at ★1 9204 2634 3471
Max at ★2 10633 3033 4016
Max at ★3 13474 3848 5089
Max at ★4 17748 6714 6714
Max at ★5 22020 6276 8332

Max SE 25365 7517 9720
Disks
Disk accele.png Disk accele.png Disk blast horizontal.png Disk blast horizontal.png Disk charge.png
Icon skill 1078.png Connect: We're Together, We'll Be Fine

★1 HP Recovery [I]
★2 HP Recovery [III]
★3 HP Recovery [V]
★4 HP Recovery [VII] & Restore MP to Yachiyo
★5 HP Recovery [VIII] & & Attack UP [VI] & Restore MP to Yachiyo
{{{2}}} Magia: Strada · Futuro

★1 Damage to all enemies [I] & Revive Ally
★2 Damage to all enemies [I] & Revive Ally
★3 Damage to all enemies [II] & Revive Ally
★4 Damage to all enemies [IV] & Revive Ally
★5 Damage to all enemies [VI] & Revive Ally & HP Restore (All)
Doppel: Giovanna

Damage to all enemies [VIII] & Revive Ally & HP Restore (All) & Remove All Negative Effects