Difference between revisions of "Template:Picturebox"

From Granite Devices Knowledge Wiki
Jump to: navigation, search
[checked revision][checked revision]
(change width from 820px to 80%)
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 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 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>

Revision as of 15:30, 26 March 2015

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