Template:Inline emote/doc: Difference between revisions
Jump to navigation
Jump to search
c |
No edit summary |
||
Line 29: | Line 29: | ||
"label": "Size", | "label": "Size", | ||
"type": "string", | "type": "string", | ||
"default": "20px" | "default": "20px", | ||
"description": "The width of the image. Format is \"20px\"." | |||
} | } | ||
}, | }, |
Revision as of 22:59, 7 August 2020
A way to easily create emotes to use in wiki pages.
Configuration
{{inline emote|IMAGE.png|SIZE}}
When specifying the image, do not include File: at the beginning.
Size is optional. The default is 20px.
If creating a template using this, you should add the template page to Category:Wiki emotes by adding <noinclude>[[Category:Wiki emotes]]</noinclude>
.
Example
{{inline emote|Trollface.svg}}
Parameters
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | 1 | The image to use. Do not include "File:".
| File | required |
Size | 2 | The width of the image. Format is "20px".
| String | optional |