Difference between revisions of "Template:Section"

From Civicwiki
Jump to: navigation, search
(Created page with "<noinclude> Template 'Section'. Fields: <pre>{{Article |HasArticleText= |HasImage= |HasImageTitle= |HasImageDescription= }} </pre> Click edit to see the template contents. </n...")
 
Line 9: Line 9:
 
</pre>
 
</pre>
 
Click edit to see the template contents.
 
Click edit to see the template contents.
</noinclude><includeonly><div style="float:right;">{{#vardefine:IB1}}{{#if:{{{HasImageTitle|}}}|{{#vardefine:IB1|y}} }}{{#if:{{{HasImage|}}}|{{#vardefine:IB1|y}} }}{{#if:{{{HasImageDescription|}}}|{{#vardefine:IB1|y}} }}{{#if:{{#var:IB1}}|<div class="infoboxright">
+
</noinclude><includeonly><div style="clear:both;"></div><div style="float:right;">{{#vardefine:IB1}}{{#if:{{{HasImageTitle|}}}|{{#vardefine:IB1|y}} }}{{#if:{{{HasImage|}}}|{{#vardefine:IB1|y}} }}{{#if:{{{HasImageDescription|}}}|{{#vardefine:IB1|y}} }}{{#if:{{#var:IB1}}|<div class="infoboxright">
 
<table width="240px" border="0" cellpadding="5"><tr>
 
<table width="240px" border="0" cellpadding="5"><tr>
 
<td class="infoboxtitle" colspan="2">{{{HasImageTitle|}}}</td></tr>
 
<td class="infoboxtitle" colspan="2">{{{HasImageTitle|}}}</td></tr>

Revision as of 10:18, 7 April 2014

Template 'Section'. Fields:

{{Article
|HasArticleText=
|HasImage=
|HasImageTitle=
|HasImageDescription=
}}

Click edit to see the template contents.