Template:Magia Record Magia Type: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> Returns the icon for a magia skill. The possible values for the first parameter are: * <tt>one</tt> or <tt>1</tt> – Single target * <tt>wave</tt> – Single target with wave (unused) * <tt>all</tt> – Entire battlefield * <tt>horizontal</tt>, <tt>horz</tt>, or <tt>-</tt> – horizontal line * <tt>vertical</tt>, <tt>vert</tt>, or <tt>!</tt> – vertical line * <tt>cross</tt> or <tt>+</tt> – orthogonal cross (unused) * <tt>x</tt> – diagonal cross (unus...") |
(Link icon to the skills page) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Returns the icon for a magia skill. The possible values for the first parameter are: | Returns the icon for a magia skill. The possible base values for the first parameter are: | ||
* <tt>one</tt> or <tt>1</tt> – Single target | * <tt>one</tt> or <tt>1</tt> – Single target | ||
Line 12: | Line 12: | ||
* <tt>randomN</tt> – N random targets; N can be 2, 3, 4, or 5 | * <tt>randomN</tt> – N random targets; N can be 2, 3, 4, or 5 | ||
To any of those, the following suffix may be added: | |||
* <tt> | * <tt>-lowhp</tt> – Adds the low HP bonus marking; omit for a regular magia | ||
You can provide an optional | You can provide an optional second parameter containing an image flag, such as <tt>left</tt>, <tt>right</tt>, or <tt>thumb</tt>. You can also specify the size with <tt>|size=20px</tt>. It defaults to 40px. | ||
Some examples: | Some examples: | ||
Line 22: | Line 22: | ||
<pre> | <pre> | ||
{{Magia Record Magia Type|all}} | {{Magia Record Magia Type|all}} | ||
{{Magia Record Magia Type|1 | {{Magia Record Magia Type|1-lowhp}} | ||
</pre> | </pre> | ||
Line 28: | Line 28: | ||
{{Magia Record Magia Type|all}} | {{Magia Record Magia Type|all}} | ||
{{Magia Record Magia Type|1 | {{Magia Record Magia Type|1-lowhp}} | ||
</noinclude><includeonly>[[File:icon skill {{ | </noinclude><includeonly>[[File:icon skill {{Magia Record Magia Type/lookup|{{{1}}}}}.png|{{{size|40px}}}|{{{2}}}|link=Magia Record Skills and Status Effects#{{Magia Record Magia Type/lookup|{{{1}}}}}]]</includeonly> | ||
Latest revision as of 16:08, 6 August 2023
Returns the icon for a magia skill. The possible base values for the first parameter are:
- one or 1 – Single target
- wave – Single target with wave (unused)
- all – Entire battlefield
- horizontal, horz, or - – horizontal line
- vertical, vert, or ! – vertical line
- cross or + – orthogonal cross (unused)
- x – diagonal cross (unused)
- randomN – N random targets; N can be 2, 3, 4, or 5
To any of those, the following suffix may be added:
- -lowhp – Adds the low HP bonus marking; omit for a regular magia
You can provide an optional second parameter containing an image flag, such as left, right, or thumb. You can also specify the size with |size=20px. It defaults to 40px.
Some examples:
{{Magia Record Magia Type|all}} {{Magia Record Magia Type|1-lowhp}}
expands to: