Template:Emote: Difference between revisions
Appearance
No edit summary Tag: Manual revert |
No edit summary Tag: Manual revert |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[ | <includeonly><span style="display: inline-flex; align-items: center; gap: 0.3em;">[[{{#ask: | ||
[[Category:Emotes]] | |||
[[Has Emote Name::{{CanonicaliseEmoteName|{{{1}}}}}]] | |||
|?Has Emote Image#-= | |||
|limit=1 | |||
|format=plainlist | |||
|mainlabel=- | |||
}}|25px|link={{CanonicaliseEmoteName|{{{1}}}}}]]{{#if:{{{icon_only|}}}|| [[{{CanonicaliseEmoteName|{{{1}}}}}]]}}</span></includeonly><noinclude> | |||
== Example == | |||
E.g: | |||
<pre><nowiki>{{Emote|jphJoms}}</nowiki></pre> | |||
{{Emote|jphJoms}} | |||
<pre><nowiki>{{Emote|JphJoms}}</nowiki></pre> | |||
{{Emote|JphJoms}} | |||
== Template Data == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The name of the emote.", | "description": "The name of the emote.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | |||
"icon_only": { | |||
"label": "Icon Only", | |||
"description": "If set, only displays the icon, not the name.", | |||
"type": "boolean" | |||
} | } | ||
}, | }, | ||
"description": "An inline link to an emote with a preview of it.", | "description": "An inline link to an emote with a preview of it.", | ||
"paramOrder": [ | "paramOrder": [ | ||
"1" | "1", | ||
"icon_only" | |||
], | ], | ||
"format": "inline" | "format": "inline" |
Latest revision as of 20:00, 1 February 2025
Example
E.g:
{{Emote|jphJoms}}
{{Emote|JphJoms}}
Template Data
An inline link to an emote with a preview of it.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | The name of the emote. | Page name | required |
Icon Only | icon_only | If set, only displays the icon, not the name. | Boolean | optional |