Middlebury

Difference between revisions of "Template:Figure"

(Created page with "<includeonly><figure>{{{1}}}</figure><figcaption>{{{2}}}</figcaption></includeonly><noinclude> Usage * Add a figure with a caption: ** <code> <nowiki>{{Figure|<middmedia dir="...")
 
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><figure>{{{1}}}</figure><figcaption>{{{2}}}</figcaption></includeonly><noinclude>
+
<includeonly><div class="figure" style="display: inline-block; text-align: center; border: 1px solid lightgray; padding: 10px;">{{{1}}}<p class="figcaption>{{{2}}}</p></div></includeonly><noinclude>
 
Usage
 
Usage
 
* Add a figure with a caption:
 
* Add a figure with a caption:
 
** <code>
 
** <code>
<nowiki>{{Figure|<middmedia dir="afranco" file="Simple%20Webform.mp4" width="500" height="310" />|My caption text.}}</nowiki> </code> &raquo; {{Figure|<middmedia dir="afranco" file="Simple%20Webform.mp4" width="500" height="310" />|My caption text.}}
+
 
 +
 
 +
 
 +
<nowiki>{{Figure|[[File:Img_9573.ver2.jpg]]|My caption text.}}</nowiki> </code>
 +
 
 +
{{Figure|[[File:Img_9573.ver2.jpg]]|My caption text.}}
  
 
</noinclude>
 
</noinclude>

Latest revision as of 09:56, 5 November 2014

Usage

  • Add a figure with a caption:


{{Figure|[[File:Img_9573.ver2.jpg]]|My caption text.}}

Img 9573.ver2.jpg

My caption text.


Powered by MediaWiki