Difference between revisions of "Template:Spells"

From mtgpq wiki
Jump to: navigation, search
Line 2: Line 2:
 
== Usage ==
 
== Usage ==
 
This template displays an amount of spells.
 
This template displays an amount of spells.
 +
 +
The first parameter (optional) is the amount.
 +
 +
The second parameter (optional) is the size for the icon (default = 16).
  
 
== Example ==
 
== Example ==
Line 17: Line 21:
 
[[Category:Symbol templates]]
 
[[Category:Symbol templates]]
  
</noinclude><includeonly>{{nowrap|[[File:Spell-Icon.png|{{{size|x16px}}}|Spells]]{{#if: {{{1|}}} |&thinsp;{{{1}}}|}}}}</includeonly>
+
</noinclude><includeonly>{{nowrap|[[File:Spell-Icon.png|{{{size|x{{{2|16}}}px}}}|Spells]]{{#if: {{{1|}}} |&thinsp;{{{1}}}|}}}}</includeonly>

Revision as of 11:12, 11 March 2019

Usage

This template displays an amount of spells.

The first parameter (optional) is the amount.

The second parameter (optional) is the size for the icon (default = 16).

Example

This shorthand

{{Spells}}
{{Spells|5}}

Produces:

Spells

Spells 5