Template:Captioned/doc: Difference between revisions

From FamilySearch Wiki
(→‎See also: add a link to Template:Multiple image)
(→‎Examples: add example using center)
Line 22: Line 22:
|
|
{{Captioned|Example.jpg|100px|left|Sunflowers}}
{{Captioned|Example.jpg|100px|left|Sunflowers}}
|-
|
<pre>
{{Captioned|Example.jpg|100px|center|Sunflowers}}
</pre>
|
{{Captioned|Example.jpg|100px|center|Sunflowers}}
|}
|}



Revision as of 14:10, 22 August 2013

Usage[edit source]

The {{Captioned}} template can be used to add images with captions that will not be lost by a future edit from the Rich Text Editor.

Examples[edit source]

You type You get
{{Captioned|Example.jpg|200px|right|An example image featuring sunflowers}}

Example.jpg
An example image featuring sunflowers

{{Captioned|Example.jpg|100px|left|Sunflowers}}

Example.jpg
Sunflowers

{{Captioned|Example.jpg|100px|center|Sunflowers}}

Example.jpg
Sunflowers

See also[edit source]

  • {{Multiple image}} - a template to create a box with two to ten images arranged vertically or horizontally with captions for the entire box and/or for each images