Template:Emote: Difference between revisions

From DDraceNetwork
Add emote template
 
class of emote not necessary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span class="display-emote {{{1}}}" style="{{Emote style|{{{1}}}}}"></span></includeonly><noinclude>
<includeonly><span class="display-emote" style="{{Emote style|{{{1}}}}}"></span></includeonly><noinclude>
== Usage ==
== Usage ==
{| class="wikitable"
{| class="wikitable"
Line 38: Line 38:
| <pre>{{Emote|question}}</pre> || {{Emote|question}}
| <pre>{{Emote|question}}</pre> || {{Emote|question}}
|}
|}
</noinclude>
[[Category:Templates]]
<templatedata>
{
"params": {
"1": {
"label": "Emote",
"description": "The emote icon to display.",
"example": "oop",
"type": "string",
"suggestedvalues": [
"oop",
"exclamation",
"hearts",
"drop",
"dotdot",
"music",
"sorry",
"ghost",
"splattee",
"deviltee",
"zomg",
"zzz",
"wtf",
"eyes",
"question"
],
"required": true
}
},
"description": "Show an emote icon.",
"format": "inline"
}
</templatedata></noinclude>

Latest revision as of 21:58, 3 August 2023

Usage

Usage
code result
{{Emote|oop}}
{{Emote|exclamation}}
{{Emote|hearts}}
{{Emote|drop}}
{{Emote|dotdot}}
{{Emote|music}}
{{Emote|sorry}}
{{Emote|ghost}}
{{Emote|sushi}}
{{Emote|splattee}}
{{Emote|deviltee}}
{{Emote|zomg}}
{{Emote|zzz}}
{{Emote|wtf}}
{{Emote|eyes}}
{{Emote|question}}

Show an emote icon.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Emote1

The emote icon to display.

Suggested values
oop exclamation hearts drop dotdot music sorry ghost splattee deviltee zomg zzz wtf eyes question
Example
oop
Stringrequired