Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

-

Historians wanted: Inquire here.

Template:Image on right: Difference between revisions

Template page
m Add TemplateData
m Swap out the example image to one of TASBot
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


Usage:
Usage:
<code><nowiki>{{image on right|Maze.png|x200px}}</nowiki></code> &longrightarrow;
{{image on right|TASBot_at_ESA_Summer_2022_resized.jpg|x200px}}
{{image on right|Maze.png|x200px}}
<code><nowiki>{{image on right|TASBot_at_ESA_Summer_2022_resized.jpg|x200px}}</nowiki></code> &longrightarrow;
<br clear="all" />
<br clear="all" />
<code><nowiki>{{image on right|Maze.png|x200px|Some text}}</nowiki></code> &longrightarrow;
{{image on right|TASBot_at_ESA_Summer_2022_resized.jpg|x200px|Some text}}
{{image on right|Maze.png|x200px|Some text}}
<code><nowiki>{{image on right|TASBot_at_ESA_Summer_2022_resized.jpg|x200px|Some text}}</nowiki></code> &longrightarrow;
<br clear="all" />
<br clear="all" />
The second parameter should be either a width e.g. <code>400px</code> or a height e.g. <code>x300px</code>; see [[mw:Help:Images#Syntax|docs]].
The second parameter should be either a width e.g. <code>400px</code> or a height e.g. <code>x300px</code>; see [[mw:Help:Images#Syntax|docs]].
Line 40: Line 40:
}
}
</templatedata>
</templatedata>
[[Category:General-use_inline_templates]]

Latest revision as of 11:40, 31 July 2024


Usage:

{{image on right|TASBot_at_ESA_Summer_2022_resized.jpg|x200px}}

Some text

{{image on right|TASBot_at_ESA_Summer_2022_resized.jpg|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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Filename1

omit "File:"

Filerequired
Size2

either a width (400px) or a height (x300px)

Stringrequired
Caption3

displayed under thumbnail if set

Lineoptional