Template:Magia Record Skill Icon: Difference between revisions
Jump to navigation
Jump to search
(Add some documentation) |
(Fix broken markup) |
||
Line 12: | Line 12: | ||
Some examples: | Some examples: | ||
< | <pre> | ||
{{Magia Record Skill Icon|buff-attack}} | {{Magia Record Skill Icon|buff-attack}} | ||
{{Magia Record Skill Icon|debuff-defense}} | {{Magia Record Skill Icon|debuff-defense}} | ||
Line 21: | Line 21: | ||
{{Magia Record Skill Icon|draw-element-flame}} | {{Magia Record Skill Icon|draw-element-flame}} | ||
{{Magia Record Skill Icon|special-cc}} | {{Magia Record Skill Icon|special-cc}} | ||
</ | </pre> | ||
expands to: | expands to: | ||
Line 34: | Line 34: | ||
{{Magia Record Skill Icon|special-cc}} | {{Magia Record Skill Icon|special-cc}} | ||
</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 | |restore-hp=1078 | ||
Line 92: | Line 92: | ||
|mpregen=1132 | |mpregen=1132 | ||
}} | }} | ||
|cut|reduce|reduced|dmgcut|damagecut|cutdmg|cutdamage|reducedmg={{#explode:{{{1}}}|-|2}} | |cut|reduce|reduced|dmgcut|damagecut|cutdmg|cutdamage|reducedmg={{#switch:{{#explode:{{{1}}}|-|2}} | ||
|accel|accele=1201 | |accel|accele=1201 | ||
|blast=1202 | |blast=1202 | ||
Line 106: | Line 106: | ||
|1120 | |1120 | ||
}} | }} | ||
|negate={{# | |negate={{#switch:{{#explode:{{{1}}}|-|2}} | ||
|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 133: | Line 133: | ||
|debuff|debuffs=1218 | |debuff|debuffs=1218 | ||
}} | }} | ||
|add={{# | |add={{#switch:{{#explode:{{{1}}}|-|2}} | ||
|mp=1130 | |mp=1130 | ||
|charm=1145 | |charm=1145 | ||
Line 147: | Line 147: | ||
|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:36, 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
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|status-burn}} {{Magia Record Skill Icon|support-revive}} {{Magia Record Skill Icon|draw-element-flame}} {{Magia Record Skill Icon|special-cc}}
expands to: