Template:XImg/doc: Difference between revisions

Template page
AEGIS>Pookawboo
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 11:31, 30 March 2024

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.