Template:Magia Record Skill Icon: Difference between revisions
Jump to navigation
Jump to search
(Link icon to the skills page) |
(Add a tip= parameter) |
||
Line 10: | Line 10: | ||
* <tt>effect</tt> - yellow icons | * <tt>effect</tt> - yellow icons | ||
You can set the size with <tt>|size=20px</tt>. It defaults to 40px. You can also add an image parameter such as <tt>|left</tt>, <tt>|right</tt>, or <tt>|thumb</tt>, but only one. | You can set the size with <tt>|size=20px</tt>. It defaults to 40px. You can also add an image parameter such as <tt>|left</tt>, <tt>|right</tt>, or <tt>|thumb</tt>, but only one. Lastly, it supports setting hover text with <tt>|tip=</tt>. | ||
Some examples: | Some examples: | ||
Line 38: | Line 38: | ||
{{Magia Record Skill Icon|special-cc}} | {{Magia Record Skill Icon|special-cc}} | ||
</noinclude><includeonly>[[File:icon skill {{Magia Record Skill Icon/lookup|{{{1}}}}}.png|{{{size|40px}}}|{{{2}}}|link=Magia Record Skills and Status Effects#{{Magia Record Skill Icon/lookup|{{{1}}}}}]]</includeonly> | </noinclude><includeonly>[[File:icon skill {{ | ||
Magia Record Skill Icon/lookup | |||
|{{{1}}} | |||
}}.png|{{{size|40px}}}{{#if: | |||
{{{2|}}} | |||
|{{!}}{{{2}}} | |||
}}{{#if: | |||
{{{tip|}}} | |||
|{{!}}{{{tip}}} | |||
}}|link=Magia Record Skills and Status Effects#{{ | |||
Magia Record Skill Icon/lookup | |||
|{{{1}}} | |||
}}]]</includeonly> |
Revision as of 03:57, 10 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. Lastly, it supports setting hover text with |tip=.
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: