Difference between revisions of "Template:Chat example"
From Worms Knowledge Base
Explorer09 (Talk | contribs) |
Explorer09 (Talk | contribs) (extended to 4 lines per box) |
||
Line 4: | Line 4: | ||
|1={{{f1}}} | |1={{{f1}}} | ||
|2={{{f2|}}} | |2={{{f2|}}} | ||
+ | |3={{{f3|}}} | ||
+ | |4={{{f4|}}} | ||
|end1={{{f1e|}}} | |end1={{{f1e|}}} | ||
|end2={{{f2e|}}} | |end2={{{f2e|}}} | ||
+ | |end3={{{f3e|}}} | ||
+ | |end4={{{f4e|}}} | ||
|color={{{f1c|#FFFFFF}}} | |color={{{f1c|#FFFFFF}}} | ||
− | |color2={{{f2c|#FFFFFF}}} | + | |color2={{{f2c|{{{f1c|#FFFFFF}}}}}} |
+ | |color3={{{f3c|{{{f1c|#FFFFFF}}}}}} | ||
+ | |color4={{{f4c|{{{f1c|#FFFFFF}}}}}} | ||
}} }}<!-- | }} }}<!-- | ||
Line 15: | Line 21: | ||
|1={{{g1}}} | |1={{{g1}}} | ||
|2={{{g2|}}} | |2={{{g2|}}} | ||
+ | |3={{{g3|}}} | ||
+ | |4={{{g4|}}} | ||
|end1={{{g1e|}}} | |end1={{{g1e|}}} | ||
|end2={{{g2e|}}} | |end2={{{g2e|}}} | ||
+ | |end3={{{g3e|}}} | ||
+ | |end4={{{g4e|}}} | ||
|color={{{g1c|#FCFEFC}}} | |color={{{g1c|#FCFEFC}}} | ||
− | |color2={{{g2c|#FCFEFC}}} | + | |color2={{{g2c|{{{g1c|#FCFEFC}}}}}} |
+ | |color3={{{g3c|{{{g1c|#FCFEFC}}}}}} | ||
+ | |color4={{{g4c|{{{g1c|#FCFEFC}}}}}} | ||
}} }}<noinclude> | }} }}<noinclude> | ||
---- | ---- | ||
Line 29: | Line 41: | ||
|f1={{{f1}}} | |f1={{{f1}}} | ||
|f2={{{f2}}} | |f2={{{f2}}} | ||
+ | |f3={{{f3}}} | ||
+ | |f4={{{f4}}} | ||
|f1e={{{f1e}}} | |f1e={{{f1e}}} | ||
|f2e={{{f2e}}} | |f2e={{{f2e}}} | ||
+ | |f3e={{{f3e}}} | ||
+ | |f4e={{{f4e}}} | ||
|g1={{{g1}}} | |g1={{{g1}}} | ||
|g2={{{g2}}} | |g2={{{g2}}} | ||
+ | |g3={{{g3}}} | ||
+ | |g4={{{g4}}} | ||
|g1e={{{g1e}}} | |g1e={{{g1e}}} | ||
|g2e={{{g2e}}} | |g2e={{{g2e}}} | ||
+ | |g3e={{{g3e}}} | ||
+ | |g4e={{{g4e}}} | ||
|t1={{{t1}}} | |t1={{{t1}}} | ||
|t2={{{t2}}} | |t2={{{t2}}} | ||
Line 40: | Line 60: | ||
*'''c''': code that you type. (If this parameter is left empty, the word 'Example:' and {{{t1}}} will be hidden.) | *'''c''': code that you type. (If this parameter is left empty, the word 'Example:' and {{{t1}}} will be hidden.) | ||
− | *''' | + | *'''f<sub>n</sub>''' and '''f<sub>n</sub>e''': (f1, f1e, f2, f2e, etc.) what you get in the chat box in the frontend. (The box will be hidden if {{{f1}}} is empty.) |
− | *''' | + | *'''g<sub>n</sub>''' and '''g<sub>n</sub>e''': (g1, g1e, g2, g2e, etc.) what you get in the in-game chat box. (The box will be hidden if {{{g1}}} is 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. | ||
− | *''' | + | *'''f<sub>n</sub>c''' and '''g<sub>n</sub>c''': text color of the corresponding fields (f<sub>n</sub> or g<sub>n</sub>). |
</noinclude> | </noinclude> |
Revision as of 23:57, 1 August 2010
Parameters
Example: {{{c}}}
{{{t1}}}
{{{f1}}}({{{f1e}}})
{{{f2}}}({{{f2e}}})
{{{f3}}}({{{f3e}}})
{{{f4}}}({{{f4e}}})
{{{t2}}}
{{{g1}}}
({{{g1e}}})
{{{g2}}}
({{{g2e}}})
{{{g3}}}
({{{g3e}}})
{{{g4}}}
({{{g4e}}})
- c: code that you type. (If this parameter is left empty, the word 'Example:' and {{{t1}}} will be hidden.)
- fn and fne: (f1, f1e, f2, f2e, etc.) what you get in the chat box in the frontend. (The box will be hidden if {{{f1}}} is empty.)
- gn and gne: (g1, g1e, g2, g2e, etc.) what you get in the in-game chat box. (The box will be hidden if {{{g1}}} is empty.)
- t1: text between the code (
{{{c}}}
) and the first chat box. - t2: text between the two chat boxes.
- fnc and gnc: text color of the corresponding fields (fn or gn).