Difference between revisions of "Template:Chat example/game"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (extended to 4 lines; added margin to endN parameters) |
Explorer09 (Talk | contribs) (set "clear: right;" to workaround the IE bug) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="font-family: Tahoma, Verdana, sans-serif; font-weight: bold; margin: 0.25em; border: 1px solid # | + | <div style="font-family: Tahoma, Verdana, sans-serif; font-weight: bold; margin: 0.25em; border: 1px solid #9D9D9D; background-color: #000000;"><!-- |
− | --><div style="color: {{{color|# | + | --><div style="color: {{{color|#FFFFFF}}}; {{{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; margin-right: 0.25em; text-align: right; font-weight: normal; font-size: 80%;">''({{{end1}}})''</div>}}<!-- |
--></div><!-- | --></div><!-- | ||
− | -->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|# | + | -->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|#FFFFFF}}}}}}; clear: right; {{{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; margin-right: 0.25em; text-align: right; font-weight: normal; font-size: 80%;">''({{{end2}}})''</div>}}<!-- |
--></div>}}<!-- | --></div>}}<!-- | ||
− | -->{{#if: {{{3|}}} | <div style="color: {{{color3|{{{color|# | + | -->{{#if: {{{3|}}} | <div style="color: {{{color3|{{{color|#FFFFFF}}}}}}; clear: right; {{{style3|}}}">{{{3}}}<!-- |
− | -->{{#if: {{{end3|}}} | <div style="float: right; text-align: right; font-weight: normal; font-size: 80%;">''({{{end3}}})''</div>}}<!-- | + | -->{{#if: {{{end3|}}} | <div style="float: right; margin-right: 0.25em; text-align: right; font-weight: normal; font-size: 80%;">''({{{end3}}})''</div>}}<!-- |
--></div>}}<!-- | --></div>}}<!-- | ||
− | -->{{#if: {{{4|}}} | <div style="color: {{{color4|{{{color|# | + | -->{{#if: {{{4|}}} | <div style="color: {{{color4|{{{color|#FFFFFF}}}}}}; clear: right; {{{style4|}}}">{{{4}}}<!-- |
− | -->{{#if: {{{end4|}}} | <div style="float: right; text-align: right; font-weight: normal; font-size: 80%;">''({{{end4}}})''</div>}}<!-- | + | -->{{#if: {{{end4|}}} | <div style="float: right; margin-right: 0.25em; text-align: right; font-weight: normal; font-size: 80%;">''({{{end4}}})''</div>}}<!-- |
--></div>}}<!-- | --></div>}}<!-- | ||
Line 20: | Line 20: | ||
---- | ---- | ||
===Parameters=== | ===Parameters=== | ||
− | {{Chat example/game|{{{1}}}|{{{2}}}|end1={{{end1}}}|end2={{{end2}}}}} | + | {{Chat example/game|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|end1={{{end1}}}|end2={{{end2}}}|end3={{{end3}}}|end4={{{end4}}}}} |
*'''color''': text color of {{{1}}}. | *'''color''': text color of {{{1}}}. | ||
*'''color2''', '''color3''', and '''color4''': text color of {{{2}}}, {{{3}}}, and {{{4}}}. By default they are the same as {{{color1}}} . | *'''color2''', '''color3''', and '''color4''': text color of {{{2}}}, {{{3}}}, and {{{4}}}. By default they are the same as {{{color1}}} . | ||
− | *'''style1''', | + | *'''style1''', '''style2''', '''style3''', and '''style4''': other CSS styles that can be applied to {{{1}}}, {{{2}}}, {{{3}}} or {{{4}}}. |
</noinclude> | </noinclude> |
Latest revision as of 08:12, 12 September 2010
{{{1}}}
Parameters
{{{1}}}
({{{end1}}})
{{{2}}}
({{{end2}}})
{{{3}}}
({{{end3}}})
{{{4}}}
({{{end4}}})
- color: text color of {{{1}}}.
- 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}}}.