Template:Emote: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Manual revert |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span style="display: inline-flex; align-items: center; gap: 0. | <includeonly><span style="display: inline-flex; align-items: center; gap: 0.3em;">[[{{#ask: | ||
[[Category:Emotes]] | [[Category:Emotes]] | ||
[[Has Emote Name::{{{1}}}]] | [[Has Emote Name::{{CanonicaliseEmoteName|{{{1}}}}}]] | ||
|?Has Emote Image#-= | |?Has Emote Image#-= | ||
|limit=1 | |limit=1 | ||
|format=plainlist | |format=plainlist | ||
|mainlabel=- | |mainlabel=- | ||
}}|25px|link={{{1}}}]]{{#if:{{{icon_only|}}}|| [[{{{1}}}]]}}</span><noinclude> | }}|25px|link={{CanonicaliseEmoteName|{{{1}}}}}]]{{#if:{{{icon_only|}}}|| [[{{CanonicaliseEmoteName|{{{1}}}}}]]}}</span></includeonly><noinclude> | ||
== Example == | == Example == | ||
E.g: | E.g: | ||
<pre><nowiki>{{Emote|jphJoms}}</nowiki></pre> | |||
{{Emote|jphJoms}} | {{Emote|jphJoms}} | ||
<pre><nowiki>{{Emote|JphJoms}}</nowiki></pre> | |||
{{Emote|JphJoms}} | |||
== Template Data == | == Template Data == | ||
Line 17: | Line 20: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The name of the emote.", | "description": "The name of the emote.", |
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 |