Difference between revisions of "Template:WorldscriptIcon"
From Serious Sam's Bogus Detour
(Created page with "<div style="width: 32px; height: 32px; border: 5px solid {{{1}}}; border-radius: 100%; padding: 5px;"> {{#slice: file=File:WorldscriptIcons.png |x={{{2}}} |y={{{3}}} |width=32...") |
|||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | Use like: | ||
+ | <pre>{{WorldscriptIcon|#ff0000|256|0}}</pre> | ||
+ | </noinclude> | ||
+ | |||
+ | <includeonly> | ||
<div style="width: 32px; height: 32px; border: 5px solid {{{1}}}; border-radius: 100%; padding: 5px;"> | <div style="width: 32px; height: 32px; border: 5px solid {{{1}}}; border-radius: 100%; padding: 5px;"> | ||
{{#slice: | {{#slice: | ||
file=File:WorldscriptIcons.png | file=File:WorldscriptIcons.png | ||
− | |x={{{2}}} | + | |x={{{2}}}px |
− | |y={{{3}}} | + | |y={{{3}}}px |
|width=32px | |width=32px | ||
|height=32px | |height=32px | ||
}} | }} | ||
</div> | </div> | ||
+ | </includeonly> |
Revision as of 17:31, 24 July 2017
Use like:
{{WorldscriptIcon|#ff0000|256|0}}