Jump to content

Template:EmoteInfobox: Difference between revisions

From Joepedia
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 = {{{name}}}
|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 = {{{name}}}
  |historic = Formerly Available On=Twitch
| image = [[{{EmoteFilename|{{{1}}}}}|center|frameless|“{{{1}}}”]]
  |false =
| label1 = Available On
  }}
| data1 = {{flatlist|{{#switch: {{{twitch|}}}
|{{#switch: {{{discord|}}}
|true = * Twitch
  |true = Available On=Discord
|historic = * Twitch (formerly)
  |historic = Formerly Available On=Discord
}} {{#switch: {{{discord|}}}
  |false =
|true = * Discord
  }}
|historic = * Discord (formerly)
  |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 = <includeonly>{{Attribution|{{{artist|}}}|categorise=true}}</includeonly>
  | data1 = {{flatlist|{{#switch: {{{twitch|}}}
}}<noinclude>
  |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": {
"aliases": [
"name",
"emote"
],
"label": "Name",
"label": "Name",
"description": "The name of the emote.",
"description": "The name of the emote.",
Line 77: Line 88:
},
},
"variants": {
"variants": {
"aliases": [
"variant"
],
"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.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Name1

The name of the emote.

Stringrequired
Imageimage

The image file for the emote. Defaults to looking for the name, but better to specify it explicitly.

Default
{{{1}}}.png|.gif
Filerequired
Animatedanimated

If this is an animated emote.

Default
false
Booleanoptional
Artistartist

The name of the artist who created the emote.

Unknownrequired
Referencereference

A description of what the emote references or represents.

Stringsuggested
Available on Twitchtwitch

If the emote is currently available on Twitch.

Suggested values
true false historic
Stringoptional
Available on Discorddiscord

If the emote is currently available on Discord.

Suggested values
true false historic
Stringoptional
Variantsvariants

A list of any variants of this emote that exist.

Stringoptional