Middlebury

Difference between revisions of "Template:Figure"

Line 1: Line 1:
<includeonly><div class="figure" style="display: inline-block; text-align: center; border: 1px solid;">{{{1}}}<div class="figcaption"  >{{{2}}}</div></div></includeonly><noinclude>
+
<includeonly><div class="figure" style="display: inline-block; text-align: center; border: 1px solidlightgray; 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>
 
<nowiki>{{Figure|<middmedia dir="afranco" file="Simple%20Webform.mp4" width="500" height="310" />|My caption text.}}</nowiki> </code>
  

Revision as of 10:52, 5 November 2014

Usage

  • Add a figure with a caption:

{{Figure|<middmedia dir="afranco" file="Simple%20Webform.mp4" width="500" height="310" />|My caption text.}}

My caption text.