Image¶
The image macro allows the inclusion of images with optional alignent and caption.
Available variants¶
There currently exist 3 variants to use:
{{ image.left(url, title, alt, caption) }}{{ image.right(url, title, alt, caption) }}{{ image.img(url, alt, caption) }}
{{ image.left(url, title, alt, caption) }}¶
The image.left macro inserts an image aligned to the left using an info box like the game.info macro.
Options¶
| Option | Required | Default | Description | 
|---|---|---|---|
url | 
Yes | None | The URL to the image. This can be a relative or absolute URL. | 
title | 
No | None | Title to display above the image itself. | 
alt | 
No | image | 
The alt text to set for the image. | 
caption | 
No | None | The caption to display below the image. | 
Examples¶
{{ image.right(url, title, alt, caption) }}¶
The image.right macro inserts an image aligned to the right using an info box like the game.info macro.
Options¶
| Option | Required | Default | Description | 
|---|---|---|---|
url | 
Yes | None | The URL to the image. This can be a relative or absolute URL. | 
title | 
No | None | Title to display above the image itself. | 
alt | 
No | image | 
The alt text to set for the image. | 
caption | 
No | None | The caption to display below the image. | 
Examples¶
{{ image.img(url, alt, caption) }}¶
The image.img macro inserts the provided image, optionally with a caption.
Options¶
| Option | Required | Default | Description | 
|---|---|---|---|
url | 
Yes | None | The URL to the image. This can be a relative or absolute URL. | 
alt | 
No | image | 
The alt text to set for the image. | 
caption | 
No | None | The caption to display below the image. |