Template:Miramoji
<templatestyles src="Miramoji/error22.css" /><templatestyles src="Module:Documentation/styles.css"></templatestyles>
Lua error: Module:TNT:158: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Lua banner.tab. Please properly enable the JSONConfig extension at Special:ManageWiki/extensions#mw-prefsection-other See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''. This template lets you embed emojis.
Usage: {{Miramoji|emoji|emoji size|additional css optional}}
Example: {{Miramoji|christmas|22}}
Result of Example (generated right now): <templatestyles src="Miramoji/error22.css" />
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 <templatestyles src="Miramoji/error22.css" />Template:Miramoji error - No emoji found with name "ahahahhah".
Examples |
---|
Displaying a christmas tree edit
Displaying a smaller christmas tree edit
Displaying a christmas tree with a blue rounded border edit
Displaying a cartoon mars with a black circle around it edit
Using the template alone edit
|
Subpages: Documentation | List | Lua | Lua Header | Sandbox | Pumpkin (Halloween) Highlight (outdated)