Template:Captioned/doc: Difference between revisions

(Created page with "{{documentation subpage}} == Usage == The {{tl|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: add example with no border)
 
(3 intermediate revisions by the same user not shown)
Line 15: Line 15:
|
|
{{Captioned|Example.jpg|200px|right|An example image featuring sunflowers}}
{{Captioned|Example.jpg|200px|right|An example image featuring sunflowers}}
|-
|
<pre>
{{Captioned|Example.jpg|100px|left|Sunflowers}}
</pre>
|
{{Captioned|Example.jpg|100px|left|Sunflowers}}
|-
|
<pre>
{{Captioned|Example.jpg|100px|center|Sunflowers}}
</pre>
|
{{Captioned|Example.jpg|100px|center|Sunflowers}}
|-
|
<pre>
{{Captioned|Example.jpg|150px|right|Sunflowers|border=}}
</pre>
|
{{Captioned|Example.jpg|150px|right|Sunflowers|border=}}
|}
|}


== See also ==
== See also ==
* {{tl|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


<includeonly>
<includeonly>
[[Category:Graphic templates|Captioned]]
[[Category:Graphic templates|Captioned]]
</includeonly>
</includeonly>

Latest revision as of 14:38, 22 August 2013

Usage

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

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

{{Captioned|Example.jpg|150px|right|Sunflowers|border=}}

Example.jpg
Sunflowers

See also

  • {{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