Template:EmotePage: Difference between revisions

Added close brackets to former emote section to (hopefully) avoid strange happenings.
No edit summary
 
(65 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Category:Emotes|{{#sub:{{{1}}}|3}}]]{{#switch: {{{source}}}
<includeonly>{{EmoteInfobox
| twitch = [[Category:Twitch Emotes|{{#sub:{{{1}}}|3}}]]
  |{{trim|{{{1}}}}}
| discord = [[Category:Discord Emotes|{{#sub:{{{1}}}|3}}]]
  |image={{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}
}}[[Category:{{#if:{{{animated|}}}|Animated|Static}} Emotes|{{#sub:{{{1}}}|3}}]]}}</includeonly>[[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|right|thumb|250px|“{{{1}}}{{Attribution|{{{artist}}}}}]]
  |animated={{{animated|}}}
  |artist={{{artist|}}}
  |reference={{{reference|}}}
  |twitch={{{twitch|}}}
  |discord={{{discord|}}}
  |variants={{{variants|}}}
}}<!---
-->{{DEFAULTSORT:{{#sub:{{trim|{{{1}}}}}|3}}}}<!---
-->[[Category: Emotes]]<!---
-->{{#if: {{{discord|}}} | [[Category: Discord Emotes]]}}<!---
-->{{#if: {{{twitch|}}} | [[Category: Twitch Emotes]]}}<!---
-->[[Category: {{#if:{{{animated|}}}|Animated|Static}} Emotes]]<!---
-->[[{{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}|25px|alt={{trim|{{{1}}}}}]] {{trim|{{{1}}}}}” is an {{#if:{{{animated|}}}|animated}} emote that can be found on:
{{#switch: {{{twitch|}}}
|true = * Twitch
|historic = * Twitch (formerly)
}} {{#switch: {{{discord|}}}
|true = * Discord
|historic = * Discord (formerly)
}}


[[File:{{{image|{{{1}}}.{{#if: {{{animated|}}} | gif | png }}}}}|25px|alt={{{1}}}]] “{{{1}}}”]] is an {{#if:{{{animated|}}}|animated}} emote that {{#if:{{{active|}}}|can|used to}} be found on {{{source}}}.
{{#if:{{{reference|}}}|It is a reference to {{{reference}}}.}}


{{#if:{{{reference|}}}|It is a reference to [[{{{reference}}}]].}}
It was drawn {{Attribution|{{{artist}}}}}.</includeonly><noinclude>
 
It was drawn {{Attribution|{{{artist}}}}}.<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"
},
"source": {
"label": "Source",
"description": "Where the emote is (or was) available.",
"type": "string",
"suggestedvalues": [
"discord",
"twitch"
],
"suggested": true
},
},
"artist": {
"artist": {
Line 45: 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
},
"active": {
"label": "Active",
"description": "If the emote is currently available for use.",
"type": "boolean"
},
},
"animated": {
"animated": {
Line 58: Line 51:
"type": "boolean",
"type": "boolean",
"default": "false"
"default": "false"
},
"discord": {
"label": "Available on Discord",
"description": "If the emote is currently available on Discord.",
"type": "string",
"required": false,
"suggestedvalues": [
"true",
"false",
"historic"
]
},
"twitch": {
"label": "Available on Twitch",
"description": "If the emote is currently available on Twitch.",
"type": "string",
"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 63: Line 90:
"paramOrder": [
"paramOrder": [
"1",
"1",
"image",
"animated",
"animated",
"image",
"artist",
"artist",
"source",
"reference",
"reference",
"active"
"twitch",
"discord",
"variants"
],
],
"format": "block"
"format": "block"