Difference between revisions of "Template:DDNews2"
Jump to navigation
Jump to search
m (*sigh* more changes) |
m (vertical alignment, removing extra spacing) |
||
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: 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="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;"><table width="100%" border="0" cellspacing="0"><tr><td width="50%" valign="top" style="padding-right: 8px; border-right: 1px solid #DDDDDD; text-align: justify;">{{{article}}}</td><td width="50%" valign="top" style="padding-left: 8px; border-left: 1px solid #DDDDDD; text-align: justify;">{{{article_right}}}</td></tr></table></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><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}}}]] ''</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></includeonly> |
− | <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;"><table width="100%" border="0" cellspacing="0"><tr><td width="50%" style="padding-right: 8px; border-right: 1px solid #DDDDDD; text-align: justify;">{{{article}}}</td><td width="50%" style="padding-left: 8px; border-left: 1px solid #DDDDDD; text-align: justify;">{{{article_right}}}</td></tr></table></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> | ||
− | <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}}}]] ''</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> | ||
− | </includeonly> | ||
<noinclude> | <noinclude> | ||
__NOTOC__ | __NOTOC__ |
Revision as of 21:51, 12 October 2007
Usage
All parameters, vertical format
{{DDNews2 |month = |day = |year = |title = |article = |article_right = |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 text for the left column, to separate paragraphs use <br><br>.
- article_right text for the right column, to separate paragraphs 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.
- realm The full name of the realm. Used to get the realm icon. Capitalization counts!
Example
Test article | October 12, 2007 | |||
| ||||
Comment on this story. | by Danost Indirik |