Template:Gif image

From Kerbal Space Program Wiki
Revision as of 01:26, 31 December 2014 by XZise (talk | contribs) (+a bit more documentation;)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Ikes libration.gif
One animation that isn't working
</includeonly>
How it should work.

Workaround for the corruption problem with .gif images. It should only be applied when a normal inclusion doesn't work. The following template should then be added to the file page:

Thumbnails of this image don't render correctly. This is known but unfortunately it is unknown when it gets fixed. See also N3X15's talk page.
Code for the box:
{{Box|type=error|Thumbnails of this image don't render correctly. This is known but unfortunately it is unknown when it gets fixed. See also [[User_talk:N3X15#Gif_thumbnail_animations_aren.27t_working|N3X15's talk page]].}}

Parameters

Name Optional Description Default
1 No File name. Don't write the File: prefix.
2 Yes If set as thumb, creates a thumb around the image. Hidden
3 Yes Adds text in the thumb. Needs parameter #2 set as thumb. Not set/Hidden
width No The width of the picture. You can find it on the file's page. Important if parameter float is set as left or center
float Yes Set the thumb location. Needs parameter #2 set as thumb. right
additional css Yes Adds additional CSS code to the thumb. Hidden