Template:Caption

From PCSAR

(Difference between revisions)
Jump to: navigation, search
Current revision (20:38, 29 May 2012) (edit) (undo)
 
Line 1: Line 1:
<noinclude>{{documentation}}</noinclude><includeonly><!--
<noinclude>{{documentation}}</noinclude><includeonly><!--
-
--><div style="float:left; border: 2px;"><!--
+
--><div style="float:left; border: 2px solid white;"><!--
-->{{{1}}}<!--
-->{{{1}}}<!--
--><br /><!--
--><br /><!--

Current revision

This is the documentation for the template Template:Caption

Template:Caption/Doc:

The template {{Caption|body|caption}} displays the body with an optional caption below it.

Body is often an image.

Unlike using mediawiki caption facilities, the body is not surrounded with a frame.

Unlike using a table, the contents continues to flow to the right.


You type... You get...
{{caption|[[Image:Test|100px]]|'''Nice Pic!'''}} more text 
Image:Test
Nice Pic!
more text



To see how this template is implemented, edit this page and examine the portion between <includeonly> and </includeonly>.

Personal tools