Difference between revisions of "Template:Creatures"

From mtgpq wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
== Usage ==
 
== Usage ==
 
This template displays an amount of creatures.
 
This template displays an amount of creatures.
 +
 +
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:Creature-Icon.png|{{{size|x16px}}}|Creatures]]{{#if: {{{1|}}} |&thinsp;{{{1}}}|}}}}</includeonly>
+
</noinclude><includeonly>{{nowrap|{{Inline|[[File:Creature-Icon.png|{{{size|x{{{2|16}}}px}}}|Creatures]]}}{{#if: {{{1|}}} |&thinsp;{{{1}}}|}}}}</includeonly>

Latest revision as of 09:35, 19 April 2020

Usage

This template displays an amount of creatures.

The first parameter (optional) is the amount.

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

Example

This shorthand

{{Creatures}}
{{Creatures|5}}

Produces:

Creatures

Creatures 5