Template:Magia Record Spirit Enhancement: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Update documentation)
(Forgot to uncomment the pre/nowiki tags)
 
(9 intermediate revisions by the same user not shown)
Line 13: Line 13:
* <tt>hpmax, atkmax, defmax</tt> - Maximum values for HP, ATK, and DEF
* <tt>hpmax, atkmax, defmax</tt> - Maximum values for HP, ATK, and DEF
* <tt>accelemax, blastmax, chargemax</tt> - Maximum values for Accele, Blast, and Charge
* <tt>accelemax, blastmax, chargemax</tt> - Maximum values for Accele, Blast, and Charge
* ''Unnamed parameters'' - Each one names a skill gainable by Spirit Enhancement
* <tt>active</tt> - The active skill effect gainable by Spirit Enhancement
* <tt>activetype</tt> - Icon for the above skill
* <tt>activename</tt> - Flavour name for the above skill
* <tt>cooldown</tt> - Cooldown for the above skill
* ''Unnamed parameters'' - Each one names and describes a skill gainable by Spirit Enhancement - it should be of the form <tt>name: effect</tt>
* <tt>icons</tt> - All the icons used for the above skills, separated by commas


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]]:
Line 25: Line 30:
|hp5=7|atk5=6|def5=8|accele5=7|blast5=7|charge5=5
|hp5=7|atk5=6|def5=8|accele5=7|blast5=7|charge5=5
|hpmax=7|atkmax=6|defmax=8|accelemax=13|blastmax=13|chargemax=10
|hpmax=7|atkmax=6|defmax=8|accelemax=13|blastmax=13|chargemax=10
|Regenerate HP [II]
|icons=
|Magia Damage UP [II]
effect-hpregen, buff-mpgain, buff-doppelmp, buff-doppel, buff-doppelmp, buff-doppel,
|MP Gain UP When Over 100 MP [II]
effect-hpregen, buff-blast, buff-defense, buff-doppelmp, buff-status, effect-negate-skill-seal
|Doppel Damage UP [I] & Magia Damage UP [I]
|Regeneration Adept: Regenerate HP [II]
|MP Gain UP When Over 100 MP [II]
|Magia Adept: Magia Damage UP [II]
|Doppel Damage UP [I] & Magia Damage UP [I]
|MP Boost: MP Gain UP When Over 100 MP [II]
|Regenerate HP [III]
|Doppel Adept: Doppel Damage UP [I] & Magia Damage UP [I]
|Blast Damage UP [IV]
|MP Boost: MP Gain UP When Over 100 MP [II]
|Defense UP [III]
|Doppel Adept: Doppel Damage UP [I] & Magia Damage UP [I]
|MP Gain UP When Over 100 MP [III]
|Regeneration Adept: Regenerate HP [III]
|Status Ailment Resistance UP [I]
|Blast Adept: Blast Damage UP [IV]
|Guaranteed Anti-Skill Seal
|Guard Adept: Defense UP [III]
|'''Active Ability:''' Remove Status Ailments (Single) [''CD: 10 turns'']
|MP Boost: MP Gain UP When Over 100 MP [III]
|Resist Adept: Status Ailment Resistance UP [I]
|Anti Jammer: Guaranteed Anti-Skill Seal
|active=Remove Status Ailments (Single)
|activetype=support-remove-status
|activename=Restore Health
|cooldown=10
}}
}}
</nowiki></pre>
</nowiki></pre>
Line 57: Line 68:
|style="width:15%;"|'''Blast'''
|style="width:15%;"|'''Blast'''
|style="width:15%;"|'''Charge'''
|style="width:15%;"|'''Charge'''
{{Magia Record Spirit Row|star=1|hp={{{hp1|}}}|atk={{{atk1|}}}|def={{{def1|}}}|accele={{{accele1|}}}|blast={{{blast1|}}}|charge={{{charge1|}}}}}
{{#if:{{{hp1|}}}{{{atk1|}}}{{{def1|}}}{{{accele1|}}}{{{blast1|}}}{{{charge1|}}}|
{{Magia Record Spirit Row|star=2|hp={{{hp2|}}}|atk={{{atk2|}}}|def={{{def2|}}}|accele={{{accele2|}}}|blast={{{blast2|}}}|charge={{{charge2|}}}}}
{{Magia Record Spirit Row|star=1
{{Magia Record Spirit Row|star=3|hp={{{hp3|}}}|atk={{{atk3|}}}|def={{{def3|}}}|accele={{{accele3|}}}|blast={{{blast3|}}}|charge={{{charge3|}}}}}
|hp={{{hp1|}}}|atk={{{atk1|}}}|def={{{def1|}}}
{{Magia Record Spirit Row|star=4|hp={{{hp4|}}}|atk={{{atk4|}}}|def={{{def4|}}}|accele={{{accele4|}}}|blast={{{blast4|}}}|charge={{{charge4|}}}}}
|accele={{{accele1|}}}|blast={{{blast1|}}}|charge={{{charge1|}}}}}
{{Magia Record Spirit Row|star=5|hp={{{hp5|}}}|atk={{{atk5|}}}|def={{{def5|}}}|accele={{{accele5|}}}|blast={{{blast5|}}}|charge={{{charge5|}}}}}
|}}{{#if:{{{hp2|}}}{{{atk2|}}}{{{def2|}}}{{{accele2|}}}{{{blast2|}}}{{{charge2|}}}|
{{Magia Record Spirit Row|star=max|hp={{{hpmax|}}}|atk={{{atkmax|}}}|def={{{defmax|}}}|accele={{{accelemax|}}}|blast={{{blastmax|}}}|charge={{{chargemax|}}}}}
{{Magia Record Spirit Row|star=2
|hp={{{hp2|}}}|atk={{{atk2|}}}|def={{{def2|}}}
|accele={{{accele2|}}}|blast={{{blast2|}}}|charge={{{charge2|}}}}}
|}}{{#if:{{{hp3|}}}{{{atk3|}}}{{{def3|}}}{{{accele3|}}}{{{blast3|}}}{{{charge3|}}}|
{{Magia Record Spirit Row|star=3
|hp={{{hp3|}}}|atk={{{atk3|}}}|def={{{def3|}}}
|accele={{{accele3|}}}|blast={{{blast3|}}}|charge={{{charge3|}}}}}
|}}{{#if:{{{hp4|}}}{{{atk4|}}}{{{def4|}}}{{{accele4|}}}{{{blast4|}}}{{{charge4|}}}|
{{Magia Record Spirit Row|star=4
|hp={{{hp4|}}}|atk={{{atk4|}}}|def={{{def4|}}}
|accele={{{accele4|}}}|blast={{{blast4|}}}|charge={{{charge4|}}}}}
|}}{{#if:{{{hp5|}}}{{{atk5|}}}{{{def5|}}}{{{accele5|}}}{{{blast5|}}}{{{charge5|}}}|
{{Magia Record Spirit Row|star=5
|hp={{{hp5|}}}|atk={{{atk5|}}}|def={{{def5|}}}
|accele={{{accele5|}}}|blast={{{blast5|}}}|charge={{{charge5|}}}}}
|}}
{{Magia Record Spirit Row|star=max
|hp={{{hpmax|}}}|atk={{{atkmax|}}}|def={{{defmax|}}}
|accele={{{accelemax|}}}|blast={{{blastmax|}}}|charge={{{chargemax|}}}}}
|}
|}
{|class="wikitable" style="width:100%;text-align:center;border:none;"
{|class="wikitable" style="width:100%;text-align:center;border:none;"
!colspan="5"|Spirit Enhancement
!colspan="4"|Spirit Enhancement
{{#if:{{{1|}}}|{{Magia Record Skill Row|{{{1}}}}}
{{#if:{{{1|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{1}}}|: }} > 0}}|1|{{#explode:{{{1}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{1}}}|: }} > 0}}|1|{{#explode:{{{1}}}|: |1|2}}|{{{1}}}}}|icon={{#explode:{{{icons|}}}|,|0}}}}
{{#if:{{{2|}}}|{{Magia Record Skill Row|{{{2}}}}}
{{#if:{{{2|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{2}}}|: }} > 0}}|1|{{#explode:{{{2}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{2}}}|: }} > 0}}|1|{{#explode:{{{2}}}|: |1|2}}|{{{2}}}}}|icon={{#explode:{{{icons|}}}|,|1}}}}
{{#if:{{{3|}}}|{{Magia Record Skill Row|{{{3}}}}}
{{#if:{{{3|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{3}}}|: }} > 0}}|1|{{#explode:{{{3}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{3}}}|: }} > 0}}|1|{{#explode:{{{3}}}|: |1|2}}|{{{3}}}}}|icon={{#explode:{{{icons|}}}|,|2}}}}
{{#if:{{{4|}}}|{{Magia Record Skill Row|{{{4}}}}}
{{#if:{{{4|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{4}}}|: }} > 0}}|1|{{#explode:{{{4}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{4}}}|: }} > 0}}|1|{{#explode:{{{4}}}|: |1|2}}|{{{4}}}}}|icon={{#explode:{{{icons|}}}|,|3}}}}
{{#if:{{{5|}}}|{{Magia Record Skill Row|{{{5}}}}}
{{#if:{{{5|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{5}}}|: }} > 0}}|1|{{#explode:{{{5}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{5}}}|: }} > 0}}|1|{{#explode:{{{5}}}|: |1|2}}|{{{5}}}}}|icon={{#explode:{{{icons|}}}|,|4}}}}
{{#if:{{{6|}}}|{{Magia Record Skill Row|{{{6}}}}}
{{#if:{{{6|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{6}}}|: }} > 0}}|1|{{#explode:{{{6}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{6}}}|: }} > 0}}|1|{{#explode:{{{6}}}|: |1|2}}|{{{6}}}}}|icon={{#explode:{{{icons|}}}|,|5}}}}
{{#if:{{{7|}}}|{{Magia Record Skill Row|{{{7}}}}}
{{#if:{{{7|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{7}}}|: }} > 0}}|1|{{#explode:{{{7}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{7}}}|: }} > 0}}|1|{{#explode:{{{7}}}|: |1|2}}|{{{7}}}}}|icon={{#explode:{{{icons|}}}|,|6}}}}
{{#if:{{{8|}}}|{{Magia Record Skill Row|{{{8}}}}}
{{#if:{{{8|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{8}}}|: }} > 0}}|1|{{#explode:{{{8}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{8}}}|: }} > 0}}|1|{{#explode:{{{8}}}|: |1|2}}|{{{8}}}}}|icon={{#explode:{{{icons|}}}|,|7}}}}
{{#if:{{{9|}}}|{{Magia Record Skill Row|{{{9}}}}}
{{#if:{{{9|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{9}}}|: }} > 0}}|1|{{#explode:{{{9}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{9}}}|: }} > 0}}|1|{{#explode:{{{9}}}|: |1|2}}|{{{9}}}}}|icon={{#explode:{{{icons|}}}|,|8}}}}
{{#if:{{{10|}}}|{{Magia Record Skill Row|{{{10}}}}}
{{#if:{{{10|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{10}}}|: }} > 0}}|1|{{#explode:{{{10}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{10}}}|: }} > 0}}|1|{{#explode:{{{10}}}|: |1|2}}|{{{10}}}}}|icon={{#explode:{{{icons|}}}|,|9}}}}
{{#if:{{{11|}}}|{{Magia Record Skill Row|{{{11}}}}}
{{#if:{{{11|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{11}}}|: }} > 0}}|1|{{#explode:{{{11}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{11}}}|: }} > 0}}|1|{{#explode:{{{11}}}|: |1|2}}|{{{11}}}}}|icon={{#explode:{{{icons|}}}|,|10}}}}
{{#if:{{{12|}}}|{{Magia Record Skill Row|{{{12}}}}}
{{#if:{{{12|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{12}}}|: }} > 0}}|1|{{#explode:{{{12}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{12}}}|: }} > 0}}|1|{{#explode:{{{12}}}|: |1|2}}|{{{12}}}}}|icon={{#explode:{{{icons|}}}|,|11}}}}
{{#if:{{{13|}}}|{{Magia Record Skill Row|{{{13}}}}}
{{#if:{{{13|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{13}}}|: }} > 0}}|1|{{#explode:{{{13}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{13}}}|: }} > 0}}|1|{{#explode:{{{13}}}|: |1|2}}|{{{13}}}}}|icon={{#explode:{{{icons|}}}|,|12}}}}
{{#if:{{{14|}}}|{{Magia Record Skill Row|{{{14}}}}}
{{#if:{{{14|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{14}}}|: }} > 0}}|1|{{#explode:{{{14}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{14}}}|: }} > 0}}|1|{{#explode:{{{14}}}|: |1|2}}|{{{14}}}}}|icon={{#explode:{{{icons|}}}|,|13}}}}
{{#if:{{{15|}}}|{{Magia Record Skill Row|{{{15}}}}}
{{#if:{{{15|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{15}}}|: }} > 0}}|1|{{#explode:{{{15}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{15}}}|: }} > 0}}|1|{{#explode:{{{15}}}|: |1|2}}|{{{15}}}}}|icon={{#explode:{{{icons|}}}|,|14}}}}
{{#if:{{{16|}}}|{{Magia Record Skill Row|{{{16}}}}}
{{#if:{{{16|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{16}}}|: }} > 0}}|1|{{#explode:{{{16}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{16}}}|: }} > 0}}|1|{{#explode:{{{16}}}|: |1|2}}|{{{16}}}}}|icon={{#explode:{{{icons|}}}|,|15}}}}
{{#if:{{{17|}}}|{{Magia Record Skill Row|{{{17}}}}}
{{#if:{{{17|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{17}}}|: }} > 0}}|1|{{#explode:{{{17}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{17}}}|: }} > 0}}|1|{{#explode:{{{17}}}|: |1|2}}|{{{17}}}}}icon={{#explode:{{{icons|}}}|,|16}}}}
{{#if:{{{18|}}}|{{Magia Record Skill Row|{{{18}}}}}
{{#if:{{{18|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{18}}}|: }} > 0}}|1|{{#explode:{{{18}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{18}}}|: }} > 0}}|1|{{#explode:{{{18}}}|: |1|2}}|{{{18}}}}}|icon={{#explode:{{{icons|}}}|,|17}}}}
{{#if:{{{19|}}}|{{Magia Record Skill Row|{{{19}}}}}
{{#if:{{{19|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{19}}}|: }} > 0}}|1|{{#explode:{{{19}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{19}}}|: }} > 0}}|1|{{#explode:{{{19}}}|: |1|2}}|{{{19}}}}}|icon={{#explode:{{{icons|}}}|,|18}}}}
{{#if:{{{20|}}}|{{Magia Record Skill Row|{{{20}}}}}
{{#if:{{{20|}}}|{{Magia Record Spirit Skill Row|{{#ifeq:{{#expr:{{#count:{{{20}}}|: }} > 0}}|1|{{#explode:{{{20}}}|: |0|2}}|}}|{{#ifeq:{{#expr:{{#count:{{{20}}}|: }} > 0}}|1|{{#explode:{{{20}}}|: |1|2}}|{{{20}}}}}|icon={{#explode:{{{icons|}}}|,|19}}}}
|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}|}}
{{#if:{{{active|}}}{{{cooldown|}}}|{{Magia Record Spirit Skill Row|icon={{{activetype|}}}|{{{activename|}}}|{{{active|!}}}|'''''CD''': {{#if:{{{cooldown|}}}|{{{cooldown}}}|?}} turns''}}|}}
|}
|}
|}
|}</includeonly>
</includeonly>

Latest revision as of 04:00, 13 August 2023


Adds a spirit enhancement table for a Magia Record magical girl.

Possible parameters:

  • hp1 - hp5 - HP bonus for each star
  • atk1 - atk5 - ATK bonus for each star
  • def1 - def5 - DEF bonus for each star
  • accele1 - accele5 - Accele bonus for each star
  • blast1 - blast5 - Blast bonus for each star
  • charge1 - charge5 - Charge bonus for each star
  • hpmax, atkmax, defmax - Maximum values for HP, ATK, and DEF
  • accelemax, blastmax, chargemax - Maximum values for Accele, Blast, and Charge
  • active - The active skill effect gainable by Spirit Enhancement
  • activetype - Icon for the above skill
  • activename - Flavour name for the above skill
  • cooldown - Cooldown for the above skill
  • Unnamed parameters - Each one names and describes a skill gainable by Spirit Enhancement - it should be of the form name: effect
  • icons - All the icons used for the above skills, separated by commas

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

{{Magia Record Spirit Enhancement
|atk1=2|blast1=1
|hp2=4|atk2=3|def2=5|accele2=4|blast2=4|charge2=2
|hp3=5|atk3=4|def3=6|accele3=5|blast3=5|charge3=3
|hp4=6|atk4=5|def4=7|accele4=6|blast4=6|charge4=4
|hp5=7|atk5=6|def5=8|accele5=7|blast5=7|charge5=5
|hpmax=7|atkmax=6|defmax=8|accelemax=13|blastmax=13|chargemax=10
|icons=
effect-hpregen, buff-mpgain, buff-doppelmp, buff-doppel, buff-doppelmp, buff-doppel,
effect-hpregen, buff-blast, buff-defense, buff-doppelmp, buff-status, effect-negate-skill-seal
|Regeneration Adept: Regenerate HP [II]
|Magia Adept: Magia Damage UP [II]
|MP Boost: MP Gain UP When Over 100 MP [II]
|Doppel Adept: Doppel Damage UP [I] & Magia Damage UP [I]
|MP Boost: MP Gain UP When Over 100 MP [II]
|Doppel Adept: Doppel Damage UP [I] & Magia Damage UP [I]
|Regeneration Adept: Regenerate HP [III]
|Blast Adept: Blast Damage UP [IV]
|Guard Adept: Defense UP [III]
|MP Boost: MP Gain UP When Over 100 MP [III]
|Resist Adept: Status Ailment Resistance UP [I]
|Anti Jammer: Guaranteed Anti-Skill Seal
|active=Remove Status Ailments (Single)
|activetype=support-remove-status
|activename=Restore Health
|cooldown=10
}}