Template:Emote: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
m (fixing loop and sound tooltips)
Line 6: Line 6:
{{#ifeq: {{{flying|}}}|yes|{{!}} style="background-color:#afa;text-align: center"{{!}}Flying|{{#ifeq: {{{flying|}}}|no|{{!}} style="background-color:#faa;text-align: center"{{!}}No|{{!}} style="text-align: center"{{!}}Standing}}}}
{{#ifeq: {{{flying|}}}|yes|{{!}} style="background-color:#afa;text-align: center"{{!}}Flying|{{#ifeq: {{{flying|}}}|no|{{!}} style="background-color:#faa;text-align: center"{{!}}No|{{!}} style="text-align: center"{{!}}Standing}}}}
{{#ifeq: {{{sound|}}}|yes|{{!}} style="background-color:#aaf;text-align: center"{{!}}{{Placeholder Text|text=Yes|desc=This emote will play a sound}}|{{!}}{{!}}}}
{{#ifeq: {{{sound|}}}|yes|{{!}} style="background-color:#aaf;text-align: center"{{!}}{{Placeholder Text|text=Yes|desc=This emote will play a sound}}|{{!}}{{!}}}}
{{#ifeq: {{{loops|}}}|yes|{{!}} style="background-color:#aff;text-align: center"{{!}}Yes|{{!}}{{!}}}}
{{#ifeq: {{{loops|}}}|yes|{{!}} style="background-color:#aff;text-align: center"{{!}}{{Placeholder Text|text=Yes|desc=This emote will loop endlessly when activated}}|{{!}}{{!}}}}
||{{{description}}}
||{{{description}}}
||{{#if: {{{issue|}}}|[[Issue {{{issue}}}]]|<span style="visibility:hidden">zzzzz</span>}}<noinclude>{{Emote Footer}}
||{{#if: {{{issue|}}}|[[Issue {{{issue}}}]]|<span style="visibility:hidden">zzzzz</span>}}<noinclude>{{Emote Footer}}

Revision as of 17:04, 9 January 2023

yes

Emote Aliases Flying? Sound? Loops? Description Issue Release
[[Emote {{{emote}}}|{{{emote}}}]] zzzzz Standing {{{description}}} zzzzz

Row for an emote table. Use with Template:Emote Header and Template:Emote Footer. For the Flying column, specify the flying parameter:

  • If the emote has an alternate animation for flying, set it to "yes"
  • If the emote does not play while flying, set it to "no"
  • If the emote plays the standing animation while flying, do not set the flying parameter, or set it to something other than yes/no

For the Sound column, specify the sound parameter:

  • "yes" if the emote includes sound (eg: boombox)
  • Anything (or unspecified) if there is no sound

For the Loops column, specify the loops parameter:

  • "yes" if the emote repeats endlessly
  • Anything (or unspecified) if it only plays once