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...") |
|||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <div style="width: 32px; height: 32px; border: 5px solid {{{1}}}; border-radius: 100%; padding: 5px;"> | + | <noinclude> |
| − | {{#slice: | + | Shows a worldscript icon as a slice from this spritesheet: |
| + | |||
| + | [[File:WorldscriptIcons.png]] | ||
| + | |||
| + | 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;">{{#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> |
Latest revision as of 17:35, 24 July 2017
Shows a worldscript icon as a slice from this spritesheet:
Use like:
{{WorldscriptIcon|#ff0000|256|0}}