Difference between revisions of "Template:Picturebox"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#if: {{{caption|}}} |<div style="clear:both;background-color:#f9f9f9;border:1px solid #ddd; padding: 20px 10px 10px 10px; text-align:center; width:820px;">[[File:{{{1}}}|{{{2|800px}}}]]
+
{{#if: {{{caption|}}} |<div class="picturebox" style="margin-right:10%;margin-left:10%;clear:both;background-color:#f9f9f9;border:1px solid #ddd; padding: 20px 10px 10px 10px; text-align:center;">[[File:{{{1}}}|{{{2|800px}}}]]
''{{{caption}}}''|<div style="clear:both;background-color:#f9f9f9;border:1px solid #ddd; padding: 20px 10px 20px 10px; text-align:center; width:820px;">[[File:{{{1}}}|{{{2|800px}}}]]}}
+
''{{{caption}}}''|<div class="picturebox" style="margin-right:10%;margin-left:10%;clear:both;background-color:#f9f9f9;border:1px solid #ddd; padding: 20px 10px 20px 10px; text-align:center; ">[[File:{{{1}}}|{{{2|800px}}}]]}}
  
 
</div>
 
</div>

Latest revision as of 13:21, 15 June 2015

[[File:{{{1}}}|800px]]