m (Fix alignment of examples) |
m (Add to category) Tag: 2017 source edit |
||
Line 40: | Line 40: | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:General-use_inline_templates]] |
Revision as of 06:58, 4 November 2023
Usage:
{{image on right|Maze.png|x200px}}
⟶
{{image on right|Maze.png|x200px|Some text}}
⟶
The second parameter should be either a width e.g. 400px
or a height e.g. x300px
; see docs.
The below documentation is automatically generated from JSON. It can be changed by editing this page, but note that it's only the documentation (for the visual editor)—the actual template part must also be edited, manually.
Embeds uploaded media as a thumbnail along the right side of the page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Filename | 1 | omit "File:" | File | required |
Size | 2 | either a width (400px) or a height (x300px) | String | required |
Caption | 3 | displayed under thumbnail if set | Line | optional |