Difference between revisions of "Template:DDNews"

From BattleMaster Wiki
Jump to navigation Jump to search
m (Trying to get rid of that annoying space...)
m (Did this work...?)
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">{{{month}}} {{{day}}}, {{{year|2007}}}</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%; 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>
+
<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">{{{month}}} {{{day}}}, {{{year|2007}}}</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%; 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}}}]]''  {{{realm}}}</div></td></tr></table></includeonly><noinclude>
 
__NOTOC__
 
__NOTOC__
 
== Usage ==
 
== Usage ==
Line 10: Line 10:
 
|article =  
 
|article =  
 
|author =  
 
|author =  
|icon =
+
|realm = The full name of the realm. Used to get the  realm icon. Capitalization counts!
 
}}</pre>
 
}}</pre>
 
*'''month''' is the month in which the article appears
 
*'''month''' is the month in which the article appears
Line 19: Line 19:
 
*'''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. 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.
 
*'''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.
 
*'''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.
+
===Realm Icon Subpages===
 +
* [[Template:DDNews/DD_OOC]]
 +
* [[Template:DDNews/Madina]]
 +
* [[Template:DDNews/Morek]]
 +
* [[Template:DDNews/Pian en Luries]]
 +
* [[Template:DDNews/Springdale]]
 +
 
 +
''Based loosely on the [[Atamaran Advocate]]'s templates.
  
 
== Example ==
 
== Example ==
Line 26: Line 33:
 
|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
 +
|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
 
|author = Danost Indirik
|icon = Pains Icon Indirik.png
+
|realm = Morek
 
}}
 
}}
</noinclude>
+
{{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
 +
}}</noinclude>

Revision as of 02:05, 12 October 2007


Usage

All parameters, vertical format

{{DDNews
|month = 
|day =
|year = 
|title = 
|article = 
|author = 
|realm = The full name of the realm. Used to get the  realm icon. Capitalization counts!
}}
  • 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. 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.

Realm Icon Subpages

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.
by Danost Indirik DD_OOC
Madina Test
October 11, 2007
This is a test article for Madina articles. Bloggity, bloggity, blog.
by Danost Indirik Madina
Morek Test
October 11, 2007
This is a test article for Morek articles. Bloggity, bloggity, blog.
Test article for Pian en Luries
October 11, 2007
This is a test article for Pian en Luries aricles. Bloggity, bloggity, blog.
by Danost Indirik Pian en Luries
Test article for Springdale
October 11, 2007
This is a test article for Springdale articles. Bloggity, bloggity, blog.
by Danost Indirik Springdale