Template:SVG: Difference between revisions

From ARMS Institute, the ARMS Wiki
Jump to navigation Jump to search
No edit summary
m (Reverted edits by Wpvandelicer (talk) to last revision by KingBurtis)
Tag: Rollback
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:{{{1}}}{{#if:{{{2|}}}|-{{{2}}}}}.svg|{{#if:{{{size|}}}|{{{size}}}|20px}}]]<noinclude>
[[File:{{{1}}}{{#if:{{{2|}}}|-{{{2}}}}}.svg|{{#if:{{{size|}}}|{{{size}}}|20px}}|link={{#if:{{{link|}}}|{{{link}}}|}}]]<noinclude>
{{Doc}}[[Category:Article templates]]
{{Doc}}[[Category:Article templates]]
</noinclude>
</noinclude>

Latest revision as of 13:22, 24 August 2023

[[File:{{{1}}}.svg|20px|link=]]

Use this template for inline SVGs. You can also specify an optional color, and a size:
Example Result
{SVG|Zl}} Zl.svg
{{SVG|Token|white}} Token-white.svg
{{SVG|Token|yellow|size=100px}} Token-yellow.svg

See also: Template:Button and Template:Token
This documentation is transcluded from Template:SVG/doc.