Difference between revisions of "Template:Chat example/game"
From Worms Knowledge Base
Explorer09 (Talk | contribs) m (new parameter: style1 and style2) |
Explorer09 (Talk | contribs) (extended to 4 lines; added margin to endN parameters) |
||
Line 7: | Line 7: | ||
-->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|#FCFEFC}}}}}}; {{{style2|}}}">{{{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>}}<!-- | ||
+ | |||
+ | -->{{#if: {{{3|}}} | <div style="color: {{{color3|{{{color|#FCFEFC}}}}}}; {{{style3|}}}">{{{3}}}<!-- | ||
+ | -->{{#if: {{{end3|}}} | <div style="float: right; text-align: right; font-weight: normal; font-size: 80%;">''({{{end3}}})''</div>}}<!-- | ||
+ | --></div>}}<!-- | ||
+ | |||
+ | -->{{#if: {{{4|}}} | <div style="color: {{{color4|{{{color|#FCFEFC}}}}}}; {{{style4|}}}">{{{4}}}<!-- | ||
+ | -->{{#if: {{{end4|}}} | <div style="float: right; text-align: right; font-weight: normal; font-size: 80%;">''({{{end4}}})''</div>}}<!-- | ||
--></div>}}<!-- | --></div>}}<!-- | ||
Line 14: | Line 22: | ||
{{Chat example/game|{{{1}}}|{{{2}}}|end1={{{end1}}}|end2={{{end2}}}}} | {{Chat example/game|{{{1}}}|{{{2}}}|end1={{{end1}}}|end2={{{end2}}}}} | ||
*'''color''': text color of {{{1}}}. | *'''color''': text color of {{{1}}}. | ||
− | *'''color2''': text color of {{{2}}}, | + | *'''color2''', '''color3''', and '''color4''': text color of {{{2}}}, {{{3}}}, and {{{4}}}. By default they are the same as {{{color1}}} . |
*'''style1''', and '''style2''': other CSS styles that can be applied to {{{1}}} or {{{2}}}. | *'''style1''', and '''style2''': other CSS styles that can be applied to {{{1}}} or {{{2}}}. | ||
</noinclude> | </noinclude> |
Revision as of 23:42, 1 August 2010
{{{1}}}
Parameters
{{{1}}}
({{{end1}}})
{{{2}}}
({{{end2}}})
- 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, and style2: other CSS styles that can be applied to {{{1}}} or {{{2}}}.