Template:XImg

Template page
Revision as of 23:40, 29 March 2024 by AEGIS>Pookawboo
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:XImg/doc. Changes can be proposed in the talk page.

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.