Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Emote/doc: Difference between revisions

Template page
Created page with "A fun template that can emulate an emote, just like in DGG chat. {{emote|widepeepoHappy}} <templatedata> { "params": { "1": { "label": "emote", "description": "The emote that you want to use. This field is case sensitive. Generally speaking, the emotes should be the exact same spelling/casing as they are in DGG with some exceptions." } }, "format": "inline" } </templatedata>"
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
"1": {
"1": {
"label": "emote",
"label": "emote",
"description": "The emote that you want to use. This field is case sensitive. Generally speaking, the emotes should be the exact same spelling/casing as they are in DGG with some exceptions."
"description": "The emote that you want to use. This field is case sensitive. Generally speaking, the emotes should be the exact same spelling/casing as they are in DGG with some exceptions.",
"type": "wiki-file-name",
"required": true
},
"3": {
"label": "parameters ",
"description": "Allows you to add additional specifications to the image (image width, height, etc.)",
"type": "content"
},
"4": {
"label": "link",
"description": "The page that the emote will link to. By default links to \"emotes\" page.",
"type": "wiki-page-name"
},
"2 ": {
"label": "image format",
"description": "The image format of the emote. Will typically be a .png (this is the default value) but it can be modified to add gifs and jpegs (if there even are any .jpg/.jpeg). Do not include the \".\" of the format. Just \"gif\", \"jpg\", \"jpeg\" etc.",
"type": "content",
"autovalue": "png"
}
}
},
},
"format": "inline"
"format": "inline",
"paramOrder": [
"1",
"2 ",
"3",
"4"
]
}
}
</templatedata>
</templatedata>
[[Category:In-line template]]

Latest revision as of 01:12, 31 December 2024

A fun template that can emulate an emote, just like in DGG chat.

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
emote1

The emote that you want to use. This field is case sensitive. Generally speaking, the emotes should be the exact same spelling/casing as they are in DGG with some exceptions.

Filerequired
image format2

The image format of the emote. Will typically be a .png (this is the default value) but it can be modified to add gifs and jpegs (if there even are any .jpg/.jpeg). Do not include the "." of the format. Just "gif", "jpg", "jpeg" etc.

Auto value
png
Contentoptional
parameters 3

Allows you to add additional specifications to the image (image width, height, etc.)

Contentoptional
link4

The page that the emote will link to. By default links to "emotes" page.

Page nameoptional