Template:Emotes Animation/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
(→‎Example: nocat)
m (simplify parameters)
Line 6: Line 6:
; label
; label
:  Optional. Text label for the figure. Default is page name.
:  Optional. Text label for the figure. Default is page name.
; image 1
; image
:  First image to display.
:  First image to display.
; alt 1
; alt
:  Optional, but recommended. Alt text for first image. Default is "animation".
:  Optional, but recommended. Alt text for first image. Default is "animation".
; image 2, image 3, image 4, image 5
; image 2, image 3, image 4, image 5
Line 21: Line 21:
{{Emotes Animation
{{Emotes Animation
| label  = Emote Ledgesit
| label  = Emote Ledgesit
| image 1 = Mantid Emote Ledgesit.gif
| image   = Mantid Emote Ledgesit.gif
| alt = Hands apart variant
| alt     = Hands apart variant
| image 2 = Mantid Emote Ledgesit2.gif
| image 2 = Mantid Emote Ledgesit2.gif
| alt 2  = Hands together variant
| alt 2  = Hands together variant
Line 31: Line 31:
{{Emotes Animation
{{Emotes Animation
| label  = Emote Ledgesit
| label  = Emote Ledgesit
| image 1 = Mantid Emote Ledgesit.gif
| image = Mantid Emote Ledgesit.gif
| alt = Hands apart variant
| alt   = Hands apart variant
| image 2 = Mantid Emote Ledgesit2.gif
| image 2 = Mantid Emote Ledgesit2.gif
| alt 2  = Hands together variant  
| alt 2  = Hands together variant  

Revision as of 21:17, 7 May 2022

This is a documentation subpage for Template:Emotes Animation (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

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, but recommended. Alt text for first image. Default is "animation".
image 2, image 3, image 4, image 5
Optional. Additional images to display. Default is omitted.
alt 2, alt 3, alt 4, alt 5
Optional. Alt text for additional images. Default is "variant 2" or "variant 3" etc.
nocat
Optional. Set to "true" to suppress auto categorization. Default is the page is auto categorized in Category:Emote Animations.

Example

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

See also