Template:EmoteInfobox: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Manual revert |
||
(22 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#set: | <includeonly>{{#set: | ||
|Has Emote Name={{trim|{{{1}}}}} | |||
|Is Animated={{{animated|false}}} | |Is Animated={{{animated|false}}} | ||
|{{#switch: {{{twitch|}}} | |{{#switch: {{{twitch|}}} | ||
Line 12: | Line 13: | ||
}} | }} | ||
|By={{{artist|}}} | |By={{{artist|}}} | ||
|Emote={{{image|{{EmoteFilename|{{{1}}}}}}}} | |Has Emote Image={{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}} | ||
}}{{Infobox | }}{{Infobox | ||
| bodystyle = border-spacing: 2px 5px; | | bodystyle = border-spacing: 2px 5px; | ||
| above = {{{1}}} | | above = {{trim|{{{1}}}}} | ||
| abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | | abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | ||
| headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | | headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | ||
| name = {{{1}}} | | name = {{trim|{{{1}}}}} | ||
| image = [[{{EmoteFilename|{{{1}}}}}|center|frameless|“{{{1}}}”]] | | image = [[{{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}|center|frameless|“{{trim|{{{1}}}}}”]] | ||
| label1 = Available On | | label1 = Available On | ||
| data1 = {{flatlist|{{#switch: {{{twitch|}}} | | data1 = {{flatlist|{{#switch: {{{twitch|}}} | ||
Line 90: | Line 91: | ||
"description": "A list of any variants of this emote that exist.", | "description": "A list of any variants of this emote that exist.", | ||
"type": "string" | "type": "string" | ||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "The image file for the emote. Defaults to looking for the name, but better to specify it explicitly.", | |||
"type": "wiki-file-name", | |||
"default": "{{{1}}}.png|.gif", | |||
"required": true | |||
} | } | ||
}, | }, | ||
Line 95: | Line 103: | ||
"paramOrder": [ | "paramOrder": [ | ||
"1", | "1", | ||
"image", | |||
"animated", | "animated", | ||
"artist", | "artist", |
Latest revision as of 23:38, 25 January 2025
A template for a page describing an emote.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | 1 | The name of the emote. | String | required |
Image | image | The image file for the emote. Defaults to looking for the name, but better to specify it explicitly.
| File | required |
Animated | animated | If this is an animated emote.
| Boolean | optional |
Artist | artist | The name of the artist who created the emote. | Unknown | required |
Reference | reference | A description of what the emote references or represents. | String | suggested |
Available on Twitch | twitch | If the emote is currently available on Twitch.
| String | optional |
Available on Discord | discord | If the emote is currently available on Discord.
| String | optional |
Variants | variants | A list of any variants of this emote that exist. | String | optional |