Template:Miramoji/doc: Difference between revisions
No edit summary |
m 1 revision imported: some changes are needed ; like removing link to UTRS |
(No difference)
|
Latest revision as of 18:23, 12 December 2024
This is a documentation subpage for Template:Miramoji. It contains usage information, categories and other content that is not part of the original page. |
Lua error: bad argument #1 to "get" (not a valid title).
This template lets you embed emojis.
Usage: {{Miramoji|emoji|emoji size|additional css optional}}
Example: {{Miramoji|christmas|22}}
Result of Example (generated right now):
The template was created on 17 November 2021 00:49 AM (UTC) to replace the old EmojiDisplay template that used wikitext instead of Lua.
Benefits of the template being lua:
- Loads faster
- Can be substituted
- Easier animated emojis
If you didn't give the template a proper emoji to display, it will display a parser function like error message. For example, I put in {{Miramoji|ahahahhah}}
, there's no emoji named "ahahahhah", so it returns Template:Miramoji error - No emoji found with name "ahahahhah".
Examples |
---|
Displaying a christmas tree[edit source]
Displaying a smaller christmas tree[edit source]
Displaying a christmas tree with a blue rounded border[edit source]
Displaying a cartoon mars with a black circle around it[edit source]
Using the template alone[edit source]
|
Subpages: Documentation | List | Lua | Lua Header | Sandbox | Pumpkin (Halloween) Highlight (outdated)