Difference between revisions of "Template:DDNews"

From BattleMaster Wiki
Jump to navigation Jump to search
m (added day to the talk links)
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly><table width="100%" style="background-color: #FFFFFF; margin-bottom: 5px" cellspacing="0">
<table width="100%" style="background-color: #FFFFFF; margin-bottom: 24px" 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="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 style="font-weight: bold; padding: 10px 6px 10px 12px; border-top: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; border-bottom: 0px none #DDDDDD; background-color: #FBFBFC">
+
<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>
<div style="font-size:160%; float:left; width: 80%">{{{title}}}</div><div style="font-size:87%; width: 20%; text-align: right; float:right">{{{month}}} {{{day}}}, {{{year|2007}}}</div>
+
<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>
+
<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>
</tr>
+
<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>
<tr>
 
<td width="100%" style="border-left: 1px solid #DDDDDD; border-right: 1px solid #DDDDDD; padding: 2px 4px 2px 4px; ">
 
<div align="justify">{{{article}}}</div>
 
</td>
 
</tr>
 
<tr>
 
<td style="font-size: 90%; padding-left: 2px; border-right: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD;"><div style="font-size:87%; float:left; width: 80%">[[Talk:Dwilight Daily/{{{year}}}/{{{month}}}/{{{day}}}|Comment on this story.]]</div><div style="font-size:87%; width: 20%; text-align: right; float:right">''by [[Dwilight Daily/Writers|{{{author}}}]]'', [[Image:{{{icon}}}]]</div>
 
</td>
 
</tr>
 
</table>
 
</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 27: Line 19:
 
|article =  
 
|article =  
 
|author =  
 
|author =  
|icon =  
+
|realm =  
 
}}</pre>
 
}}</pre>
*'''month''' is the month in which the article appears
+
*'''month''' is the month in which the article appears.
 
*'''day''' is the day of the month on 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
 
*'''year''' is the year in which the article appears
 
*'''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.
*'''icon''' The file name of your realm's icon. Only the file name, not the "Image:" part. If your realm does not have an icon uploaded yet, you will need to upload one, or have someone else do it for you.
+
*'''realm''' The full name of the realm. Used to get the realm icon. Capitalization counts!
''Based largely on the [[Atamaran Advocate]]'s templates.
+
===Realm Icon Subpages===
 +
'''Existing Realms'''
 +
* [[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/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.
  
 
== Example ==
 
== Example ==
Line 43: Line 72:
 
|day = 11
 
|day = 11
 
|year = 2007
 
|year = 2007
|title = Test article
+
|title = OOC Test
|article = This is a test article. Bloggity, bloggity, blog.
+
|article = This is a test article for OOC stuff. Bloggity, bloggity, blog.
 
|author = Danost Indirik
 
|author = Danost Indirik
|icon = Pains Icon Indirik.png
+
|realm = DD_OOC
 +
}}
 +
{{DDNews
 +
|month = October
 +
|day = 11
 +
|year = 2007
 +
|title = Madina Test
 +
|article = This is a test article for Madina articles. Bloggity, bloggity, blog.
 +
|author = Danost Indirik
 +
|realm = Madina
 +
}}
 +
{{DDNews
 +
|month = October
 +
|day = 11
 +
|year = 2007
 +
|title = Morek Test
 +
|article = This is a test article for Morek articles. Bloggity, bloggity, blog.
 +
|author = Danost Indirik
 +
|realm = Morek
 +
}}
 +
{{DDNews
 +
|month = October
 +
|day = 11
 +
|year = 2007
 +
|title = Test article for Pian en Luries
 +
|article = This is a test article for Pian en Luries aricles. Bloggity, bloggity, blog.
 +
|author = Danost Indirik
 +
|realm = Pian en Luries
 +
}}
 +
{{DDNews
 +
|month = October
 +
|day = 11
 +
|year = 2007
 +
|title = Test article for Springdale
 +
|article = This is a test article for Springdale articles. Bloggity, bloggity, blog.
 +
|author = Danost Indirik
 +
|realm = Springdale
 +
}}
 +
{{DDNews
 +
|month = October
 +
|day = 12
 +
|year = 2007
 +
|title = Testing defaults
 +
|article = I wrote this article to test for defaults. Let's pray it works....
 
}}
 
}}
</noinclude>
+
[[Category:Dwilight Daily|Template:DDNews1]]</noinclude>

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