Template:EmotePage: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<noinclude>
  {{#cargo_declare:
    _table = emotes
    |name = String(unique;mandatory)
    |twitch = Boolean
    |discord = Boolean
    |animated = Boolean
    |variants = List (,) of Page
    |artist = Page
    |reference = Page
  }}
</noinclude><includeonly>
  {{#cargo_store:
    _table = emotes
    |name = {{{1}}}
    |twitch = {{{twitch|false}}}
    |discord = {{{discord|false}}}
    |animated = {{{animated|false}}}
    |variants = {{{variants|}}}
    |artist = {{{artist|}}}
    |reference = {{{reference|}}}
  }}
   {{EmoteCategory|{{{1}}}}}
   {{EmoteCategory|{{{1}}}}}
   {{#if: {{{discord|}}} | {{EmoteCategory|{{{1}}}|Discord }} }}
   {{#if: {{{discord|}}} | {{EmoteCategory|{{{1}}}|Discord }} }}
Line 44: Line 65:
"type": "string",
"type": "string",
"required": true
"required": true
},
"image": {
"label": "Image",
"description": "The image to use.",
"type": "wiki-file-name"
},
},
"artist": {
"artist": {
Line 92: Line 108:
"1",
"1",
"animated",
"animated",
"image",
"artist",
"artist",
"reference",
"reference",