Template:EmotePage: Difference between revisions

No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{EmoteInfobox
  <!-- Temporarily commented out due to bugs.
  |{{trim|{{{1}}}}}
  {{#cargo_declare:
  |image={{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}
    _table = emotes
  |animated={{{animated|}}}
    |name = String(unique;mandatory)
  |artist={{{artist|}}}
    |twitch = String
  |reference={{{reference|}}}
    |discord = String
  |twitch={{{twitch|}}}
    |animated = Boolean
  |discord={{{discord|}}}
    |variants = Wikitext string
  |variants={{{variants|}}}
    |artist = Page
}}<!---
    |reference = Wikitext string
-->{{DEFAULTSORT:{{#sub:{{trim|{{{1}}}}}|3}}}}<!---
  }}-->
-->[[Category: Emotes]]<!---
</noinclude><includeonly><!-- Temporarily commented out due to bugs.
-->{{#if: {{{discord|}}} | [[Category: Discord Emotes]]}}<!---
  {{#cargo_store:
-->{{#if: {{{twitch|}}} | [[Category: Twitch Emotes]]}}<!---
    _table = emotes
-->[[Category: {{#if:{{{animated|}}}|Animated|Static}} Emotes]]<!---
    |name = {{{1}}}
-->[[{{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}|25px|alt={{trim|{{{1}}}}}]] “{{trim|{{{1}}}}}” is an {{#if:{{{animated|}}}|animated}} emote that can be found on:  
    |twitch = {{{twitch|false}}}
    |discord = {{{discord|false}}}
    |animated = {{{animated|false}}}
    |variants = {{{variants|}}}
    |artist = {{{artist|}}}
    |reference = {{{reference|}}}
  }}-->{{EmoteInfobox
    |{{{1}}}
    |animated={{{animated|}}}
    |artist={{{artist|}}}
    |reference={{{reference|}}}
    |twitch={{{twitch|}}}
    |discord={{{discord|}}}
    |variants={{{variants|}}}
  }}<!---
  -->{{DEFAULTSORT:{{#sub:{{{1}}}|3}}}}<!---
  -->[[Category: Emotes]]<!---
  -->{{#if: {{{discord|}}} | [[Category: Discord Emotes]]}}<!---
  -->{{#if: {{{twitch|}}} | [[Category: Twitch Emotes]]}}<!---
  -->[[Category: {{#if:{{{animated|}}}|Animated|Static}} Emotes]]<!---
-->[[{{EmoteFilename|{{{1}}}}}|25px|alt={{{1}}}]] “{{trim|{{{1}}}}}” is an {{#if:{{{animated|}}}|animated}} emote that can be found on:  
{{#switch: {{{twitch|}}}
{{#switch: {{{twitch|}}}
  |true = * Twitch
  |true = * Twitch
Line 51: Line 30:
"params": {
"params": {
"1": {
"1": {
"aliases": [
"name",
"emote"
],
"label": "Name",
"label": "Name",
"description": "The name of the emote.",
"description": "The name of the emote.",
Line 68: 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 100: Line 75:
},
},
"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": "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 111: Line 90:
"paramOrder": [
"paramOrder": [
"1",
"1",
"image",
"animated",
"animated",
"artist",
"artist",