Template:Emote Animation: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
m (pipe fix?)
m (also don't cat sort CC)
Line 30: Line 30:
</div>{{#ifeq: {{{nocat|}}}|true
</div>{{#ifeq: {{{nocat|}}}|true
|<!--nothing-->
|<!--nothing-->
|{{#ifeq:{{#sub:{{PAGENAME}}|0|13}}|Costume Emote
|{{#ifeq:{{#sub:{{PAGENAME}}|0|16}}|Costume Emote CC
  |[[Category:Costume Change Emotes{{!}}{{#sub:{{PAGENAME}}|13}}]]
  |[[Category:Costume Change Emotes{{!}}{{#sub:{{PAGENAME}}|16}}]]
  |[[Category:Emote Animations|{{#ifeq:{{#sub:{{PAGENAME}}|0|5}}|Emote|{{#sub:{{PAGENAME}}|5}}|{{PAGENAME}}}}]]
  |[[Category:Emote Animations|{{#ifeq:{{#sub:{{PAGENAME}}|0|5}}|Emote|{{#sub:{{PAGENAME}}|5}}|{{PAGENAME}}}}]]
  }}
  }}

Revision as of 00:17, 8 May 2022

[edit] [purge] Documentation

Creates a figure displaying one or more animations for an emote.

Parameters

label
Optional. Text label for the figure. Default is page name.
image
First image to display.
alt
Optional. Alt text for first image. Default is "animation".
note
Optional. Text note displayed after first image. Default is omitted.
image 2, image 3, image 4, image 5, image 6
Optional. Additional images to display. Default is omitted.
alt 2, alt 3, alt 4, alt 5, alt 6
Optional. Alt text for additional images. Default is "variant 2" or "variant 3" etc.
note 2, note 3, note 4, note 5, note 6
Optional. Text notes displayed after additional images. Default is omitted.
nocat
Optional. Set to "true" to suppress auto categorization. Default is the page is auto categorized in Category:Emote Animations.

Examples

(On the Emote Afraid page)

{{Emote Animation
| image = Ghost Widow Emote Afraid.gif
}}
Emote Afraid
  • animation
Animation may take time to load

(On the Emote Ledgesit page)

{{Emote Animation
| image   = Mantid Emote Ledgesit.gif
| alt     = Hands apart variant
| image 2 = Mantid Emote Ledgesit2.gif
| alt 2   = Hands together variant
}}
Emote Ledgesit
  • Hands apart variant
  • Hands together variant
Animations may take time to load

See also