Template:Inline emote: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary Tags: Mobile edit Mobile web edit |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span class="nowrap">[[File:{{{1}}}|{{#if:{{{ | <span class="nowrap" {{#if:{{{2|}}}|title="{{{2}}}"}}>[[File:{{{1}}}|{{#if:{{{3|}}}|{{{3}}}|20px}}|alt=]]<!-- Template:Inline emote --></span><noinclude>{{documentation}}[[Category:Wiki emotes]]</noinclude> |
Latest revision as of 02:25, 7 March 2021
[[File:{{{1}}}|20px|alt=]]
A way to easily create emotes to use in wiki pages.
Configuration[edit source]
{{inline emote|IMAGE.png|TITLE|SIZE}}
When specifying the image, do not include File: at the beginning.
Title is optional, but suggested. This is what will show up if you hover your cursor over the emote.
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[edit source]
{{inline emote|Trollface.svg|:troll:}}
Parameters[edit source]
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | 1 | The image to use. Do not include "File:".
| File | required |
Title | 2 | What will show up if you hover over the emote. | String | suggested |
Size | 3 | The width of the image. Format is "20px".
| String | optional |