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

From Worms Knowledge Base

Jump to: navigation, search
(default colour changed to #FCFEFC)
m (new parameter: style1 and style2)
Line 1: Line 1:
 
<div style="font-family: Tahoma, Verdana, sans-serif; font-weight: bold; margin: 0.25em; border: 1px solid #9C9D9C; background-color: #000000;"><!--
 
<div style="font-family: Tahoma, Verdana, sans-serif; font-weight: bold; margin: 0.25em; border: 1px solid #9C9D9C; background-color: #000000;"><!--
  
--><div style="color: {{{color|#FCFEFC}}};">{{{1}}}<!--
+
--><div style="color: {{{color|#FCFEFC}}}; {{{style1|}}}">{{{1}}}<!--
 
-->{{#if: {{{end1|}}} | <div style="float: right; text-align: right; font-weight: normal; font-size: 80%;">''({{{end1}}})''</div>}}<!--
 
-->{{#if: {{{end1|}}} | <div style="float: right; text-align: right; font-weight: normal; font-size: 80%;">''({{{end1}}})''</div>}}<!--
 
--></div><!--
 
--></div><!--
  
-->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|#FCFEFC}}}}}};">{{{2}}}<!--
+
-->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|#FCFEFC}}}}}}; {{{style2|}}}">{{{2}}}<!--
 
-->{{#if: {{{end2|}}} | <div style="float: right; text-align: right; font-weight: normal; font-size: 80%;">''({{{end2}}})''</div>}}<!--
 
-->{{#if: {{{end2|}}} | <div style="float: right; text-align: right; font-weight: normal; font-size: 80%;">''({{{end2}}})''</div>}}<!--
 
--></div>}}<!--
 
--></div>}}<!--
Line 15: Line 15:
 
*'''color''': text color of {{{1}}}.
 
*'''color''': text color of {{{1}}}.
 
*'''color2''': text color of {{{2}}}, if it was different from the parameter above.
 
*'''color2''': text color of {{{2}}}, if it was different from the parameter above.
 +
*'''style1''', and '''style2''': other CSS styles that can be applied to {{{1}}} or {{{2}}}.
 
</noinclude>
 
</noinclude>

Revision as of 04:28, 29 July 2010

{{{1}}}

Parameters

{{{1}}}
({{{end1}}})
{{{2}}}
({{{end2}}})
  • color: text color of {{{1}}}.
  • color2: text color of {{{2}}}, if it was different from the parameter above.
  • style1, and style2: other CSS styles that can be applied to {{{1}}} or {{{2}}}.
Personal tools