Template:EmoteInfobox: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#set:
<includeonly>{{#set:
  |Has Emote Name={{{1}}}
  |Has Emote Name={{trim|{{{1}}}}}
  |Is Animated={{{animated|false}}}
  |Is Animated={{{animated|false}}}
  |{{#switch: {{{twitch|}}}
  |{{#switch: {{{twitch|}}}
Line 13: Line 13:
   }}
   }}
   |By={{{artist|}}}
   |By={{{artist|}}}
   |Has Emote Image={{{ image | {{EmoteFilename | {{{1}}} }} }}}
   |Has Emote Image={{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}
}}{{Infobox
}}{{Infobox
   | bodystyle = border-spacing: 2px 5px;
   | bodystyle = border-spacing: 2px 5px;
   | above = {{{1}}}
   | above = {{trim|{{{1}}}}}
   | abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
   | abovestyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
   | headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
   | headerstyle = background-color: var(--background-color-backdrop-dark); color: var(--color-inverted);
   | name = {{{1}}}
   | name = {{trim|{{{1}}}}}
   | image = [[{{{ image | {{EmoteFilename | {{{1}}} }} }}}|center|frameless|“{{{1}}}”]]
   | image = [[{{{ image | {{EmoteFilename | {{trim|{{{1}}}}} }} }}}|center|frameless|“{{trim|{{{1}}}}}”]]
   | label1 = Available On
   | label1 = Available On
   | data1 = {{flatlist|{{#switch: {{{twitch|}}}
   | data1 = {{flatlist|{{#switch: {{{twitch|}}}