Difference between revisions of "Template:Supports"

From mtgpq wiki
Jump to: navigation, search
(Created page with "<noinclude> == Usage == This template displays an amount of supports. == Example == This shorthand <pre><nowiki> {{Supports}} {{Supports|5}}</nowiki></pre> Produces: {{Supp...")
 
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== Usage ==
 
== Usage ==
 
This template displays an amount of supports.
 
This template displays an amount of supports.
 +
 +
The first parameter (optional) is the amount.
 +
 +
The second parameter (optional) is the size for the icon (default = 16).
  
 
== Example ==
 
== Example ==
Line 15: Line 19:
 
{{Supports|5}}
 
{{Supports|5}}
  
</noinclude><includeonly>{{nowrap|[[File:Support-Icon.png|{{{size|x16px}}}]]{{#if: {{{1|}}} |&nbsp;{{{1}}}|}}}}</includeonly>
+
[[Category:Symbol templates]]
 +
 
 +
</noinclude><includeonly>{{nowrap|{{Inline|[[File:Support-Icon.png|{{{size|x{{{2|16}}}px}}}|Supports]]}}{{#if: {{{1|}}} |&thinsp;{{{1}}}|}}}}</includeonly>

Latest revision as of 09:36, 19 April 2020

Usage

This template displays an amount of supports.

The first parameter (optional) is the amount.

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

Example

This shorthand

{{Supports}}
{{Supports|5}}

Produces:

Supports

Supports 5