Template:EmotePage: Difference between revisions

No edit summary
No edit summary
 
(49 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{EmoteInfobox
   {{EmoteCategory|{{{1}}}}}
   |{{trim|{{{1}}}}}
   {{#if: {{{discord|}}} | {{EmoteCategory|{{{1}}}|Discord }} }}
   |image={{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}
   {{#if: {{{twitch|}}} | {{EmoteCategory|{{{1}}}|Twitch }} }}
   |animated={{{animated|}}}
   {{EmoteCategory|{{{1}}}|{{#if:{{{animated|}}}|Animated|Static}} }}
  |artist={{{artist|}}}
</includeonly>[[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|right|thumb|250px|“{{{1}}}” {{Attribution|{{{artist}}}}}]]
  |reference={{{reference|}}}
 
   |twitch={{{twitch|}}}
{{Infobox
  |discord={{{discord|}}}
| bodystyle = border-spacing: 2px 5px;
  |variants={{{variants|}}}
| above = {{{name|{{PAGENAME}}}}}
}}<!---
| abovestyle = background-color: #DEDEE2;
-->{{DEFAULTSORT:{{#sub:{{trim|{{{1}}}}}|3}}}}<!---
| headerstyle = background-color: #DEDEE2;
-->[[Category: Emotes]]<!---
| name = {{{name|{{PAGENAME}}}}}
-->{{#if: {{{discord|}}} | [[Category: Discord Emotes]]}}<!---
| image = [[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|frameless|{{{1}}}]]
-->{{#if: {{{twitch|}}} | [[Category: Twitch Emotes]]}}<!---
| label1 = Available On
-->[[Category: {{#if:{{{animated|}}}|Animated|Static}} Emotes]]<!---
| data1 = * {{#if: {{{twitch|}}} | Twitch }}
-->[[{{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}|25px|alt={{trim|{{{1}}}}}]] {{trim|{{{1}}}}}” is an {{#if:{{{animated|}}}|animated}} emote that can be found on:
* {{#if: {{{discord|}}} | Discord }}
{{#switch: {{{twitch|}}}
| label2 = Animated
|true = * Twitch
| data2 = {{#if: {{{animated|}}} | Yes }}
|historic = * Twitch (formerly)
| label3 = Based On
}} {{#switch: {{{discord|}}}
| data3 = {{{reference|}}}
|true = * Discord
| header4 = Attribution
|historic = * Discord (formerly)
| label5 = Artwork
| data5 = {{Attribution|{{{artist|}}}|categorise=true}}
}}
}}
[[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|25px|alt={{{1}}}]] “{{{1}}}” is an {{#if:{{{animated|}}}|animated}} emote that can be found on:
* {{#if: {{{twitch|}}} | Twitch }}
* {{#if: {{{discord|}}} | Discord }}


{{#if:{{{reference|}}}|It is a reference to {{{reference}}}.}}
{{#if:{{{reference|}}}|It is a reference to {{{reference}}}.}}


It was drawn {{Attribution|{{{artist}}}}}.<noinclude>
It was drawn {{Attribution|{{{artist}}}}}.</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.",
"type": "string",
"type": "string",
"required": true
"required": true
},
"image": {
"label": "Image",
"description": "The image to use.",
"type": "wiki-file-name"
},
},
"artist": {
"artist": {
Line 58: Line 43:
"label": "Reference",
"label": "Reference",
"description": "A description of what the emote references or represents.",
"description": "A description of what the emote references or represents.",
"type": "string",
"type": "content",
"suggested": true
"suggested": true
},
},
Line 70: Line 55:
"label": "Available on Discord",
"label": "Available on Discord",
"description": "If the emote is currently available on Discord.",
"description": "If the emote is currently available on Discord.",
"type": "boolean",
"type": "string",
"default": "false"
"required": false,
"suggestedvalues": [
"true",
"false",
"historic"
]
},
},
"twitch": {
"twitch": {
"label": "Available on Twitch",
"label": "Available on Twitch",
"description": "If the emote is currently available on Twitch.",
"description": "If the emote is currently available on Twitch.",
"type": "boolean",
"type": "string",
"default": "false"
"required": false,
"suggestedvalues": [
"true",
"false",
"historic"
]
},
"variants": {
"label": "Variants",
"description": "A list of any variants of this emote that exist.",
"type": "content"
},
"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": "{{{name}}}.png|.gif",
"required": true
}
}
},
},
Line 83: Line 90:
"paramOrder": [
"paramOrder": [
"1",
"1",
"image",
"animated",
"animated",
"image",
"artist",
"artist",
"reference",
"reference",
"twitch",
"twitch",
"discord"
"discord",
"variants"
],
],
"format": "block"
"format": "block"