Template:Magia Record Stats: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Correct error in detection of minimum star)
(Undo revision 116891 by Sondenise (talk))
Tag: Undo
(22 intermediate revisions by 2 users not shown)
Line 7: Line 7:
* <tt>hp0, atk0, def0</tt> – Initial HP, ATK, and DEF
* <tt>hp0, atk0, def0</tt> – Initial HP, ATK, and DEF
* <tt>hp1 - hp5</tt> – Max HP for each star (only include those that are valid for the character)
* <tt>hp1 - hp5</tt> – Max HP for each star (only include those that are valid for the character)
* <tt>atk1 - atk5</tt> – Max ATK for each star (only include those that are valid for the character)
* <tt>atk1 - atk5</tt> – Max ATK for each star (only include those that are valid for the character)
* <tt>def1 - def5</tt> – Max DEF for each star (only include those that are valid for the character)
* <tt>def1 - def5</tt> – Max DEF for each star (only include those that are valid for the character)
* <tt>hpmax, atkmax, defmax</tt> – Max HP, ATK, DEF when fully maxed out including spirit enhancement
* <tt>hpmax, atkmax, defmax</tt> – Max HP, ATK, DEF when fully maxed out including spirit enhancement
* <tt>attribute</tt> – The girl's [[Template:Magia Record Attribute|attribute]]
* <tt>attribute</tt> – The girl's [[Template:Magia Record Attribute|attribute]]
* <tt>type</tt> – The girl's type
* <tt>type</tt> – The girl's type; must be one of the valid type categories
* <tt>disk1, disk2, disk3, disk4, disk5</tt> – The girl's [[Template:Magia Record Disk|disk]] pool
* <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>disk1, disk2, disk3, disk4, disk5</tt> – The girl's [[Template:Magia Record Disk|disk]] pool; omitted entries will be filled with a duplicate of the previous entry (so, disk1 is always mandatory)
* <tt>connect</tt> – The name of the girl's connect skill
* <tt>connect</tt> – The name of the girl's connect skill
* <tt>connect1 - connect5</tt> – Effect of the connect skill for each star (only include those that are valid for the character)
* <tt>connect1 - connect5</tt> – Effect of the connect skill for each star (only include those that are valid for the character)
* <tt>magia</tt> – The name of the girl's magia skill
* <tt>magia</tt> – The name of the girl's magia skill
* <tt>magia1 - magia5</tt> – Effect of the magia skill for each star (only include those that are valid for the character)
* <tt>magia1 - magia5</tt> – Effect of the magia skill for each star (only include those that are valid for the character)
* <tt>doppel</tt> – The name of the girl's doppel skill (only include if they have one)
* <tt>doppel</tt> – The name of the girl's doppel or second magia skill (only include if they have one)
* <tt>doppel5</tt> – Effect of the doppel skill (only include if they have one)
* <tt>doppel5</tt> – Effect of the doppel or second magia skill (only include if they have one)
* <tt>doppeltype</tt> - Either "doppel" or "magia2" - determines whether the above is a doppel or a second magia
* <tt>exskill</tt> - The name of the girl's EX skill (only include if they have one)
* <tt>exskill1</tt> - Effect of the EX skill on 1 slot (only include if they have one)
* <tt>exskill4</tt> - Effect of the EX skill on 4 slots (only include if they have one)
* <tt>rarity</tt> – Overrides the auto-generated rarity cell (only use if the character cannot be upgraded in rarity)
* <tt>rarity</tt> – Overrides the auto-generated rarity cell (only use if the character cannot be upgraded in rarity)


Line 24: Line 29:
<pre><nowiki>
<pre><nowiki>
{{Magia Record Stats
{{Magia Record Stats
|hp0=3068|hp1=9204|hp2=10633|hp3=13474|hp4=17748|hp5=22020|hpmax=25365
|hp0=3068|atk0=878|def0=1157
|atk0=878|atk1=2634|atk2=3033|atk3=3848|atk4=6714|atk5=6276|atkmax=7517
|hp1=9204|atk1=2634|def1=3471
|def0=1157|def1=3471|def2=4016|def3=5089|def4=6714|def5=8332|defmax=9720
|hp2=10633|atk2=3033|def2=4016
|hp3=13474|atk3=3848|def3=5089
|hp4=17748|atk4=6714|def4=6714
|hp5=22020|atk5=6276|def5=8332
|hpmax=25365|atkmax=7517|defmax=9720
|attribute=light|type=Heal
|attribute=light|type=Heal
|disk1=accele|disk2=accele|disk3=blast-|disk4=blast-|disk5=charge
|disk1=accele|disk3=blast-|disk5=charge
|connect=We're Together, We'll Be Fine
|connect=We're Together, We'll Be Fine
|connect1=HP Recovery [I]
|connect1=HP Recovery [I]
Line 51: Line 60:
|-
|-
|style="padding:10px; background:#fff;"|
|style="padding:10px; background:#fff;"|
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|[[Category:Magia Record ★1]]|
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|[[Category:Magia Record ★2]]|
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|[[Category:Magia Record ★3]]|
{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|[[Category:Magia Record ★4]]|
}}}}}}}}
{|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'''
|style="width:25%;"|'''Final Lv'''
!style="width:25%;"|'''Final Lv'''
|style="width:25%;"|'''Type'''
!style="width:25%;"|'''Type'''
|style="width:25%;"|'''Attribute'''
!style="width:25%;"|'''Attribute'''
|-
|-
|style="width:25%;"|
|style="width:25%;"|
Line 63: Line 77:
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|3|
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|3|
{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|4|
{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|4|
{{$if:{{{hp5|}}}{{{atk5|}}}{{{def5|}}}|5|
{{#if:{{{hp5|}}}{{{atk5|}}}{{{def5|}}}|5|
}}}}}}}}}}★
}}}}}}}}}}★
Line 70: Line 84:
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|3|
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|3|
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|2|
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|2|
{{$if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|1|
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|1|
}}}}}}}}}}★
}}}}}}}}}}★
|}}
|}}
Line 78: Line 92:
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|60|
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|60|
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|50|
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|50|
{{$if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|40|
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|40|
}}}}}}}}}}
}}}}}}}}}}
<!--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%;"|{{{type|}}}
|style="width:25%;"|{{#if:{{{type|}}}|{{{typedisplay|{{{type}}}}}} [[Category:Magia Record Type {{ucfirst:{{{type}}}}}]]|Unknown}}
|style="width:25%;"|
|style="width:25%;"|
{{#if:{{{attribute|}}}|{{Magia Record Attribute|{{{attribute}}}}}|}}
{{#if:{{{attribute|}}}|{{Magia Record Attribute|{{{attribute}}}}} [[Category:Magia Record Attribute {{ucfirst:{{{attribute}}}}}]]|}}
|-
|-
|style="width:25%;"|'''STATS'''
!style="width:25%;"|'''STATS'''
|style="width:25%;"|'''HP'''
!style="width:25%;"|'''HP'''
|style="width:25%;"|'''ATK'''
!style="width:25%;"|'''ATK'''
|style="width:25%;"|'''DEF'''
!style="width:25%;"|'''DEF'''
{{Magia Record Stats Row|title=Initial|hp={{{hp0|}}}|atk={{{atk0|}}}|def={{{def0|}}}}}
{{Magia Record Stats Row|title=Initial|hp={{{hp0|}}}|atk={{{atk0|}}}|def={{{def0|}}}}}
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}|
{{Magia Record Stats Row|title=Max at ★1|hp={{{hp1|}}}|atk={{{atk1|}}}|def={{{def1|}}}}}
{{Magia Record Stats Row|title=Max at ★1|hp={{{hp1|}}}|atk={{{atk1|}}}|def={{{def1|}}}}}
|}}
|}}{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|
{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}|
{{Magia Record Stats Row|title=Max at ★2|hp={{{hp2|}}}|atk={{{atk2|}}}|def={{{def2|}}}}}
{{Magia Record Stats Row|title=Max at ★2|hp={{{hp2|}}}|atk={{{atk2|}}}|def={{{def2|}}}}}
|}}
|}}{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|
{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}|
{{Magia Record Stats Row|title=Max at ★3|hp={{{hp3|}}}|atk={{{atk3|}}}|def={{{def3|}}}}}
{{Magia Record Stats Row|title=Max at ★3|hp={{{hp3|}}}|atk={{{atk3|}}}|def={{{def3|}}}}}
|}}
|}}{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|
{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}|
{{Magia Record Stats Row|title=Max at ★4|hp={{{hp4|}}}|atk={{{atk4|}}}|def={{{def4|}}}}}
{{Magia Record Stats Row|title=Max at ★4|hp={{{hp4|}}}|atk={{{atk4|}}}|def={{{def4|}}}}}
|}}
|}}{{#if:{{{hp5|}}}{{{atk5|}}}{{{def5|}}}|
{{#if:{{{hp5|}}}{{{atk5|}}}{{{def5|}}}|
{{Magia Record Stats Row|title=Max at ★5|hp={{{hp5|}}}|atk={{{atk5|}}}|def={{{def5|}}}}}
{{Magia Record Stats Row|title=Max at ★5|hp={{{hp5|}}}|atk={{{atk5|}}}|def={{{def5|}}}}}
|}}
|}}{{Magia Record Stats Row|title=Max SE|hp={{{hpmax|}}}|atk={{{atkmax|}}}|def={{{defmax|}}}}}
{{Magia Record Stats Row|title=Max SE|hp={{{hpmax|}}}|atk={{{atkmax|}}}|def={{{defmax|}}}}}
|}
|}


Line 111: Line 120:
!colspan="5"|'''Disks'''
!colspan="5"|'''Disks'''
|-
|-
|style="width:20%;"|{{#if:{{{disk1|}}}|{{Magia Record Disk|{{{disk1}}}}}|}}
|style="width:20%;"|{{Magia Record Disk|{{{disk1}}}}}
|style="width:20%;"|{{#if:{{{disk2|}}}|{{Magia Record Disk|{{{disk2}}}}}|}}
|style="width:20%;"|{{Magia Record Disk|{{{disk2|{{{disk1}}}}}}}}
|style="width:20%;"|{{#if:{{{disk3|}}}|{{Magia Record Disk|{{{disk3}}}}}|}}
|style="width:20%;"|{{Magia Record Disk|{{{disk3|{{{disk2|{{{disk1}}}}}}}}}}}
|style="width:20%;"|{{#if:{{{disk4|}}}|{{Magia Record Disk|{{{disk4}}}}}|}}
|style="width:20%;"|{{Magia Record Disk|{{{disk4|{{{disk3|{{{disk2|{{{disk1}}}}}}}}}}}}}}
|style="width:20%;"|{{#if:{{{disk5|}}}|{{Magia Record Disk|{{{disk5}}}}}|}}
|style="width:20%;"|{{Magia Record Disk|{{{disk5|{{{disk4|{{{disk3|{{{disk2|{{{disk1}}}}}}}}}}}}}}}}}
|}
|}


{|class="wikitable" style="width:100%;text-align:center;border:none;"
{|class="wikitable" style="width:100%;text-align:center;border:none;"
!colspan="5"|'''Connect:''' ''{{{connect|!}}}''  
!colspan="5"|'''Connect:''' ''{{{connect|!}}}''  
{{#if:{{{connect1|}}}|{{Magia Record Skill Row|{{{connect1}}}|star=1}}|}}
{{#if:{{{connect1|}}}|{{Magia Record Skill Row|{{{connect1}}}
{{#if:{{{connect2|}}}|{{Magia Record Skill Row|{{{connect2}}}|star=2}}|}}
|star=1}}|}}{{#if:{{{connect2|}}}|{{Magia Record Skill Row|{{{connect2}}}
{{#if:{{{connect3|}}}|{{Magia Record Skill Row|{{{connect3}}}|star=3}}|}}
|star=2}}|}}{{#if:{{{connect3|}}}|{{Magia Record Skill Row|{{{connect3}}}
{{#if:{{{connect4|}}}|{{Magia Record Skill Row|{{{connect4}}}|star=4}}|}}
|star=3}}|}}{{#if:{{{connect4|}}}|{{Magia Record Skill Row|{{{connect4}}}
{{#if:{{{connect5|}}}|{{Magia Record Skill Row|{{{connect5}}}|star=5}}|}}
|star=4}}|}}{{#if:{{{connect5|}}}|{{Magia Record Skill Row|{{{connect5}}}
|}
|star=5}}|}}
{|class="wikitable" style="width:100%;text-align:center;border:none;"
|-
|-
!colspan="5"|'''Magia:''' ''{{{magia|!}}}''
!colspan="5"|'''Magia:''' ''{{{magia|!}}}''
{{#if:{{{magia1|}}}|{{Magia Record Skill Row|{{{magia1}}}|star=1}}|}}
{{#if:{{{magia1|}}}|{{Magia Record Skill Row|{{{magia1}}}
{{#if:{{{magia2|}}}|{{Magia Record Skill Row|{{{magia2}}}|star=2}}|}}
|star=1}}|}}{{#if:{{{magia2|}}}|{{Magia Record Skill Row|{{{magia2}}}
{{#if:{{{magia3|}}}|{{Magia Record Skill Row|{{{magia3}}}|star=3}}|}}
|star=2}}|}}{{#if:{{{magia3|}}}|{{Magia Record Skill Row|{{{magia3}}}
{{#if:{{{magia4|}}}|{{Magia Record Skill Row|{{{magia4}}}|star=4}}|}}
|star=3}}|}}{{#if:{{{magia4|}}}|{{Magia Record Skill Row|{{{magia4}}}
{{#if:{{{magia5|}}}|{{Magia Record Skill Row|{{{magia5}}}|star=5}}|}}
|star=4}}|}}{{#if:{{{magia5|}}}|{{Magia Record Skill Row|{{{magia5}}}
|}
|star=5}}|}}
{{#if:{{{doppel|}}}{{{magia1|}}}|
{{#if:{{{doppel|}}}{{{doppel5|}}}|
{{{!}}class="wikitable" style="width:100%;text-align:center;border:none;"
{{!}}-
!colspan="5"{{!}}'''Doppel:''' ''{{{doppel|!}}}''
!colspan="5"{{!}}'''{{#switch:{{{doppeltype|doppel}}}|doppel=Doppel|magia2=Magia 2}}:''' ''{{{doppel|!}}}'' [[Category:Magia Record with {{#switch:{{{doppeltype|doppel}}}|doppel=Doppels|magia2=Second Magias}}]]
{{Magia Record Skill Row|{{{doppel5|???}}}}}
{{#if:{{{exskill|}}}{{{exskill1|}}}{{{exskill4|}}}|
{{!}}-
{{!}}-
{{#if:{{{doppel5|}}}|{{Magia Record Skill Row|{{{doppel5}}}}}|}}|}}
!colspan="5"{{!}}'''EX Skill:''' ''{{{exskill|!}}}''
{{#if:{{{exskill1|}}}|
{{Magia Record Skill Row|1 - 3 slots: {{{exskill1}}}}}|}}
{{#if:{{{exskill4|}}}|
{{Magia Record Skill Row|4 slots: {{{exskill4}}}}}|}}|}}|}}
|}
|}
<references/>
|}
|}
</includeonly>
</includeonly>

Revision as of 22:07, 24 March 2022


Creates a Magia Record unit stats box.

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

  • 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
  • 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, disk2, disk3, disk4, disk5 – The girl's disk pool; omitted entries will be filled with a duplicate of the previous entry (so, disk1 is always mandatory)
  • connect – The name of the girl's connect skill
  • connect1 - connect5 – Effect of the connect skill for each star (only include those that are valid for the character)
  • magia – The name of the girl's magia skill
  • magia1 - magia5 – Effect of the magia skill for each star (only include those that are valid for the character)
  • doppel – The name of the girl's doppel or second magia skill (only include if they have one)
  • doppel5 – Effect of the doppel or second magia skill (only include if they have one)
  • doppeltype - Either "doppel" or "magia2" - determines whether the above is a doppel or a second magia
  • exskill - The name of the girl's EX skill (only include if they have one)
  • exskill1 - Effect of the EX skill on 1 slot (only include if they have one)
  • exskill4 - Effect of the EX skill on 4 slots (only include if they have one)
  • rarity – Overrides the auto-generated rarity cell (only use if the character cannot be upgraded in rarity)

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

{{Magia Record Stats
|hp0=3068|atk0=878|def0=1157
|hp1=9204|atk1=2634|def1=3471
|hp2=10633|atk2=3033|def2=4016
|hp3=13474|atk3=3848|def3=5089
|hp4=17748|atk4=6714|def4=6714
|hp5=22020|atk5=6276|def5=8332
|hpmax=25365|atkmax=7517|defmax=9720
|attribute=light|type=Heal
|disk1=accele|disk3=blast-|disk5=charge
|connect=We're Together, We'll Be Fine
|connect1=HP Recovery [I]
|connect2=HP Recovery [III]
|connect3=HP Recovery [V]
|connect4=HP Recovery [VII] & Restore MP to [[Yachiyo Nanami|Yachiyo]]
|connect5=HP Recovery [VIII] & & Attack UP [VI] & Restore MP to [[Yachiyo Nanami|Yachiyo]]
|magia=Strada · Futuro
|magia1=Damage to all enemies [I] & Revive Ally
|magia2=Damage to all enemies [I] & Revive Ally
|magia3=Damage to all enemies [II] & Revive Ally 
|magia4=Damage to all enemies [IV] & Revive Ally
|magia5=Damage to all enemies [VI] & Revive Ally & HP Restore (All)
|doppel=Giovanna
|doppel5=Damage to all enemies [VIII] & Revive Ally & HP Restore (All) & Remove All Negative Effects
}}