Template:Magia Record Stats: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Undo revision 116891 by Sondenise (talk))
Tag: Undo
(Support for icons on connect, magia, second magia, and EX skill - I think the latter may never be used but whatever)
Line 15: Line 15:
* <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>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>connecttype</tt> – The icon of the girl's connect skill (see [[Template:Magia Record Skill Icon]] for valid values)
* <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>magiatype</tt> – The type of magia (see [[Template:Magia Record Magia Type]] for valid values)
* <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 or second magia 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 or second magia 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>doppeltype</tt> - One of "doppel" or "magia2" (determines whether the above is a doppel or a second magia), or a type as in <tt>magiatype</tt> (making it a second magia with an icon)
* <tt>exskill</tt> - The name of the girl's EX skill (only include if they have one)
* <tt>exskill</tt> - The name of the girl's EX skill (only include if they have one)
* <tt>exskilltype</tt> – The icon of the girl's EX skill (see [[Template:Magia Record Skill Icon]] for valid values)
* <tt>exskill1</tt> - Effect of the EX skill on 1 slot (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>exskill4</tt> - Effect of the EX skill on 4 slots (only include if they have one)
Line 39: Line 42:
|disk1=accele|disk3=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
|connecttype=support-heal
|connect1=HP Recovery [I]
|connect1=HP Recovery [I]
|connect2=HP Recovery [III]
|connect2=HP Recovery [III]
Line 45: Line 49:
|connect5=HP Recovery [VIII] & & Attack UP [VI] & Restore MP to [[Yachiyo Nanami|Yachiyo]]
|connect5=HP Recovery [VIII] & & Attack UP [VI] & Restore MP to [[Yachiyo Nanami|Yachiyo]]
|magia=Strada · Futuro
|magia=Strada · Futuro
|magiatype=all
|magia1=Damage to all enemies [I] & Revive Ally
|magia1=Damage to all enemies [I] & Revive Ally
|magia2=Damage to all enemies [I] & Revive Ally
|magia2=Damage to all enemies [I] & Revive Ally
Line 128: Line 133:


{|class="wikitable" style="width:100%;text-align:center;border:none;"
{|class="wikitable" style="width:100%;text-align:center;border:none;"
!colspan="5"|'''Connect:''' ''{{{connect|!}}}''  
{{#if:{{{connecttype|}}}|!style="width:40px"{{!}}{{Magia Record Skill Icon|{{{connecttype}}}}}|!}}
!style="vertical-align:middle"|'''Connect:''' ''{{{connect|!}}}''  
{{#if:{{{connect1|}}}|{{Magia Record Skill Row|{{{connect1}}}
{{#if:{{{connect1|}}}|{{Magia Record Skill Row|{{{connect1}}}
|star=1}}|}}{{#if:{{{connect2|}}}|{{Magia Record Skill Row|{{{connect2}}}
|star=1}}|}}{{#if:{{{connect2|}}}|{{Magia Record Skill Row|{{{connect2}}}
Line 136: Line 142:
|star=5}}|}}
|star=5}}|}}
|-
|-
!colspan="5"|'''Magia:''' ''{{{magia|!}}}''
{{#if:{{{magiatype|}}}|!style="width:40px"{{!}}{{Magia Record Magia Type|{{{magiatype}}}}}|!}}
!style="vertical-align:middle"|'''Magia:''' ''{{{magia|!}}}''
{{#if:{{{magia1|}}}|{{Magia Record Skill Row|{{{magia1}}}
{{#if:{{{magia1|}}}|{{Magia Record Skill Row|{{{magia1}}}
|star=1}}|}}{{#if:{{{magia2|}}}|{{Magia Record Skill Row|{{{magia2}}}
|star=1}}|}}{{#if:{{{magia2|}}}|{{Magia Record Skill Row|{{{magia2}}}
Line 145: Line 152:
{{#if:{{{doppel|}}}{{{doppel5|}}}|
{{#if:{{{doppel|}}}{{{doppel5|}}}|
{{!}}-
{{!}}-
!colspan="5"{{!}}'''{{#switch:{{{doppeltype|doppel}}}|doppel=Doppel|magia2=Magia 2}}:''' ''{{{doppel|!}}}'' [[Category:Magia Record with {{#switch:{{{doppeltype|doppel}}}|doppel=Doppels|magia2=Second Magias}}]]
{{#switch:{{{doppeltype|doppel}}}|doppel|magia2=!|{{Magia Record Magia Type|{{{doppeltype}}}}}}}
!colspan="5" style="vertical-align:middle"{{!}}'''{{#switch:{{{doppeltype|doppel}}}|doppel=Doppel|#default|magia2=Magia 2|Magia 2}}:''' ''{{{doppel|!}}}'' [[Category:Magia Record with {{#switch:{{{doppeltype|doppel}}}|doppel=Doppels|#default|magia2=Second Magias}}]]
{{Magia Record Skill Row|{{{doppel5|???}}}}}
{{Magia Record Skill Row|{{{doppel5|???}}}}}
{{#if:{{{exskill|}}}{{{exskill1|}}}{{{exskill4|}}}|
{{#if:{{{exskill|}}}{{{exskill1|}}}{{{exskill4|}}}|
{{!}}-
{{!}}-
{{#if:{{{exskilltype|}}}|!style="width:40px"{{!}}{{Magia Record Magia Type|{{{exskilltype}}}}}|!}}
!colspan="5"{{!}}'''EX Skill:''' ''{{{exskill|!}}}''
!colspan="5"{{!}}'''EX Skill:''' ''{{{exskill|!}}}''
{{#if:{{{exskill1|}}}|
{{#if:{{{exskill1|}}}|

Revision as of 16:01, 6 August 2023


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
  • 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 – 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 – 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 - 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)
  • exskill - The name of the girl's EX skill (only include if they have one)
  • 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 (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
|connecttype=support-heal
|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
|magiatype=all
|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
}}