Difference between revisions of "Template:Image"

From The Battle for Wesnoth Wiki
(Created template)
m (Removed accidental fullstop)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><div class="thumb t{{{pos|right}}}" style="width: 30em"><div>{{{image|}}}<div class="thumbcaption">{{{message|}}}.</div></div></div></noinclude><onlyinclude>{{Image/doc}}{{Template}}</onlyinclude>
<onlyinclude><div class="thumb t{{{pos|right}}}" style="width: {{{width|30em}}}"><div>{{{image|}}}<div class="thumbcaption">{{{message|}}}</div></div></div></onlyinclude><noinclude>{{Image/doc}}{{Template}}</noinclude>

Latest revision as of 21:21, 14 July 2019

This template creates an image with a caption below.


pos denotes the alignment. Must be either left or right. Is right by default.

width denotes the width of the image. Is 30em by default.

image denotes the location of the image.

message denotes the caption below the image.


|message=A ship sets sail.
A ship sets sail.
This page was last edited on 14 July 2019, at 21:21.