Template:SVG: Difference between revisions
Jump to navigation
Jump to search
m (XenonNSMB moved page Template:Button to Template:SVG: No longer just used for buttons) |
(Changed to {{SVG}} instead of {{Button}} in documentation) |
||
Line 3: | Line 3: | ||
{{NoticeBox|text=Use this template for inline SVGs (such as Nintendo Switch buttons) | {{NoticeBox|text=Use this template for inline SVGs (such as Nintendo Switch buttons) | ||
Example: <nowiki>{{ | Example: <nowiki>{{SVG|Zl}}</nowiki> | ||
Result: {{ | Result: {{SVG|Zl}} Article text | ||
You can also specify an optional color, like this: <nowiki>{{ | You can also specify an optional color, like this: <nowiki>{{SVG|Token|white}}</nowiki> | ||
Result: {{ | Result: {{SVG|Token|white}} | ||
Additionally, you can specify a size: <nowiki>{{ | Additionally, you can specify a size: <nowiki>{{SVG|Token|yellow|size=100px}}</nowiki> | ||
Result: {{ | Result: {{SVG|Token|yellow|size=100px}} | ||
}} | }} | ||
</noinclude> | </noinclude> |