Difference between revisions of "Template:DDNews"

From BattleMaster Wiki
Jump to navigation Jump to search
m (first test)
 
m (typo)
Line 1: Line 1:
<includeonly><table width="100%" style="background-color: #FFFFFF; margin-bottom: 24px" cellspacing="0"><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"><div style="font-size:160%; float:left; width: 80%">{{{title}}}</div><div style="font-size:87%; width: 20%; text-align: right; float:right">{{{date}}}</div></td></tr><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%; text-align: right; padding-right: 20px; border-right: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD;">''by [[Dwilight Daily/Writers|{{{author}}}]]'', [[Image:{{{Icon}}}]]</td></tr></table>
+
<includeonly><table width="100%" style="background-color: #FFFFFF; margin-bottom: 24px" cellspacing="0"><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"><div style="font-size:160%; float:left; width: 80%">{{{title}}}</div><div style="font-size:87%; width: 20%; text-align: right; float:right">{{{date}}}</div></td></tr><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%; text-align: right; padding-right: 20px; border-right: 1px solid #DDDDDD; border-left: 1px solid #DDDDDD; border-bottom: 1px solid #DDDDDD;">''by [[Dwilight Daily/Writers|{{{author}}}]]'', [[Image:{{{icon}}}]]</td></tr></table>
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
__NOTOC__
 
__NOTOC__
Line 19: Line 19:
  
 
== Example ==
 
== Example ==
{{DDArticle
+
{{DDNews
 
|date = September 6, 2007
 
|date = September 6, 2007
 
|title = Test article
 
|title = Test article

Revision as of 18:43, 6 September 2007


Usage

All parameters, vertical format

{{DDNews
|date = 
|title = 
|article = 
|author = 
|icon = 
}}
  • date is conventionally written as January 11th, month preceding date.
  • 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. A link will be made back to the DD Writer's page. You should put a link on the Writers page with your name, family name, and a link back to your realm.
  • 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.

Based largely on the Atamaran Advocate's templates.

Example

Test article
September 6, 2007
This is a test article. Bloggity, bloggity, blog.
by Danost Indirik, Pains Icon Indirik.png