Image Inclusion Templates

Small Images

Creates a universal width image on the right hand side of a page. Caption is optional.

Sample Call

(:include templates.images#startsmall#endsmall source=https://i.imgur.com/CXDhHIq.jpg caption="Laura as a Snow Goblin":)

The Template

[[#startsmall]]
%rfloat text-align=center width=250px% {$$source} (:if ! equal "{$$caption}" "":)| '''{$$caption}''' (:ifend:)
[[#endsmall]]

Box Images

Places a fixed width image onto a page. Designed for use in info boxes (width is set to match the standard infobox width.

Sample Call

(:include templates.images#startbox#endbox source="https://i.imgur.com/CXDhHIq.jpg":)

The Template

[[#startbox]]
%width=300px% {$$source}
[[#endbox]]

Categories: Templates | Wiki Layout Templates

Page last modified on August 25, 2022, at 12:05 AM
Powered by PmWiki