Template:Charicon/Documentation: Difference between revisions

Template page
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Syntax ==
== Syntax ==
<pre>{{charicon|filename|size}}</pre>
<pre>{{charicon|filename|link|size}}</pre>


Arguments:
Arguments:
# '''filename:''' Image to render.
# '''filename:''' Image to render.
# '''link:''' Page to target.
# '''size:''' Size. Note that the icon must be a perfect square.
# '''size:''' Size. Note that the icon must be a perfect square.


== Examples ==
== Examples ==
<pre>{{charicon|SF6_Ryu_Icon.png|64}}</pre>
<pre>{{charicon|SF6_Ryu_Icon.png|Street Fighter 6/Ryu|64}}</pre>
 
{{charicon|SF6_Ryu_Icon.png|Street Fighter 6/Ryu|64}}


{{charicon|SF6_Ryu_Icon.png|64}}


<noinclude>
<noinclude>
[[Category:Template Documentation]]
[[Category:Template Documentation]]
</noinclude>
</noinclude>

Latest revision as of 19:01, 29 May 2023

Syntax

{{charicon|filename|link|size}}

Arguments:

  1. filename: Image to render.
  2. link: Page to target.
  3. size: Size. Note that the icon must be a perfect square.

Examples

{{charicon|SF6_Ryu_Icon.png|Street Fighter 6/Ryu|64}}

SF6 Ryu Icon.png