Difference between revisions of "Template:Article"
From Civicwiki
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
Click edit to see the template contents. | Click edit to see the template contents. | ||
− | </noinclude><includeonly> | + | </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"> |
+ | <table width="240px" border="0" cellpadding="5"><tr> | ||
+ | <td class="infoboxtitle" colspan="2">{{{HasImageTitle|}}}</td></tr> | ||
+ | <tr><td class="infoboximage" colspan="2">{{#ifexist: File:{{{HasImage|}}}|[[File:{{{HasImage|}}}|100px|link=]]|No image uploaded yet.}}<br> | ||
+ | <hr> | ||
+ | {{{HasImageDescription|}}} | ||
+ | </td></tr> | ||
+ | </table> | ||
+ | </div>}}{{#vardefine:IB2}}{{#if:{{{HasImageTitle2|}}}|{{#vardefine:IB2|y}} }}{{#if:{{{HasImage2|}}}|{{#vardefine:IB2|y}} }}{{#if:{{{HasImageDescription2|}}}|{{#vardefine:IB2|y}} }}{{#if:{{#var:IB2}}|<div class="infoboxright"> | ||
+ | <table width="240px" border="0" cellpadding="5"><tr> | ||
+ | <td class="infoboxtitle" colspan="2">{{{HasImageTitle2|}}}</td></tr> | ||
+ | <tr><td class="infoboximage" colspan="2">{{#ifexist: File:{{{HasImage2|}}}|[[File:{{{HasImage2|}}}|100px|link=]]|No image uploaded yet.}}<br> | ||
+ | <hr> | ||
+ | {{{HasImageDescription2|}}} | ||
+ | </td></tr> | ||
+ | </table> | ||
+ | </div>}}</div> | ||
+ | {{{HasArticleText|}}} | ||
<div class="hidden"> | <div class="hidden"> | ||
+ | [[HasImageDescription::{{{HasImageDescription|}}}]] | ||
+ | [[HasImageDescription2::{{{HasImageDescription2|}}}]] | ||
+ | [[HasImage::{{{HasImage|}}}]] | ||
+ | [[HasImage2::{{{HasImage2|}}}]] | ||
+ | [[HasImageTitle::{{{HasImageTitle|}}}]] | ||
+ | [[HasImageTitle2::{{{HasImageTitle2|}}}]] | ||
[[HasSummary::{{{HasSummary|}}}]]<!--[[HasSummaryFeatured::{{{HasSummary|}}}]]--> | [[HasSummary::{{{HasSummary|}}}]]<!--[[HasSummaryFeatured::{{{HasSummary|}}}]]--> | ||
[[HasArticleDate::{{{HasArticleDate|}}}]] | [[HasArticleDate::{{{HasArticleDate|}}}]] |
Revision as of 10:48, 4 April 2014
Template 'Article'. Fields:
{{Article |HasSummary= |HasArticleText= |HasImage= |HasImageTitle= |HasImageDescription= |HasArticleDate= |HasAuthor= }}
Click edit to see the template contents.