模板:Animate/doc

来自SCP: Sharp Wiki
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Lua logo.svg

This template used module Module:Animate,These scripts are written in Lua.
Read w:Wikipedia:Lua and mw:Extension:Scribunto for more.

This template parses a semi-colon (;) separated list of images(with File: namespace prefix) and places them in the correct format for them to be animated by the JS element animator.

Usage[编辑 | 编辑源代码]

{{animate
| Semi-colon separated list of images
| The size of the images in px
}}

Example[编辑 | 编辑源代码]

{{animate|Werfen from Hohenwerfen Castle (06).jpg;Grossglockner High Alpine Road (06).jpg|100px}}

Werfen from Hohenwerfen Castle (06).jpgGrossglockner High Alpine Road (06).jpg

Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。