Template:EmoteInfobox: Difference between revisions
Appearance
Created page with "{{Infobox | bodystyle = border-spacing: 2px 5px; | above = {{{name}}} | abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | name = {{{name}}} | image = [[{{EmoteFilename|{{{1}}}}}|center|frameless|“{{{1}}}”]] | label1 = Available On | data1 = {{flatlist|{{#switch: {{{twitch|}}} |true = * Twitch |historic = * Twitch..." |
No edit summary Tag: Manual revert |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | <includeonly>{{#set: | ||
| bodystyle = border-spacing: 2px 5px; | |Has Emote Name={{trim|{{{1}}}}} | ||
| above = {{{ | |Is Animated={{{animated|false}}} | ||
| abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | |{{#switch: {{{twitch|}}} | ||
| headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | |true = Available On=Twitch | ||
| name = {{{ | |historic = Formerly Available On=Twitch | ||
| image = [[{{EmoteFilename|{{{1}}}}}|center|frameless|“{{{1}}}”]] | |false = | ||
| label1 = Available On | }} | ||
| data1 = {{flatlist|{{#switch: {{{twitch|}}} | |{{#switch: {{{discord|}}} | ||
|true = Available On=Discord | |||
|historic = Formerly Available On=Discord | |||
}} {{#switch: {{{discord|}}} | |false = | ||
}} | |||
|By={{{artist|}}} | |||
}}}} | |Has Emote Image={{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}} | ||
| label2 = Animated | }}{{Infobox | ||
| data2 = {{#if: {{{animated|}}} | Yes }} | | bodystyle = border-spacing: 2px 5px; | ||
| label3 = Variants | | above = {{trim|{{{1}}}}} | ||
| data3 = {{{variants|}}} | | abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | ||
| label4 = Based On | | headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted); | ||
| data4 = {{{reference|}}} | | name = {{trim|{{{1}}}}} | ||
| header5 = Attribution | | image = [[{{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}|center|frameless|“{{trim|{{{1}}}}}”]] | ||
| label6 = Artwork | | label1 = Available On | ||
| data6 = | | data1 = {{flatlist|{{#switch: {{{twitch|}}} | ||
|true = * Twitch | |||
|historic = * Twitch (formerly) | |||
}} {{#switch: {{{discord|}}} | |||
|true = * Discord | |||
|historic = * Discord (formerly) | |||
}}}} | |||
| label2 = Animated | |||
| data2 = {{#if: {{{animated|}}} | Yes }} | |||
| label3 = Variants | |||
| data3 = {{{variants|}}} | |||
| label4 = Based On | |||
| data4 = {{{reference|}}} | |||
| header5 = Attribution | |||
| label6 = Artwork | |||
| data6 = {{Attribution|{{{artist|}}}|categorise=true}} | |||
}}</includeonly><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Name", | "label": "Name", | ||
"description": "The name of the emote.", | "description": "The name of the emote.", | ||
Line 77: | Line 88: | ||
}, | }, | ||
"variants": { | "variants": { | ||
"label": "Variants", | "label": "Variants", | ||
"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 88: | 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 |