Difference between revisions of "Template:Article"
From Civicwiki
Line 12: | Line 12: | ||
</pre> | </pre> | ||
Click edit to see the template contents. | Click edit to see the template contents. | ||
− | </noinclude><includeonly><div style="float:right;"> | + | </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"> |
− | {{#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> | ||
Line 25: | Line 20: | ||
</td></tr> | </td></tr> | ||
</table> | </table> | ||
− | </div>}}{{#vardefine:IB2}}{{#if:{{{HasImageTitle2|}}}|{{#vardefine:IB2|y}} }} | + | </div>}}{{#vardefine:IB2}}{{#if:{{{HasImageTitle2|}}}|{{#vardefine:IB2|y}} }}{{#if:{{{HasImage2|}}}|{{#vardefine:IB2|y}} }}{{#if:{{{HasImageDescription2|}}}|{#vardefine:IB2|y}} }}{{#if:{{#var:IB2}}|<div class="infoboxright"> |
− | {{#if:{{{HasImage2|}}}|{{#vardefine:IB2|y}} }} | ||
− | {{#if:{{{HasImageDescription2|}}}| | ||
− | {{#if:{{#var:IB2}}| | ||
− | <div class="infoboxright"> | ||
<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> |
Revision as of 12:55, 28 January 2014
Template 'Article'. Fields:
{{Article |HasSummary= |HasArticleText= |HasImage= |HasImageTitle= |HasImageDescription= |HasArticleDate= |HasAuthor= }}
Click edit to see the template contents.