Difference between revisions of "Template:Article"

From Civicwiki
Jump to: navigation, search
m
Line 12: Line 12:
 
</pre>
 
</pre>
 
Click edit to see the template contents.
 
Click edit to see the template contents.
</noinclude><includeonly>
+
</noinclude><includeonly>{{#if:{{{HasImageTitle|}}}|
 
<div class="infoboxright">
 
<div class="infoboxright">
 
<table width="240px" border="0" cellpadding="5"><tr>
 
<table width="240px" border="0" cellpadding="5"><tr>
Line 21: Line 21:
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
</div>
+
</div>}}{{#if:{{{HasImageTitle2|}}}|
 +
<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>}}
 
{{{HasArticleText|}}}
 
{{{HasArticleText|}}}
 
<div class="hidden">
 
<div class="hidden">

Revision as of 07:02, 27 January 2014

Template 'Article'. Fields:

{{Article
|HasSummary=
|HasArticleText=
|HasImage=
|HasImageTitle=
|HasImageDescription=
|HasArticleDate=
|HasAuthor=
}}

Click edit to see the template contents.