IBWiki:Templates/News templates
News templates
The "news templates" are a set of templates that take care of the formatting of pages containing individual news items and facilitate linking to Padraic's corresponding news pages.
There are six of these templates:
- {{News}} is used for "normal" news items, i.e. containing one header.
- {{News1}} is identical to #1, but without the line at the bottom.
- {{News2}}, {{News3}} and {{News4}} are used for news items with multiple (two, three resp. four) headers.
- {{News Jan}} points to Jan's news pages instead of to Padraic's.
Here are two examples of how they are used:
Name | Parameters | Usage | Example |
---|---|---|---|
{{News}} |
1 - the name of the page in question. Padraic always uses something like "news2006a.htm" for those pages. The template knows the stable parts of the link, so all you need to write is 2006a. |
{{News|2006a|20060107|ILL SUL, January 7 - Elections in Kemr | CASTRELEON - Yesterday the toiseag announced new elections for the ... }} |
edit ILL SUL, January 7 - Elections in Kemr
|
{{News2}} |
1 and 2 - as above. |
{{News2|2006a|20060107|ILL SUL, January 7|Header 1|Text 1|Header 2|Text 2 }} |
edit ILL SUL, January 7
|