Difference between revisions of "Template:DDNews"

From BattleMaster Wiki
Jump to navigation Jump to search
m
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><table width="100%" style="background-color: #FFFFFF; margin-bottom: 24px" cellspacing="0">
+
<includeonly><table width="100%" style="background-color: #FFFFFF; margin-bottom: 5px" cellspacing="0">
 
<tr><td width="70%" style="font-weight: bold; padding: 4px 4px 4px 4px; border-top: 1px solid #DDDDDD; border-right: 0px none #DDDDDD; border-left: 1px solid #DDDDDD; border-bottom: 0px none #DDDDDD; background-color: #FBFBFC; font-size:160%;">{{{title}}}</td>
 
<tr><td width="70%" style="font-weight: bold; padding: 4px 4px 4px 4px; border-top: 1px solid #DDDDDD; border-right: 0px none #DDDDDD; border-left: 1px solid #DDDDDD; border-bottom: 0px none #DDDDDD; background-color: #FBFBFC; font-size:160%;">{{{title}}}</td>
 
<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:Dwilight Daily/{{{year}}}/{{{month}}}/{{{day}}}|Comment on this story.]]</td>
+
<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 [[Dwilight Daily/Writers|{{{author|Anonymous}}}]]&nbsp;''</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}}}&nbsp;''</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:Dwilight Daily|{{{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>
 
__NOTOC__
 
__NOTOC__
 +
==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 ==
 
== Usage ==
 
'''All parameters, vertical format'''
 
'''All parameters, vertical format'''
Line 23: Line 26:
 
*'''title''' should be concise and fitting into one line
 
*'''title''' should be concise and fitting into one line
 
*'''article''' to separate lines, remember to use <nowiki><br><br></nowiki>.
 
*'''article''' to separate lines, remember to use <nowiki><br><br></nowiki>.
*'''author''' Use the name of the character that is doing the reporting. A link will be made back to the DD Writer's page. You should put a link on the [[Dwilight Daily/Writers|Writers]] page with your name, family name, and a link back to your realm.
+
*'''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''' The full name of the realm. Used to get the  realm icon. Capitalization counts!
 
===Realm Icon Subpages===
 
===Realm Icon Subpages===
* [[Template:DDNews/DD_OOC]]
+
'''Existing Realms'''
* [[Template:DDNews/Anonymous]]
 
 
* [[Template:DDNews/Madina]]
 
* [[Template:DDNews/Madina]]
 +
* [[Template:DDNews/Pian en Luries]]
 +
* [[Template:DDNews/Grand Duchy of Fissoa]]
 +
* [[Template:DDNews/Astrum]]
 +
* [[Template:DDNews/Summerdale]]
 +
* [[Template:DDNews/Barca]]
 +
* [[Template:DDNews/Corsanctum]]
 +
* [[Template:DDNews/Dhara]]
 +
* [[Template:DDNews/Iashalur]]
 +
* [[Template:DDNews/Kabrinskia]]
 +
* [[Template:DDNews/Libero]]
 +
* [[Template:DDNews/LuriaNova]]
 +
* [[Template:DDNews/Solaria]]
 +
* [[Template:DDNews/Asylon]]
 +
* [[Template:DDNews/Morek]]
 +
 +
'''Former Realms'''
 
* [[Template:DDNews/Morek]]
 
* [[Template:DDNews/Morek]]
* [[Template:DDNews/Pian en Luries]]
 
 
* [[Template:DDNews/Springdale]]
 
* [[Template:DDNews/Springdale]]
 +
* [[Template:DDNews/Everguard]]
 +
* [[Template:DDNews/Caerwyn]]
 +
* [[Template:DDNews/Shadovar]]
 +
* [[Template:DDNews/Melodia]]
 +
* [[Template:DDNews/Viridian]]
 +
* [[Template:DDNews/Virovene]]
 +
 +
<br><br>
 +
 +
* [[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.
 
''Based loosely on the [[Atamaran Advocate]]'s templates.

Latest revision as of 01:55, 11 January 2012


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

Existing Realms

Former Realms



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