Template:CaptionedImage
Wildwinter (talk | contribs) (→Usage) |
Tag: Undo |
||
| (6 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
{{CaptionedImage|file=FileName.jpg|title=A popup title|caption=A caption underneath|align=right or left or center or none|width=pixels}} | {{CaptionedImage|file=FileName.jpg|title=A popup title|caption=A caption underneath|align=right or left or center or none|width=pixels|height=pixels}} | ||
</pre> | </pre> | ||
If unspecified, the width is limited to 187px, and the height to 800px. | |||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly><div class="captioned-image captioned-image-{{{align|none}}}">[[File:{{{file}}}|{{{width|187}}}x{{{height|800}}}px|{{{title|}}}]]<div class="caption">{{{caption|}}}</div></div></includeonly> | ||
<div class="captioned-image captioned-image-{{{align|none}}}">[[File:{{{file}}}|{{{width|}}}px|{{{title|}}}]]<div class="caption">{{{caption|}}}</div></div></includeonly> | |||
Latest revision as of 01:13, 8 March 2025
Usage
{{CaptionedImage|file=FileName.jpg|title=A popup title|caption=A caption underneath|align=right or left or center or none|width=pixels|height=pixels}}
If unspecified, the width is limited to 187px, and the height to 800px.