Difference between revisions of "Template:Chat example"

From Worms Knowledge Base

Jump to: navigation, search
m
m (margin)
Line 1: Line 1:
 
<includeonly><!--
 
<includeonly><!--
 
-->{{#if: {{{1|}}} | <code>{{{1}}}</code> {{{msg1|displays:}}}}}<!--
 
-->{{#if: {{{1|}}} | <code>{{{1}}}</code> {{{msg1|displays:}}}}}<!--
-->{{#if: {{{2|}}} | <div style="font-family: Tahoma, Verdana, sans-serif; font-weight: bold; border: 1px solid #9C9D9C; background-color: #000000; color: {{{color|#FFFFFF}}};">{{{2}}}</div>}}<!--
+
-->{{#if: {{{2|}}} | <div style="font-family: Tahoma, Verdana, sans-serif; font-weight: bold; margin: 0.25em; border: 1px solid #9C9D9C; background-color: #000000; color: {{{color|#FFFFFF}}};">{{{2}}}</div>}}<!--
 
-->{{#if: {{{msg2|}}} | <p>{{{msg2}}}</p>}}<!--
 
-->{{#if: {{{msg2|}}} | <p>{{{msg2}}}</p>}}<!--
-->{{#if: {{{3|}}} | <div style="font-family: Tahoma, Verdana, sans-serif; border: 1px solid #808080; background-color: #000040; color: {{{color2|{{{color|#FFFFFF}}}}}};">{{{3}}}</div>}}</includeonly><noinclude>
+
-->{{#if: {{{3|}}} | <div style="font-family: Tahoma, Verdana, sans-serif; margin: 0.25em; border: 1px solid #808080; background-color: #000040; color: {{{color2|{{{color|#FFFFFF}}}}}};">{{{3}}}</div>}}</includeonly><noinclude>
 
{{Chat example|{{{1}}}|{{{2}}}|{{{3}}}}}
 
{{Chat example|{{{1}}}|{{{2}}}|{{{3}}}}}
 
----
 
----

Revision as of 16:22, 26 July 2010



for List of chat commands

Parameters

  • 1: code that you type.
  • 2: what you get in the in-game chat box. (The box will be hidden if the parameter is empty.)
  • 3: what you get in the chat box in the frontend. (The box will be hidden if the parameter is empty.)
  • msg1: text between {{{1}}} and {{{2}}}, defaults to "displays:" .
  • msg2: text between {{{2}}} and {{{3}}}.
  • color: text color of {{{2}}}.
  • color2: text color of {{{3}}}, if it was different from the parameter above.
Personal tools