Template:Magia Record Spirit Enhancement: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(People like leaving blank parameters to be easily filled in later, but that breaks with cooldown, so let's just make it work instead)
(Forgot to uncomment the pre/nowiki tags)
 
(3 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
* <tt>active</tt> - The active 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
* <tt>cooldown</tt> - Cooldown for the above skill
* ''Unnamed parameters'' - Each one names a skill gainable by Spirit Enhancement
* ''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 27: 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]
|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)
|active=Remove Status Ailments (Single)
|activetype=support-remove-status
|activename=Restore Health
|cooldown=10
|cooldown=10
}}
}}
Line 86: Line 94:
|}
|}
{|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 Skill Row|'''Active Ability:''' {{{active|!}}} [''CD: {{#if:{{{cooldown|}}}|{{{cooldown}}}|?}} turns'']}}|}}
{{#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
}}