Difference between revisions of "Template:News"

From DDwiki
Jump to: navigation, search
m (Testing alignment)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| width=290px style="font-family: verdana; padding: 6px; margin: 0 0 1em 1em; font-size: 10px;  color:black; border:1px solid; float:{{{align|right}}};"
+
<includeonly>
 +
{|
 +
{| style="background:transparent" align ="right"
 +
|valign=center|
 +
|<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent">
 +
|-
 +
|}
 +
{| width=290px style="font-family: verdana; padding: 6px; margin: 0 0 1em 1em; font-size: 10px;  color:black; border:1px solid; float:{{{align|right}}};"
 
|-
 
|-
 
| style="background-color: #CCCCFF" ; align="center" |<font size="2">'''''Recent News'''''</font>
 
| style="background-color: #CCCCFF" ; align="center" |<font size="2">'''''Recent News'''''</font>
 +
|-
 +
| style="border-bottom: 1px solid black;" |'''7 November, 2013'''
 +
|-
 +
| [http://store.steampowered.com/app/226620 ''Desktop Dungeons'' Now available on Steam!]
 +
|-
 +
| style="border-bottom: 1px solid black;" |'''1 June, 2011'''
 +
|-
 +
| [http://www.desktopdungeons.net/?p=39 ''Desktop Dungeons'' Launches a new site, pre-orders available!]
 
|-  
 
|-  
 
| style="border-bottom: 1px solid black;" |'''7 March, 2011'''
 
| style="border-bottom: 1px solid black;" |'''7 March, 2011'''
Line 11: Line 26:
 
| [http://www.qcfdesign.com/?p=423 ''Desktop Dungeons'' Released on Mac ]
 
| [http://www.qcfdesign.com/?p=423 ''Desktop Dungeons'' Released on Mac ]
 
|-
 
|-
 +
|}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  
Line 36: Line 52:
 
===Example Output===
 
===Example Output===
 
{{News}}
 
{{News}}
 +
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:06, 9 November 2013



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

Recent News
7 November, 2013
Desktop Dungeons Now available on Steam!
1 June, 2011
Desktop Dungeons Launches a new site, pre-orders available!
7 March, 2011
Desktop Dungeons Wins Excellence in Design at IGF
3 February, 2011
Desktop Dungeons Released on Mac