Difference between revisions of "Template:Chat example/frontend"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (New page: <div style="font-family: Tahoma, Verdana, sans-serif; margin: 0.25em; border: 1px solid #808080; background-color: #000040;"><!-- --><div style="color: {{{color|#FFFFFF}}};">{{{1}}}<!-- -...) |
Explorer09 (Talk | contribs) (extended to 4 lines; added margin to endN parameters) |
||
Line 2: | Line 2: | ||
--><div style="color: {{{color|#FFFFFF}}};">{{{1}}}<!-- | --><div style="color: {{{color|#FFFFFF}}};">{{{1}}}<!-- | ||
− | -->{{#if: {{{end1|}}} | <div style="float: right; text-align: right; font-size: 80%;">''({{{end1}}})''</div>}}<!-- | + | -->{{#if: 1{{{end1|}}} | <div style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end1}}})''</div>}}<!-- |
--></div><!-- | --></div><!-- | ||
-->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|#FFFFFF}}}}}};">{{{2}}}<!-- | -->{{#if: {{{2|}}} | <div style="color: {{{color2|{{{color|#FFFFFF}}}}}};">{{{2}}}<!-- | ||
− | -->{{#if: {{{end2|}}} | <div style="float: right; text-align: right; font-size: 80%;">''({{{end2}}})''</div>}}<!-- | + | -->{{#if: {{{end2|}}} | <div style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end2}}})''</div>}}<!-- |
+ | --></div>}}<!-- | ||
+ | |||
+ | -->{{#if: {{{3|}}} | <div style="color: {{{color3|{{{color|#FFFFFF}}}}}};">{{{3}}}<!-- | ||
+ | -->{{#if: {{{end3|}}} | <div style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end3}}})''</div>}}<!-- | ||
+ | --></div>}}<!-- | ||
+ | |||
+ | -->{{#if: {{{4|}}} | <div style="color: {{{color4|{{{color|#FFFFFF}}}}}};">{{{4}}}<!-- | ||
+ | -->{{#if: {{{end4|}}} | <div style="float: right; margin-right: 0.25em; text-align: right; font-size: 80%;">''({{{end4}}})''</div>}}<!-- | ||
--></div>}}<!-- | --></div>}}<!-- | ||
Line 12: | Line 20: | ||
---- | ---- | ||
===Parameters=== | ===Parameters=== | ||
− | {{Chat example/frontend|{{{1}}}|{{{2}}}|end1={{{end1}}}|end2={{{end2}}}}} | + | {{Chat example/frontend|{{{1}}}|{{{2}}}|{{{3}}}|{{{4}}}|end1={{{end1}}}|end2={{{end2}}}|end3={{{end3}}}|end4={{{end4}}}}} |
*'''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}}} . |
</noinclude> | </noinclude> |
Revision as of 23:38, 1 August 2010
{{{1}}}
({{{end1}}})
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}}} .