Template:Magia Record Skill Icon: Difference between revisions

From Puella Magi Wiki
Jump to navigation Jump to search
(Document {{{2}}})
(Add a synonym for restore-hp)
Line 40: Line 40:
</noinclude><includeonly>[[File:icon skill {{#switch:{{#explode:{{{1}}}|-|0}}
</noinclude><includeonly>[[File:icon skill {{#switch:{{#explode:{{{1}}}|-|0}}
|support={{#switch:{{#explode:{{{1}}}|-|1|2}}
|support={{#switch:{{#explode:{{{1}}}|-|1|2}}
  |restore-hp=1078
  |heal|restore-hp=1078
  |restore-mp=1079
  |restore-mp=1079
  |revive=1080
  |revive=1080

Revision as of 15:08, 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. You can also add an image parameter such as |left, |right, or |thumb, but only one.

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}}}