Difference between revisions of "Template:News"
From DDwiki
(Creating News Template for the front page) |
m (Updating template with documentation) |
||
Line 1: | Line 1: | ||
− | {| | + | <includeonly>{| |
{| style="background:transparent" align ="right" | {| style="background:transparent" align ="right" | ||
|valign=center| | |valign=center| | ||
Line 17: | Line 17: | ||
| [http://www.qcfdesign.com/?p=423 ''Desktop Dungeons'' Released on Mac ] | | [http://www.qcfdesign.com/?p=423 ''Desktop Dungeons'' Released on Mac ] | ||
|- | |- | ||
− | |} | + | |}</includeonly><noinclude> |
+ | |||
+ | <!-- Example code usage not including in viewable template --> | ||
+ | |||
+ | |||
+ | ===Overview=== | ||
+ | This template is intended for display on the front page to provide a quick overview of recent event with the game Desktop Dungeons. When adding new items simply copy the section appearing as: | ||
+ | |||
+ | <pre><nowiki> | ||
+ | |- | ||
+ | | style="border-bottom: 1px solid black;" |'''Date''' | ||
+ | |- | ||
+ | | [http://linkgoes.here Short description of the news blurb] | ||
+ | </nowiki></pre> | ||
+ | |||
+ | and paste it above the last news item, possibly trimming off the oldest if the list is too long. | ||
+ | |||
+ | ===Usage=== | ||
+ | <pre><nowiki> | ||
+ | {{News}} | ||
+ | </nowiki></pre> | ||
+ | |||
+ | <!-- Display a sample on of usage --> | ||
+ | ===Example Output=== | ||
+ | {{News}} | ||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Revision as of 22:29, 9 March 2011
Overview
This template is intended for display on the front page to provide a quick overview of recent event with the game Desktop Dungeons. When adding new items simply copy the section appearing as:
|- | style="border-bottom: 1px solid black;" |'''Date''' |- | [http://linkgoes.here Short description of the news blurb]
and paste it above the last news item, possibly trimming off the oldest if the list is too long.
Usage
{{News}}
Example Output
| ||||||||||||