Jump to content

Template:Emote: Difference between revisions

From Joepedia
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}}

jphJoms

Template Data

An inline link to an emote with a preview of it.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1 name emote

The name of the emote.

Page namerequired
Icon Onlyicon_only

If set, only displays the icon, not the name.

Booleanoptional