template data
No edit summary
Line 4: Line 4:


== Usage ==
== Usage ==
<code>&#123;{Twemoji|''codepoint''}}</code>
<code>&#123;{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"
}
}
},
},