Template:XImg/doc

Template page
Revision as of 11:23, 30 March 2024 by AEGIS>Pookawboo
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{XImg
| image             = The image page or URL
| width             = (Optional) The desired width of the image
| frame             = (Optional) Include a frame
| rounded           = (Optional) Make rounded
| align             = (Optional) left, right, center, floatleft, floatright
| title             = (Optional) Include an inline title
}}

Example Frameless Left

{{XImg
| image             = https://c.l3n.co/i/76YZuC.jpeg
| width             = 300px
| align             = left
}}
76YZuC.jpeg

Example Frame Align Right

{{XImg
| image             = https://c.l3n.co/i/76YZuC.jpeg
| width             = 300px
| frame             = yes
| align             = right
}}
76YZuC.jpeg

Example Rounded Center

{{XImg
| image             = https://c.l3n.co/i/76YZuC.jpeg
| width             = 300px
| rounded           = yes
| align             = center
| title             = Title
}}
Title
76YZuC.jpeg

Example Float Left

{{XImg
| image             = https://c.l3n.co/i/76YZuC.jpeg
| width             = 300px
| align             = floatleft
}}
76YZuC.jpeg

Example of text wrapping.

Example Float Right

{{XImg
| image             = https://c.l3n.co/i/76YZuC.jpeg
| width             = 300px
| align             = floatright
}}
76YZuC.jpeg

Example of text wrapping.