Difference between revisions of "Template:Chat example"

From Worms Knowledge Base

Jump to: navigation, search
(new version - more complex now)
m
Line 43: Line 43:
  
 
*'''c''': code that you type.
 
*'''c''': code that you type.
*'''f1''', '''f2''', '''f1e''', and '''f2e''': what you get in the chat box in the frontend. (The box will be hidden if the parameter is empty.)
+
*'''f1''', '''f2''', '''f1e''', and '''f2e''': what you get in the chat box in the frontend. (The box will be hidden if the parameters are empty.)
*'''g1''', '''g2''', '''g1e''', and '''g2e''': what you get in the in-game chat box. (The box will be hidden if the parameter is empty.)
+
*'''g1''', '''g2''', '''g1e''', and '''g2e''': what you get in the in-game chat box. (The box will be hidden if the parameters are empty.)
 
*'''t1''': text between the code (<code>{{{c}}}</code>) and the first chat box.
 
*'''t1''': text between the code (<code>{{{c}}}</code>) and the first chat box.
 
*'''t2''': text between the two chat boxes.
 
*'''t2''': text between the two chat boxes.
 
*'''f1c''', '''f2c''', '''g1c''', and '''g2c''': text color of the corresponding fields (f1, f2, g1, or g2).
 
*'''f1c''', '''f2c''', '''g1c''', and '''g2c''': text color of the corresponding fields (f1, f2, g1, or g2).
 
</noinclude>
 
</noinclude>

Revision as of 13:48, 27 July 2010


For List of chat commands.

Parameters

Example: {{{c}}} {{{t1}}}

{{{f1}}}({{{f1e}}})
{{{f2}}}({{{f2e}}})

{{{t2}}}

{{{g1}}}
({{{g1e}}})
{{{g2}}}
({{{g2e}}})
  • c: code that you type.
  • f1, f2, f1e, and f2e: what you get in the chat box in the frontend. (The box will be hidden if the parameters are empty.)
  • g1, g2, g1e, and g2e: what you get in the in-game chat box. (The box will be hidden if the parameters are empty.)
  • t1: text between the code ({{{c}}}) and the first chat box.
  • t2: text between the two chat boxes.
  • f1c, f2c, g1c, and g2c: text color of the corresponding fields (f1, f2, g1, or g2).
Personal tools