Jump to content

Template:Emote: Difference between revisions

From Joepedia
No edit summary
No edit summary
Tag: Manual revert
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="display: inline-flex; align-items: center; gap: 0.5em;">[[{{#ask:  
<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:  
  <nowiki>{{Emote|jphJoms}}</nowiki>
<pre><nowiki>{{Emote|jphJoms}}</nowiki></pre>
{{Emote|jphJoms}}
{{Emote|jphJoms}}
<pre><nowiki>{{Emote|JphJoms}}</nowiki></pre>
{{Emote|JphJoms}}


== Template Data ==
== Template Data ==

Latest revision as of 20:00, 1 February 2025

Example

E.g:

{{Emote|jphJoms}}

jphJoms

{{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

The name of the emote.

Page namerequired
Icon Onlyicon_only

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

Booleanoptional