Difference between revisions of "Template:Image/doc"
From The Battle for Wesnoth Wiki
(Created documentation) |
(Adding documentation) |
||
Line 3: | Line 3: | ||
== Parameters == | == Parameters == | ||
− | '''pos''' | + | '''pos''' denotes the alignment. Must be either ''left'' or ''right''. Is ''right'' by default. |
+ | |||
+ | '''width''' denotes the width of the image. | ||
'''image''' denotes the location of the image. | '''image''' denotes the location of the image. |
Revision as of 06:52, 14 July 2019
This template creates an image with a caption below.
Parameters
pos denotes the alignment. Must be either left or right. Is right by default.
width denotes the width of the image.
image denotes the location of the image.
message denotes the caption below the image.
Usage
{{Image |pos=left |image=https://raw.githubusercontent.com/wesnoth/wesnoth/master/data/campaigns/The_Rise_Of_Wesnoth/images/story/trow_story_13-Peoples_in_Decline.jpg |message=A ship sets sail. }}