Difference between revisions of "Template:TattleRight"

From BattleMaster Wiki
Jump to navigation Jump to search
m
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 #20AC16; border-left: 2px solid #20AC16; border-bottom: 2px solid #20AC16; border-top: 2px solid #20AC16;">
+
<table border="0" cellspacing="0" cellpadding="2" style="width: 100%; float: right; margin: 1px 1px 1px 1px; border-right: 2px solid {{{outline}}}; border-left: 2px solid {{{outline}}}; border-bottom: 2px solid {{{outline}}}; border-top: 2px solid {{{outline}}};">
 
<tr>
 
<tr>
<td bgcolor="#D6FFC6" width="100%" style="text-align: left; font-weight: bold; border-bottom: 1px solid #20AC16; padding-left: 1%;">{{{date}}}</td>
+
<td bgcolor="{{{darkfill}}}" width="100%" style="text-align: left; font-weight: bold; border-bottom: 1px solid {{{outline}}}; padding-left: 1%;">{{{date}}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td bgcolor="#E5FFDC" width="100%" style="text-align: left; padding-left: 1%">{{{article}}}</td>
+
<td bgcolor="{{{lightfill}}}" width="100%" style="text-align: left; padding-left: 1%">{{{article}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 15: Line 15:
 
|date =  
 
|date =  
 
|article =  
 
|article =  
 +
|outline =
 +
|darkfill=
 +
|lightfill=
 
}}</pre>
 
}}</pre>
 
*'''date''': Written as ''January 11, 2007''
 
*'''date''': Written as ''January 11, 2007''
 
*'''article''': The body of the article.
 
*'''article''': The body of the article.
 +
*'''outline''': The outline color.
 +
** #20AC16 -- Green
 +
** #D9720E -- Orange
 +
*'''darkfill''': The darker header color
 +
** #D6FFC6 -- Green
 +
** #D98B2F -- Orange
 +
*'''lightfill''': The lighter article color
 +
** #E5FFDC -- Green
 +
** #D9B683 -- Orange
  
 
== Example ==
 
== Example ==
 
{{TattleRight
 
{{TattleRight
 +
|outline=#20ac16
 +
|darkfill=#D6ffc6
 +
|lightfill=#e5ffdc
 
|date = July 10, 2007
 
|date = July 10, 2007
|article = Bug #000777 has been fixed, and is active on testing islands.}}
+
|article = Bug #123456 has been fixed, and is active on testing islands.}}
 
{{TattleRight
 
{{TattleRight
 
|date = July 9, 2007
 
|date = July 9, 2007
|article = The new tax system is active on testing islands."}}
+
|outline=#d9720e
 +
|darkfill=#d98b2f
 +
|lightfill=#d9b683
 +
|article = Militia has been demanding quadruple pay. Reported as Bug #123456."}}
 
</noinclude>
 
</noinclude>

Revision as of 19:57, 10 July 2007


Usage

{{TattleRight
|date = 
|article = 
|outline =
|darkfill=
|lightfill=
}}
  • date: Written as January 11, 2007
  • article: The body of the article.
  • outline: The outline color.
    • #20AC16 -- Green
    • #D9720E -- Orange
  • darkfill: The darker header color
    • #D6FFC6 -- Green
    • #D98B2F -- Orange
  • lightfill: The lighter article color
    • #E5FFDC -- Green
    • #D9B683 -- Orange

Example

July 10, 2007
Bug #123456 has been fixed, and is active on testing islands.


July 9, 2007
Militia has been demanding quadruple pay. Reported as Bug #123456."