Difference between revisions of "Template:Chat"

From Second Life Wiki
Jump to navigation Jump to search
(wikifier linked to documentation)
 
(3 intermediate revisions by 2 users not shown)
Line 12: Line 12:
{|
{|
{{Chat|[16:17] Soft Linden: Be good, y'all!}}
{{Chat|[16:17] Soft Linden: Be good, y'all!}}
{{Chat|[16:17] Soft Linden: :)}}
{{Chat|[16:17]|Squirrel Wood|Rawr :p}}
{{Chat|[16:17]|Squirrel Wood|Rawr :p}}
{{Chat|[16:17] Wyn Galbraith has a few hours till dinner, have mercy.}}
{{Chat|[16:17] Wyn Galbraith has a few hours till dinner, have mercy.}}
Line 17: Line 18:
{{Chat|[16:17]|Test|Test}}
{{Chat|[16:17]|Test|Test}}
|}
|}
== Related Links ==
*[http://www.treekyomoon.com/wikifier.htm Wikifier] - Tool to convert chatlogs into wiki syntax
</noinclude>
</noinclude>
<includeonly>{{#if:
<includeonly>{{{1|}}} {{{2|}}} {{{3|}}}<br></includeonly>
{{#vardefine:CLToggle|{{#expr:({{#var:CLToggle}}+1) mod 2}}}}
{{#vardefine:CLTime|{{{time|{{#ifeq:{{#sub:{{{1|}}}|0|1}}|[|{{#explode:{{{1|}}}|]|0}}]}}}}}}}
{{#vardefine:CLUser|{{{user|{{#explode:{{#ifeq:{{{2|}}}||{{#sub:{{{1|}}}|{{#len:{{#var:CLTime}}}}}}: $|{{{2|}}}: $}}|: }}}}}}}
{{#vardefine:CLMessage|{{Trim|{{{message|{{#if:{{{3|}}}|{{{3|}}}|{{#if:{{{2|}}}|{{#sub:{{{2|}}}|{{#len:{{#var:CLUser}}$$}}}}|{{#sub:{{{1|}}}|{{#expr:{{#pos:{{{1|}}}: $|{{#var:CLUser}}: }}+{{#len:{{#var:CLUser}}}}+2}}}}}}}}}}}}}}}
}}{{!}}- style="vertical-align:top;background-color:#{{#switch:{{#var:CLToggle}}|0=F0F0F0|1=FFFFFF}};"
{{!!}} {{#var:CLTime}}
{{#if:{{#var:CLMessage}}|
{{#ifeq:{{lc:{{#sub:{{#var:CLMessage}}|0|3}}}}|/me|
{{!}} colspan="2" {{!}}''{{User|{{#var:CLUser}}}}{{#sub:{{#var:CLMessage}}|3}}''
|
{{!}} nowrap="true" {{!}} {{#if:{{#pos:{{Trim|{{#var:CLUser}}}}| }}|{{User|{{#var:CLUser}}|nbsp=1}}|{{#var:CLUser}}}}:
{{!}} style="white-space:normal;" {{!}} {{#ifeq:{{#sub:{{#var:CLMessage}}|0|1}}|:|&#58;{{#sub:{{#var:CLMessage}}|1}}|{{#var:CLMessage}}}}
}}|
{{!}} colspan="2" {{!}}''{{#var:CLUser}}''}}</includeonly>

Latest revision as of 12:57, 4 July 2008

{|
{{Chat|[16:17] Soft Linden: Be good, y'all!}}
{{Chat|[16:17] Soft Linden: :)}}
{{Chat|[16:17]|Squirrel Wood|Rawr :p}}
{{Chat|[16:17] Wyn Galbraith has a few hours till dinner, have mercy.}}
{{Chat|[16:17]|Wyn Galbraith|/me has a few hours till dinner, have mercy.}}
{{Chat|[16:17]|Test|Test}}
|}
[16:17] Soft Linden: Be good, y'all!
[16:17] Soft Linden: :)
[16:17] Squirrel Wood Rawr :p
[16:17] Wyn Galbraith has a few hours till dinner, have mercy.
[16:17] Wyn Galbraith /me has a few hours till dinner, have mercy.
[16:17] Test Test

Related Links

  • Wikifier - Tool to convert chatlogs into wiki syntax