Difference between revisions of "Template:Software/NewsHeader"

From SoftMC-Wiki
Jump to: navigation, search
(changed to xhtml table style)
Line 1: Line 1:
 
<includeonly>== {{{1}}} ==
 
<includeonly>== {{{1}}} ==
{| width=100% border=1 cellspacing=0 cellpadding=3  
+
<table width="100%" border="1" cellspacing="0" cellpadding="3">
!width=90 | '''Date'''<!--
+
<tr>
-->{{#if:{{{3|}}}|<br/>
+
<th width="90">Date</th>
!{{{3}}}}}<!--
+
{{#if:{{{3|}}}|{{{3}}}}}
-->{{#if:{{{4|}}}|<br/>
+
{{#if:{{{4|}}}|{{{4}}}}}
!{{{4}}}}}
+
<th>Description</th>
!Description
+
<th width="250">Link</th>
!width=250 | Link
+
</tr>
 
{{{2}}}
 
{{{2}}}
|}</includeonly><!--  
+
</table></includeonly><!--  
  
  

Revision as of 10:37, 23 November 2010

Header for a news block, used in software release pages.

Template

{{Software/NewsHeader|month|
contents
}}

Parameters

month
The month and the year of the news block.
contents
News entries, which require the {{Software/News}} template.

Examples

{{Software/NewsHeader|October 2010|
{{Software/News|2010-10-04|aico.control 1.5.0 released|[[/1.5.0|aico.control 1.5.0 release page]]}}
{{Software/News|2010-10-12|next news topic|[[link]]}}
}}

For more examples refer to pages, which use this template: What links here.

Help:Templates describes general usage of templates, including treatment of special characters.