Difference between revisions of "Template:Chat"

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