Difference between revisions of "Template:TattleRight"

From BattleMaster Wiki
Jump to navigation Jump to search
m (moved category)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<table border="0" style="width: 100%; float: right; margin: 1px 1px 1px 1px; Padding: 5px 5px 5px 5px; border-right: 1px solid #20AC16; border-left: 1px solid #20AC16; border-bottom: 1px solid #20AC16; border-top: 1px solid #20AC16; background-color: #C2FFB1">
+
<table border="0" cellspacing="0" cellpadding="2" style="width: 100%; float: right; margin: 1px 1px 1px 1px; border-right: 2px solid {{TattleRight/{{{color|green}}}/outline}}; border-left: 2px solid {{TattleRight/{{{color|green}}}/outline}}; border-bottom: 2px solid {{TattleRight/{{{color|green}}}/outline}}; border-top: 2px solid {{TattleRight/{{{color|green}}}/outline}};">
 
<tr>
 
<tr>
<td width="100%" style="text-align: Left;"><b>{{{date}}}</b></td>
+
<td bgcolor="{{TattleRight/{{{color|green}}}/dark}}" width="100%" style="text-align: left; font-weight: bold; border-bottom: 1px solid {{TattleRight/{{{color|green}}}/outline}}; padding-left: 1%; padding-right: 1%;">{{{date}}}</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td width="100%" style="text-align: Left;">{{{article}}}</td>
+
<td bgcolor="{{TattleRight/{{{color|green}}}/light}}" width="100%" style="text-align: left; padding-left: 1%; padding-right: 1%;">{{{article}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
Line 12: Line 12:
 
__NOTOC__
 
__NOTOC__
 
== Usage ==
 
== Usage ==
<pre>{{RampantRight
+
<pre>{{TattleRight
 
|date =  
 
|date =  
 
|article =  
 
|article =  
 +
|color =
 
}}</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.
 +
*'''color''': The color to use. Valid values are: ''(capitalization counts)''
 +
** green ''(default, if no color specified)''
 +
** blue
 +
** orange
 +
** red
 +
 +
==Subpages==
 +
This templates uses the following subpages automatically, you don't need to worry about them. They are listed here for convenience of the template author only.
 +
 +
*[[Template:TattleRight/green/outline]]
 +
*[[Template:TattleRight/green/dark]]
 +
*[[Template:TattleRight/green/light]]
 +
*[[Template:TattleRight/blue/outline]]
 +
*[[Template:TattleRight/blue/dark]]
 +
*[[Template:TattleRight/blue/light]]
 +
*[[Template:TattleRight/red/outline]]
 +
*[[Template:TattleRight/red/dark]]
 +
*[[Template:TattleRight/red/light]]
 +
*[[Template:TattleRight/orange/outline]]
 +
*[[Template:TattleRight/orange/dark]]
 +
*[[Template:TattleRight/orange/light]]
 +
 +
Many thanks to [[User:Chénier]] for the awesome template ideas!
  
 
== Example ==
 
== Example ==
 
{{TattleRight
 
{{TattleRight
 
|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."}}
+
|color=red
 +
|article = Militia has been demanding quadruple pay. Reported as Bug #123456."}}
 +
[[Category:TattleMaster]]
 
</noinclude>
 
</noinclude>

Latest revision as of 18:51, 6 November 2008


Usage

{{TattleRight
|date = 
|article = 
|color =
}}
  • date: Written as January 11, 2007
  • 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 following subpages automatically, you don't need to worry about them. They are listed here for convenience of the template author only.

Many thanks to User:Chénier for the awesome template ideas!

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."