Difference between revisions of "Template:TattleBug"
Jump to navigation
Jump to search
m (fixing a c/p blunder) |
m (made bug number optional, so I can report new things without needing a bug tracker number) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly><table border="0" cellspacing="0" cellpadding="2" style="width: 100%; float: right; margin: 1px 1px 1px 1px; border-right: 2px solid {{:Template:TattleRight/{{{color|green}}}/outline}}; border-left: 2px solid {{:Template:TattleRight/{{{color|green}}}/outline}}; border-bottom: 2px solid {{:Template:TattleRight/{{{color|green}}}/outline}}; border-top: 2px solid {{:Template:TattleRight/{{{color|green}}}/outline}};"> |
− | <table border="0" cellspacing="0" cellpadding="2" style="width: 100%; float: right; margin: 1px 1px 1px 1px; border-right: 2px solid {{:Template:TattleRight/{{{color|green}}}/outline}}; border-left: 2px solid {{:Template:TattleRight/{{{color|green}}}/outline}}; border-bottom: 2px solid {{:Template:TattleRight/{{{color|green}}}/outline}}; border-top: 2px solid {{:Template:TattleRight/{{{color|green}}}/outline}};"> | + | <tr><td bgcolor="{{:Template:TattleRight/{{{color|green}}}/dark}}" width="100%" style="text-align: left; font-weight: bold; border-bottom: 1px solid {{:Template:TattleRight/{{{color|green}}}/outline}}; padding-left: 1%; padding-right: 1%;">{{{date}}}</td></tr> |
− | <tr> | + | <tr><td bgcolor="{{:Template:TattleRight/{{{color|green}}}/light}}" width="100%" style="text-align: left; padding-left: 1%; padding-right: 1%;">{{#if: {{{bug|}}} | [http://bugs.battlemaster.org/view.php?id={{{bug}}} Bug {{{bug}}}]|}} {{{article}}}</td></tr></table></includeonly> |
− | <td bgcolor="{{:Template:TattleRight/{{{color|green}}}/dark}}" width="100%" style="text-align: left; font-weight: bold; border-bottom: 1px solid {{:Template:TattleRight/{{{color|green}}}/outline}}; padding-left: 1%; padding-right: 1%;">{{{date}}}</td> | ||
− | </tr> | ||
− | <tr> | ||
− | <td bgcolor="{{:Template:TattleRight/{{{color|green}}}/light}}" width="100%" style="text-align: left; padding-left: 1%; padding-right: 1%;">[http://bugs.battlemaster.org/view.php?id={{{bug}}} Bug {{{bug}}}] {{{article}}}</td> | ||
− | </tr> | ||
− | </table> | ||
− | </includeonly> | ||
<noinclude> | <noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
Line 40: | Line 33: | ||
|bug = 123456 | |bug = 123456 | ||
|article = Militia has been demanding quadruple pay.}} | |article = Militia has been demanding quadruple pay.}} | ||
+ | [[Category:TattleMaster]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:19, 7 October 2009
Usage
{{TattleBug |date = |bug = |article = |color = }}
- date: Written as January 11, 2007
- bug: The bugtracker bug number.
- article: The body of the article.
- color: The color to use. Valid values are: (capitalization counts)
- green (default, if no color specified)
- blue
- orange
- red
Subpages
This templates uses the color subpages from Template:TattleRight automatically.
Example
July 10, 2007 |
Bug 123456 Militia no longer demands quadruple pay. |
July 9, 2007 |
Bug 123456 Militia has been demanding quadruple pay. |