Template:EmotePage: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>{{#cargo_declare:
  <!-- Temporarily commented out due to bugs.
  _table = emotes
  {{#cargo_declare:
  |name = String(unique;mandatory)
    _table = emotes
  |twitch = String
    |name = String(unique;mandatory)
  |discord = String
    |twitch = String
  |animated = Boolean
    |discord = String
  |variants = Wikitext string
    |animated = Boolean
  |artist = Page
    |variants = Wikitext string
  |reference = Wikitext string
    |artist = Page
}}</noinclude><includeonly><!-- Temporarily commented out due to bugs.
    |reference = Wikitext string
  }}-->
</noinclude><includeonly><!-- Temporarily commented out due to bugs.
   {{#cargo_store:
   {{#cargo_store:
    _table = emotes
  _table = emotes
    |name = {{{1}}}
  |name = {{{1}}}
    |twitch = {{{twitch|false}}}
  |twitch = {{{twitch|false}}}
    |discord = {{{discord|false}}}
  |discord = {{{discord|false}}}
    |animated = {{{animated|false}}}
  |animated = {{{animated|false}}}
    |variants = {{{variants|}}}
  |variants = {{{variants|}}}
    |artist = {{{artist|}}}
  |artist = {{{artist|}}}
    |reference = {{{reference|}}}
  |reference = {{{reference|}}}
  }}-->{{EmoteInfobox
}}-->{{EmoteInfobox
    |{{{1}}}
  |{{{1}}}
    |animated={{{animated|}}}
  |animated={{{animated|}}}
    |artist={{{artist|}}}
  |artist={{{artist|}}}
    |reference={{{reference|}}}
  |reference={{{reference|}}}
    |twitch={{{twitch|}}}
  |twitch={{{twitch|}}}
    |discord={{{discord|}}}
  |discord={{{discord|}}}
    |variants={{{variants|}}}
  |variants={{{variants|}}}
  }}<!---
}}<!---
  -->{{DEFAULTSORT:{{#sub:{{{1}}}|3}}}}<!---
-->{{DEFAULTSORT:{{#sub:{{{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:  
-->[[{{EmoteFilename|{{{1}}}}}|25px|alt={{{1}}}]] “{{trim|{{{1}}}}}” is an {{#if:{{{animated|}}}|animated}} emote that can be found on:  
{{#switch: {{{twitch|}}}
{{#switch: {{{twitch|}}}