Template:DDNews: Difference between revisions
mNo edit summary |
m (modified talk page link) |
||
Line 3: | Line 3: | ||
<td width="30%" colspan="2" style="font-size:87%; text-align: right; padding: 4px 4px 4px 4px; border-top: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; border-left: 0px none #DDDDDD; border-bottom: 0px none #DDDDDD;">{{{month}}} {{{day}}}, {{{year}}}</td></tr> | <td width="30%" colspan="2" style="font-size:87%; text-align: right; padding: 4px 4px 4px 4px; border-top: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; border-left: 0px none #DDDDDD; border-bottom: 0px none #DDDDDD;">{{{month}}} {{{day}}}, {{{year}}}</td></tr> | ||
<tr><td colspan="3" width="100%" style="border-left: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; padding: 4px 4px 4px 4px; text-align: justify;">{{{article}}}</td></tr> | <tr><td colspan="3" width="100%" style="border-left: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; padding: 4px 4px 4px 4px; text-align: justify;">{{{article}}}</td></tr> | ||
<tr><td width="70%" style="font-size: 90%; padding-left: 4px; border-right: 0px none #DDDDDD; border-left: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; font-size:87%; text-align: left;">[[Talk: | <tr><td width="70%" style="font-size: 90%; padding-left: 4px; border-right: 0px none #DDDDDD; border-left: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD; font-size:87%; text-align: left;">[[Talk:{{#titleparts: {{PAGENAME}} | 1 | 1 }}/{{{year}}}/{{{month}}}/{{{day}}}|Comment on this story.]]</td> | ||
<td align="right" width="29%" style="font-size:87%; text-align: right; border-right: 0px none #DDDDDD; border-left: 0px none #DDDDDD; border-bottom: 1px solid #DDDDDD;">''by {{{author|Anonymous}}} ''</td> | <td align="right" width="29%" style="font-size:87%; text-align: right; border-right: 0px none #DDDDDD; border-left: 0px none #DDDDDD; border-bottom: 1px solid #DDDDDD;">''by {{{author|Anonymous}}} ''</td> | ||
<td align="right" width="1%" style="padding-right: 4px; font-size:87%; text-align: right; border-right: 1px solid #DDDDDD; border-left: 0px none #DDDDDD; border-bottom: 1px solid #DDDDDD;">{{:Template:DDNews/{{{realm|Anonymous}}}}}</td></tr></table>[[Category:{{#titleparts: {{PAGENAME}} | 1 | 1 }}|{{{year}}}/{{Numerical Months/{{{month}}}}}]]</includeonly><noinclude> | <td align="right" width="1%" style="padding-right: 4px; font-size:87%; text-align: right; border-right: 1px solid #DDDDDD; border-left: 0px none #DDDDDD; border-bottom: 1px solid #DDDDDD;">{{:Template:DDNews/{{{realm|Anonymous}}}}}</td></tr></table>[[Category:{{#titleparts: {{PAGENAME}} | 1 | 1 }}|{{{year}}}/{{Numerical Months/{{{month}}}}}]]</includeonly><noinclude> |
Revision as of 20:27, 25 June 2009
Intro
This template is designed to provide a main news article for newspapers. Originally designed for the Dwilight Daily, it has since been used by a few other Dwilight papers. As a result, it has been slightly modified to make it a bit more generic. In particular, the template now automatically takes the base page name, which should be the name of the newspaper, and puts the page into the category for it.
Usage
All parameters, vertical format
{{DDNews |month = |day = |year = |title = |article = |author = |realm = }}
- month is the month in which the article appears.
- day is the day of the month on which the article appears
- year is the year in which the article appears
- title should be concise and fitting into one line
- article to separate lines, remember to use <br><br>.
- author Use the name of the character that is doing the reporting.
- realm The full name of the realm. Used to get the realm icon. Capitalization counts!
Realm Icon Subpages
- Template:DDNews/Madina
- Template:DDNews/Morek
- Template:DDNews/Pian en Luries
- Template:DDNews/Springdale
- Template:DDNews/Everguard
- Template:DDNews/Grand Duchy of Fissoa
- Template:DDNews/Caerwyn
- Template:DDNews/Shadovar
- Template:DDNews/Melodia
- Template:DDNews/Astrum
- Template:DDNews/Viridian
- Template:DDNews/Virovene
- Template:DDNews/red - Plain red shield, I have no idea what this could be used for, but I made it, so here it is. (Rebellions, mostly.)
- Template:DDNews/Anonymous - Plain black shield for anonymous articles
- Template:DDNews/New
- Template:DDNews/Rogue
- Template:DDNews/DD_OOC - Micro DD logo for OOC news
- Template:DDNews/blank - Blank image, use this when you don't want any image displayed (used primarily with Template:DDTicker
Based loosely on the Atamaran Advocate's templates.
Example
OOC Test | October 11, 2007 | |
This is a test article for OOC stuff. Bloggity, bloggity, blog. | ||
Comment on this story. | by Danost Indirik |
Madina Test | October 11, 2007 | |
This is a test article for Madina articles. Bloggity, bloggity, blog. | ||
Comment on this story. | by Danost Indirik |
Morek Test | October 11, 2007 | |
This is a test article for Morek articles. Bloggity, bloggity, blog. | ||
Comment on this story. | by Danost Indirik |
Test article for Pian en Luries | October 11, 2007 | |
This is a test article for Pian en Luries aricles. Bloggity, bloggity, blog. | ||
Comment on this story. | by Danost Indirik |
Test article for Springdale | October 11, 2007 | |
This is a test article for Springdale articles. Bloggity, bloggity, blog. | ||
Comment on this story. | by Danost Indirik |
Testing defaults | October 12, 2007 | |
I wrote this article to test for defaults. Let's pray it works.... | ||
Comment on this story. | by Anonymous |