Editing Template:Inline emote/doc
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 2: | Line 2: | ||
=== Configuration === | === Configuration === | ||
<code><nowiki>{{inline emote|IMAGE.png | <code><nowiki>{{inline emote|IMAGE.png|SIZE}}</nowiki></code> | ||
When specifying the image, do ''not'' include File: at the beginning. | When specifying the image, do ''not'' include File: at the beginning. | ||
Size is optional. The default is 20px. | Size is optional. The default is 20px. | ||
Line 13: | Line 11: | ||
=== Example === | === Example === | ||
<code><nowiki>{{inline emote|Trollface.svg | <code><nowiki>{{inline emote|Trollface.svg}}</nowiki></code> | ||
Outputs: {{inline emote|Trollface.svg | Outputs: {{inline emote|Trollface.svg}} | ||
=== Parameters === | === Parameters === | ||
Line 29: | Line 27: | ||
}, | }, | ||
"2": { | "2": { | ||
"label": "Size", | "label": "Size", | ||
"type": "string", | "type": "string", | ||
"default": "20px" | "default": "20px" | ||
} | } | ||
}, | }, | ||
"format": "inline" | "format": "inline" | ||
} | } | ||
</templatedata> | </templatedata> |