Difference between revisions of "Template:Chat example/frontend"

From Worms Knowledge Base

Jump to: navigation, search
m (minor fixes for IE)
(set "clear: right;" to workaround the IE bug)
 
Line 7: Line 7:
 
--></div><!--
 
--></div><!--
  
-->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|#FFFFFF}}}}}}; {{{style2|}}}">{{{2}}}<!--
+
-->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|#FFFFFF}}}}}}; clear: right; {{{style2|}}}">{{{2}}}<!--
 
-->{{#if: {{{end2|}}} | <span style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end2}}})''</span>}}<!--
 
-->{{#if: {{{end2|}}} | <span style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end2}}})''</span>}}<!--
 
--></div>}}<!--
 
--></div>}}<!--
  
-->{{#if: {{{3|}}} | <div style="color: {{{color3|{{{color|#FFFFFF}}}}}}; {{{style3|}}}">{{{3}}}<!--
+
-->{{#if: {{{3|}}} | <div style="color: {{{color3|{{{color|#FFFFFF}}}}}}; clear: right; {{{style3|}}}">{{{3}}}<!--
 
-->{{#if: {{{end3|}}} | <span style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end3}}})''</span>}}<!--
 
-->{{#if: {{{end3|}}} | <span style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end3}}})''</span>}}<!--
 
--></div>}}<!--
 
--></div>}}<!--
  
-->{{#if: {{{4|}}} | <div style="color: {{{color4|{{{color|#FFFFFF}}}}}}; {{{style4|}}}">{{{4}}}<!--
+
-->{{#if: {{{4|}}} | <div style="color: {{{color4|{{{color|#FFFFFF}}}}}}; clear: right; {{{style4|}}}">{{{4}}}<!--
 
-->{{#if: {{{end4|}}} | <span style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end4}}})''</span>}}<!--
 
-->{{#if: {{{end4|}}} | <span style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end4}}})''</span>}}<!--
 
--></div>}}<!--
 
--></div>}}<!--

Latest revision as of 08:13, 12 September 2010

{{{1}}}

Parameters

{{{1}}}({{{end1}}})
{{{2}}}({{{end2}}})
{{{3}}}({{{end3}}})
{{{4}}}({{{end4}}})
  • color: text color of {{{1}}}, by default it's white.
  • color2, color3, and color4: text color of {{{2}}}, {{{3}}}, and {{{4}}}. By default they are the same as {{{color1}}} .
  • style1, style2, style3, and style4: other CSS styles that can be applied to {{{1}}}, {{{2}}}, {{{3}}} or {{{4}}}.

Chat box styles

The {{{type}}} parameter specifys how the chat box looks.

(nothing)
W:A and WWP chat box (both games have the same looking box)
background-color: #000040;
type=w2
Worms 2 (Everyone) chat box
background-color: #000000;
type=w2-private
Worms 2 (Private) chat box
background-color: #008080;
Personal tools