Template:Twemoji/doc: Difference between revisions
template data |
No edit summary |
||
Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
<code>{{Twemoji|''codepoint''}}</code> | <code>{{Twemoji|''codepoint''|''title (optional)''|''size (optional)''}}</code> | ||
To specify what emoji to render, you will have to enter the Unicode codepoint of the emoji. Yeah, I wish you could just type the emoji too, but I don't know how to make that work without it either slowing down the wiki or being massively time-consuming for me to do. | To specify what emoji to render, you will have to enter the Unicode codepoint of the emoji. Yeah, I wish you could just type the emoji too, but I don't know how to make that work without it either slowing down the wiki or being massively time-consuming for me to do. | ||
Line 30: | Line 30: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"2": { | |||
"label": "Title", | |||
"description": "What will show up when you hover over the emote", | |||
"example": ":smiling_imp:", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"3": { | |||
"label": "Size", | |||
"description": "The size of the emote", | |||
"type": "string", | |||
"default": "20px" | |||
} | } | ||
}, | }, |