Template:EmotePage: Difference between revisions

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