Template: ImageBox2

From Trekipedia
Jump to: navigation, search
(Created page with "{{BoxOutline|width={{{width|360px}}}|float={{{float|right}}}|other={{{other}}} }} <div style="text-align:center;"> [[File:{{{imgname}}}|{{{imgwidth|100%}}}|{{{caption}}}]]<br/...")
 
m
 
(31 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{BoxOutline|width={{{width|360px}}}|float={{{float|right}}}|other={{{other}}} }}
+
{{BoxOutline|width={{{boxwidth|35%}}}|float={{{float|right}}}|other={{{other}}} }}
<div style="text-align:center;">
+
[[File:{{{file|trekipedia-16x9.jpg}}}|alt={{{caption|}}}|{{#if:{{{link|}}}|link={{{link|{{{caption|}}}}}}}}|center|class=img-responsive]]
[[File:{{{imgname}}}|{{{imgwidth|100%}}}|{{{caption}}}]]<br/>{{{caption}}}
+
<p style="font-size:90%;">
</div>
+
{{{caption}}}
 +
</p>
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
 
Variables:
 
Variables:
* width (default=360px)
+
* boxwidth (default=30%)
 
* float (default=right)
 
* float (default=right)
 
* other (e.g. clear:right;)
 
* other (e.g. clear:right;)
* imgname
+
* align
* imgwidth
+
* padding
 +
* file
 
* caption
 
* caption
 +
* link
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Layout Templates]]
 
[[Category:Layout Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 17:48, 2 April 2023

{{{caption}}}

Variables:

  • boxwidth (default=30%)
  • float (default=right)
  • other (e.g. clear:right;)
  • align
  • padding
  • file
  • caption
  • link