Template:Emote: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
|format=plainlist | |format=plainlist | ||
|mainlabel=- | |mainlabel=- | ||
}}|25px|link={{{1}}}]] [[{{{1}}}]]</span><noinclude> | }}|25px|link={{{1}}}]]{{#if:{{{icon_only|}}}||'' ''[[{{{1}}}]]}}</span><noinclude> | ||
== Example == | == Example == | ||
E.g: | E.g: | ||
Line 25: | Line 25: | ||
"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" |
Revision as of 22:42, 25 January 2025
[[|25px|link={{{1}}}]] [[{{{1}}}]]
Example
E.g:
{{Emote|jphJoms}}
Template Data
An inline link to an emote with a preview of it.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 name emote | The name of the emote. | Page name | required |
Icon Only | icon_only | If set, only displays the icon, not the name. | Boolean | optional |