Template:Magia Record Skill Icon: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Set size)
(Fix a few more cases of broken markup in the effect branch, add one more example)
Line 19: Line 19:
{{Magia Record Skill Icon|effect-pierce}}
{{Magia Record Skill Icon|effect-pierce}}
{{Magia Record Skill Icon|effect-negate-stun}}
{{Magia Record Skill Icon|effect-negate-stun}}
{{Magia Record Skill Icon|effect-add-skill-seal}}
{{Magia Record Skill Icon|status-burn}}
{{Magia Record Skill Icon|status-burn}}
{{Magia Record Skill Icon|support-revive}}
{{Magia Record Skill Icon|support-revive}}
Line 31: Line 32:
{{Magia Record Skill Icon|effect-pierce}}
{{Magia Record Skill Icon|effect-pierce}}
{{Magia Record Skill Icon|effect-negate-stun}}
{{Magia Record Skill Icon|effect-negate-stun}}
{{Magia Record Skill Icon|effect-add-skill-seal}}
{{Magia Record Skill Icon|status-burn}}
{{Magia Record Skill Icon|status-burn}}
{{Magia Record Skill Icon|support-revive}}
{{Magia Record Skill Icon|support-revive}}
Line 74: Line 76:
}}
}}
|effect={{#switch:{{#explode:{{{1}}}|-|1}}
|effect={{#switch:{{#explode:{{{1}}}|-|1}}
  |damage|dmg|dam={{#explode:{{{1}}}|-|2}}
  |damage|dmg|dam={{#switch:{{#explode:{{{1}}}|-|2|3}}
   |witch|witches=1213
   |witch|witches=1213
   |status|ailment|statuses|ailments=1172
   |status|ailment|statuses|ailments|status-ailment|status-ailments=1172
   |1119
   |1119
  }}
  }}
Line 91: Line 93:
  |guard=1170
  |guard=1170
  |charge=1217
  |charge=1217
  |weak={{#explode:{{{1}}}|-|2
  |weak={{#switch:{{#explode:{{{1}}}|-|2}}
   |mpregen=1132
   |mpregen=1132
  }}
  }}
Line 108: Line 110:
   |1120
   |1120
  }}
  }}
  |negate={{#switch:{{#explode:{{{1}}}|-|2}}
  |negate={{#switch:{{#explode:{{{1}}}|-|2|3}}
   |damage|dmg|dam=
   |damage|dmg|dam=
   |cut|reduce|reduced|dmgcut|damagecut|cutdmg|cutdamage|reducedmg=1177
   |cut|reduce|reduced|dmgcut|damagecut|cutdmg|cutdamage|reducedmg=1177
Line 135: Line 137:
   |debuff|debuffs=1218
   |debuff|debuffs=1218
  }}
  }}
  |add={{#switch:{{#explode:{{{1}}}|-|2}}
  |add={{#switch:{{#explode:{{{1}}}|-|2|3}}
   |mp=1130
   |mp=1130
   |charm=1145
   |charm=1145
Line 149: Line 151:
   |seal-magia|magia-seal=1155
   |seal-magia|magia-seal=1155
  }}
  }}
}}
|draw={{#switch:{{#explode:{{{1}}}|-|1}}
|draw={{#switch:{{#explode:{{{1}}}|-|1}}
  |accel|accele=1166
  |accel|accele=1166

Revision as of 14:46, 6 August 2023

Inserts the icon for a particular skill effect. All effects begin with one of the following keywords:

  • support - green icons
  • buff - red icons
  • debuff - blue icons
  • status - purple icons
  • special - pink icons
  • draw - draw discs
  • effect - yellow icons

You can set the size with |size=20px. It defaults to 40px.

Some examples:

{{Magia Record Skill Icon|buff-attack}}
{{Magia Record Skill Icon|debuff-defense}}
{{Magia Record Skill Icon|effect-pierce}}
{{Magia Record Skill Icon|effect-negate-stun}}
{{Magia Record Skill Icon|effect-add-skill-seal}}
{{Magia Record Skill Icon|status-burn}}
{{Magia Record Skill Icon|support-revive}}
{{Magia Record Skill Icon|draw-element-flame}}
{{Magia Record Skill Icon|special-cc}}

expands to:

{{{2}}} {{{2}}} {{{2}}} {{{2}}} {{{2}}} {{{2}}} {{{2}}} {{{2}}} {{{2}}}