Template:Emote/doc: Difference between revisions
Template page
More actions
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 |
||
| 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> | ||
Revision as of 01:12, 31 December 2024
A fun template that can emulate an emote, just like in DGG chat.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| emote | 1 | 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. | File | required |
| image format | 2 | 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.
| Content | optional |
| parameters | 3 | Allows you to add additional specifications to the image (image width, height, etc.) | Content | optional |
| link | 4 | The page that the emote will link to. By default links to "emotes" page. | Page name | optional |