Anonymous

Template:SVG: Difference between revisions

From ARMS Institute, the ARMS Wiki
184 bytes removed ,  24 August 2023
m
Reverted edits by Wpvandelicer (talk) to last revision by KingBurtis
(Added ability to specify color)
m (Reverted edits by Wpvandelicer (talk) to last revision by KingBurtis)
Tag: Rollback
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[File:{{{1}}}{{#if:{{{2|}}}|-{{{2}}}}}.svg|20px]]<noinclude>
[[File:{{{1}}}{{#if:{{{2|}}}|-{{{2}}}}}.svg|{{#if:{{{size|}}}|{{{size}}}|20px}}|link={{#if:{{{link|}}}|{{{link}}}|}}]]<noinclude>
 
{{Doc}}[[Category:Article templates]]
{{NoticeBox|text=Use this template for inline SVGs (such as Nintendo Switch buttons)
 
Example: <nowiki>{{Button|Zl}}</nowiki>
 
Result: {{Button|Zl}} Article text
 
You can also specify an optional color, like this: <nowiki>{{Button|Token|white}}</nowiki>
 
Result: {{Button|Token|white}} }}
</noinclude>
</noinclude>