Difference between revisions of "Template:Section"
From Civicwiki
(Created page with "<noinclude> Template 'Section'. Fields: <pre>{{Article |HasArticleText= |HasImage= |HasImageTitle= |HasImageDescription= }} </pre> Click edit to see the template contents. </n...") |
|||
(2 intermediate revisions by the same user not shown) | |||
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> | ||
− | <tr><td class="infoboximage" colspan="2">{{#ifexist: File:{{{HasImage|}}}|[[File:{{{HasImage|}}}| | + | <tr><td class="infoboximage" colspan="2">{{#ifexist: File:{{{HasImage|}}}|[[File:{{{HasImage|}}}|220px|link=]]|No image uploaded yet.}}<br> |
<hr> | <hr> | ||
{{{HasImageDescription|}}} | {{{HasImageDescription|}}} | ||
Line 20: | Line 20: | ||
<table width="240px" border="0" cellpadding="5"><tr> | <table width="240px" border="0" cellpadding="5"><tr> | ||
<td class="infoboxtitle" colspan="2">{{{HasImageTitle2|}}}</td></tr> | <td class="infoboxtitle" colspan="2">{{{HasImageTitle2|}}}</td></tr> | ||
− | <tr><td class="infoboximage" colspan="2">{{#ifexist: File:{{{HasImage2|}}}|[[File:{{{HasImage2|}}}| | + | <tr><td class="infoboximage" colspan="2">{{#ifexist: File:{{{HasImage2|}}}|[[File:{{{HasImage2|}}}|220px|link=]]|No image uploaded yet.}}<br> |
<hr> | <hr> | ||
{{{HasImageDescription2|}}} | {{{HasImageDescription2|}}} |
Latest revision as of 10:50, 9 April 2014
Template 'Section'. Fields:
{{Article |HasArticleText= |HasImage= |HasImageTitle= |HasImageDescription= }}
Click edit to see the template contents.