Template:Emotes Animation/doc: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
(new format, new parameters, combines header and footer, allows new image file names)
(alt 1 default)
Line 9: Line 9:
:  First image to display.
:  First image to display.
; alt 1
; alt 1
:  Optional, but recommended. Alt text for first image. Default is "variant 1".
:  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
:  Optional. Additional images to display. Default is omitted.
:  Optional. Additional images to display. Default is omitted.

Revision as of 21:03, 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 1
First image to display.
alt 1
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.

Example

{{Emotes Animation
| label   = Emote Ledgesit
| image 1 = Mantid Emote Ledgesit.gif
| alt 1   = Hands apart variant
| image 2 = Mantid Emote Ledgesit2.gif
| alt 2   = Hands together variant 
}}
Emote Ledgesit
  • [[File:{{{image}}}|alt=animation]]
  • Hands together variant
Animations may take time to load

See also