Changes

Jump to navigation Jump to search
no edit summary
Line 26: Line 26:  
|| no
 
|| no
 
|| Provide as, e.g., <code>image=File:20000_squid_Nautilus_viewbay.jpg</code>. Will display a small thumbnail in upper left of content.
 
|| Provide as, e.g., <code>image=File:20000_squid_Nautilus_viewbay.jpg</code>. Will display a small thumbnail in upper left of content.
 +
|-
 +
|| imgsize
 +
|| no
 +
|| Width of image in pixels. Default is 100.
 
|}
 
|}
   Line 54: Line 58:  
</noinclude><includeonly><div style="{{#ifeq: {{{column}}} | left | float:left; width:49%; clear:left; | {{#ifeq: {{{column}}} | right | float:right; width:49%; clear:right; | {{#ifeq: {{{column}}} | both | clear:both; width:100%; |}}}}}} border:1px solid black; padding:0; margin-bottom:0.5em;">
 
</noinclude><includeonly><div style="{{#ifeq: {{{column}}} | left | float:left; width:49%; clear:left; | {{#ifeq: {{{column}}} | right | float:right; width:49%; clear:right; | {{#ifeq: {{{column}}} | both | clear:both; width:100%; |}}}}}} border:1px solid black; padding:0; margin-bottom:0.5em;">
 
<div style="border-bottom:1px solid black; background:lightsteelblue; font-weight:bold; font-style:italic; text-align:center;">{{{title}}}</div>
 
<div style="border-bottom:1px solid black; background:lightsteelblue; font-weight:bold; font-style:italic; text-align:center;">{{{title}}}</div>
<div style="padding:0.5em;">{{#if: {{{image|}}} | <div style="margin-right:0.5em;margin-bottom:0.5em; float:left;">[[{{{image}}}|100px|]]</div>|}}{{{content}}}</div>
+
<div style="padding:0.5em;">{{#if: {{{image|}}} | <div style="margin-right:0.5em;margin-bottom:0.5em; float:left;">[[{{{image}}}|{{{imgsize|100}}}px|]]</div>|}}{{{content}}}</div>
 
</div></includeonly>
 
</div></includeonly>

Navigation menu