Difference between revisions of "Template:TattleBug"

From BattleMaster Wiki
Jump to navigation Jump to search
m (removed line breaks)
m (made bug number optional, so I can report new things without needing a bug tracker number)
 
Line 1: Line 1:
 
<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}};">
 
<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}};">
 
<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><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>
+
<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>
 
<noinclude>
 
<noinclude>
 
__NOTOC__
 
__NOTOC__

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.