Template:TalkTextTest2: Difference between revisions

m
Protected "Template:TalkTextTest2": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
mNo edit summary
m (Protected "Template:TalkTextTest2": High traffic page ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
 
(39 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{|
{|class='talkbubble talkbubble-template' style="background:transparent"
|[[Image:{{{image}}}|50px]]
{{#if:{{{image|}}}|{{!}}valign=top{{!}}{{{choose|[[File:{{{image}}}{{!}}60px]]}}}|{{!}}width="60px"{{!}}}}
|<table width=100% border="0" cellpadding="0" cellspacing="0">
|<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent">
<tr>
|-
<td COLSPAN=9 width=9 height=1>
|width=1 height=1|
<td bgcolor=gray height=1 width=1
|width=1|
<td height=1 bgcolor=gray>
|width=1|
<td width=1 height=1 bgcolor=gray>
|width=1|
<td COLSPAN=4 width=4 height=1>
|width=1|
 
|width=1|
<tr>
|width=1|
<td COLSPAN=8 width=8 height=1>
|width=1|
<td bgcolor=gray width=1 height=1>
|width=1|
<td BGCOLOR={{{color}}} width=1 height=1>
|width=1|
<td BGCOLOR={{{color}}} height=1>
|bgcolor={{{border|gray}}}|
<td BGCOLOR={{{color}}} width=1 height=1>
|width=1|
<td bgcolor=gray width=1 height=1>
|width=1|
<td COLSPAN=3 width=3 height=1>
|width=1|
 
|width=1|
<tr>
|width=1|
<td COLSPAN=7 width=7 height=1>
|-
<td width=1 height=1 BGCOLOR=gray>
|colspan=8 height=1|
<td BGCOLOR={{{color}}} COLSPAN=2 width=2 height=1>
|colspan=2 bgcolor={{{border|gray}}}|
<td BGCOLOR={{{color}}} height=1>
|bgcolor={{{color|white}}}|
<td BGCOLOR={{{color}}} COLSPAN=2 width=2 height=1>
|colspan=2 bgcolor={{{border|gray}}}|
<td width=1 height=1 BGCOLOR=gray>
|colspan=3|
<td COLSPAN=2 width=2 height=1>
|-
 
|colspan=7 height=1|
<tr>
|bgcolor={{{border|gray}}}|
<td COLSPAN=6 width=6 height=1>
|bgcolor={{{color|white}}} colspan=5|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border|gray}}}|
<td BGCOLOR={{{color}}} COLSPAN=3 width="3" height=1>
|colspan=2|
<td BGCOLOR={{{color}}} height=1>
|-
<td BGCOLOR={{{color}}} COLSPAN=3 width=3 height=1>
|colspan=6 height=2|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border|gray}}}|
<td width=1 height=1>
|bgcolor={{{color|white}}} colspan=7|
 
|bgcolor={{{border|gray}}}|
<tr>
|
<td COLSPAN=5 width=5>
|-
<td width=1 BGCOLOR=gray>
|colspan=5 height=1|
<td BGCOLOR={{{color}}} COLSPAN=4 width=4>
|bgcolor={{{border|gray}}}|
<td BGCOLOR={{{color}}}> '''[[User:{{{name}}}|<font color={{{textcolor}}} face="{{{fonttype}}}">{{{name}}}]] - {{{sig}}}:</font>'''<br>[[User Talk:{{{name}}}|<font color={{{textcolor}}} size=1 face="{{{fonttype"}}}>TALK</font>]] <font color={{{textcolor}}} size=1 face="{{{fonttype}}}">- {{{time}}}</font>
|bgcolor={{{color|white}}} colspan=4|
<td BGCOLOR={{{color}}} COLSPAN=4 width=4>
|bgcolor={{{color|white}}}|{{{top-section|<b>[[User:{{{name}}}{{!}}<font color="{{{namecolor|{{{textcolor|black}}}}}}" face="{{{namefonttype|{{{fonttype|arial}}}}}}">{{{nick|{{{name}}}}}}</font>]]<font color="{{{textcolor|black}}}" face="{{{fonttype|arial}}}">{{#if:{{{sig|}}}|&nbsp;- {{{sig}}}|}}<noinclude> - {{{sig}}}</noinclude></font></b><br>[[User talk:{{{name}}}{{!}}<font color="{{{textcolor|black}}}" size=1 face="{{{fonttype|arial}}}">TALK</font>]] <font color="{{{textcolor|black}}}" size=1 face="{{{fonttype|arial}}}">- {{{time}}}</font>}}}
<td width=1 BGCOLOR=gray>
|bgcolor={{{color|white}}} colspan=4|
 
|rowspan=5 bgcolor={{{border|gray}}}|
<tr>
|-
<td COLSPAN=4 width=4>
|colspan={{#if:{{{image|}}}|4|5}} height=1|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border|gray}}}|
<td BGCOLOR={{{color}}} COLSPAN=5 width=5>
|bgcolor={{{color|white}}} colspan={{#if:{{{image|}}}|10|9}}|
<td BGCOLOR={{{color}}} height=1>  
|-
<td BGCOLOR={{{color}}} COLSPAN=4 width=4 height=1>
|colspan={{#if:{{{image|}}}|3|5}} height=1|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border|gray}}}|
 
|bgcolor={{{color|white}}} colspan={{#if:{{{image|}}}|11|9}}|
<tr>
|-
<td COLSPAN=3 width=3 height=1>
|colspan={{#if:{{{image|}}}|2|5}} height=1|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border|gray}}}|
<td BGCOLOR={{{color}}} COLSPAN=6 width=6 height=1>
|bgcolor={{{color|white}}} colspan={{#if:{{{image|}}}|12|9}}|
<td BGCOLOR={{{color}}} height=1>
|-
<td BGCOLOR={{{color}}} COLSPAN=4 width=4 height=1>
|colspan={{#if:{{{image|}}}|1|5}} height=1|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border|gray}}}|
 
|bgcolor={{{color|white}}} colspan={{#if:{{{image|}}}|13|9}}|
<tr>
|-
<td COLSPAN=2 width=2 height=1>
{{#if:{{{image|}}}||{{!}}colspan=5{{!}}}}
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border2|{{{border|gray}}}}}} height=1|
<td BGCOLOR={{{color}}} COLSPAN=7 width=7 height=1>
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|9|4}}|
<td BGCOLOR={{{color}}} height=1>
|bgcolor={{{line|{{{color2|{{{color|#CCCCCC}}}}}}}}}|
<td BGCOLOR={{{color}}} COLSPAN=4 width=4 height=1>
|bgcolor={{{color2|{{{color|white}}}}}} colspan=4|
<td width=1 height=1 BGCOLOR=gray>
|rowspan=6 bgcolor={{{border2|{{{border|gray}}}}}}|
 
|-
<tr>
|colspan={{#if:{{{image|}}}|1|5}} height=1|
<td width=1 height=1>
|bgcolor={{{border2|{{{border|gray}}}}}}|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|13|9}}|
<td BGCOLOR={{{color}}} COLSPAN=8 width=8 height=1>
|-
<td BGCOLOR={{{color}}} height=1>
|colspan={{#if:{{{image|}}}|2|5}} height=1|
<td BGCOLOR={{{color}}} COLSPAN=4 width=4 height=1>
|bgcolor={{{border2|{{{border|gray}}}}}}|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|12|9}}|
 
|-
<tr>
|colspan={{#if:{{{image|}}}|3|5}} height=1|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border2|{{{border|gray}}}}}}|
<td BGCOLOR={{{color2}}} COLSPAN=9 width=9 height=1>
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|11|9}}|
<td BGCOLOR={{{color2}}} height="1" BGCOLOR={{{line}}}>
|-
<td BGCOLOR={{{color2}}} COLSPAN=4 width=4 height=1>
|colspan={{#if:{{{image|}}}|4|5}} height=1|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border2|{{{border|gray}}}}}}|
 
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|10|9}}|
<tr>
|-
<td width=1 height=1>
|colspan=5 height=1|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border2|{{{border|gray}}}}}}|
<td BGCOLOR={{{color2}}} COLSPAN=8 width=8 height=1>
|bgcolor={{{color2|{{{color|white}}}}}} colspan=4|
<td BGCOLOR={{{color2}}} height=1>
|bgcolor={{{color2|{{{color|white}}}}}} valign="top"|<font color="{{{textcolor2|{{{textcolor|black}}}}}}" face="{{{fonttype|arial}}}">{{{text}}}</font>
<td BGCOLOR={{{color2}}} COLSPAN=4 width=4 height=1>
|bgcolor={{{color2|{{{color|white}}}}}} colspan=4|
<td width=1 height=1 BGCOLOR=gray>
|-
 
{{#if:{{{color3|}}}|{{!}}colspan=5 height=1{{!}}|}}
<tr>
{{#if:{{{color3|}}}|{{!}}bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}{{!}}|}}
<td COLSPAN=2 width=2 height=1>
{{#if:{{{color3|}}}|{{!}}bgcolor={{{color2|{{{color|white}}}}}} colspan=4{{!}}|}}
<td width=1 height=1 BGCOLOR=gray>
{{#if:{{{color3|}}}|{{!}}bgcolor={{{line2|{{{line|{{{color2|{{{color|white}}}}}}}}}}}}{{!}}|}}
<td BGCOLOR={{{color2}}} COLSPAN=7 width=7 height=1>
{{#if:{{{color3|}}}|{{!}}bgcolor={{{color2|{{{color|white}}}}}} colspan=4{{!}}|}}
<td BGCOLOR={{{color2}}} height=1>
{{#if:{{{color3|}}}|{{!}}bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}{{!}}|}}
<td BGCOLOR={{{color2}}} COLSPAN=4 width=4 height=1>
|-
<td width=1 height=1 BGCOLOR=gray>
{{#if:{{{color3|}}}|{{!}}colspan=5 height=2{{!}}|}}
 
{{#if:{{{color3|}}}|{{!}}bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}{{!}}|}}
<tr>
{{#if:{{{color3|}}}|{{!}}bgcolor={{{color3}}} colspan=9{{!}}|}}
<td COLSPAN=3 width=3 height=1>
{{#if:{{{color3|}}}|{{!}}bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}{{!}}|}}
<td width=1 height=1 BGCOLOR=gray>
|-
<td BGCOLOR={{{color2}}} COLSPAN=6 width=6 height=1>
|colspan=6 height=2|
<td BGCOLOR={{{color2}}} height=1>
|bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
<td BGCOLOR={{{color2}}} COLSPAN=4 width=4 height=1>
|bgcolor={{{color3|{{{color2|{{{color|white}}}}}}}}} colspan=7|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
 
|
<tr>
|-
<td COLSPAN=4 width=4 height=1>
|colspan=7 height=1|
<td width=1 height=1 BGCOLOR=gray>
|bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
<td BGCOLOR={{{color2}}} COLSPAN=5 width=5>
|bgcolor={{{color3|{{{color2|{{{color|white}}}}}}}}} colspan=5|
<td BGCOLOR={{{color2}}} height=1>
|bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
<td BGCOLOR={{{color2}}} COLSPAN=4 width=4 height=1>
|colspan=2|
<td width=1 height=1 BGCOLOR=gray>
|-
 
|colspan=8 height=1|
<tr>
|colspan=2 bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
<td COLSPAN=5 width=5>
|bgcolor={{{color3|{{{color2|{{{color|white}}}}}}}}}|
<td width=1 BGCOLOR=gray>
|colspan=2 bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
<td BGCOLOR={{{color2}}} COLSPAN=4 width=4 height=1>
|colspan=3|
<td BGCOLOR={{{color2}}} height=1><font color={{{textcolor2}}} face="{{{fonttype}}}"> {{{text}}}</font>
|-
<td BGCOLOR={{{color2}}} COLSPAN=4 width=4 height=1>
|colspan=10 height=1|
<td width="1" BGCOLOR=gray>
|bgcolor={{{color3|{{{color2|{{{color|white}}}}}}}}} bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
 
|colspan=5|
<tr>
<td COLSPAN=6 width=6 height=1>
<td width=1 height=1 BGCOLOR=gray>
<td BGCOLOR={{{color2}}} COLSPAN=3 width=3 height=1>
<td BGCOLOR={{{color2}}} height=1>  
<td BGCOLOR={{{color2}}} COLSPAN=3 width=3 height=1>
<td width=1 height=1 BGCOLOR=gray>
<td width=1 height=1>
 
<tr>
<td COLSPAN=7 width=7 height=1>
<td width=1 height=1 BGCOLOR=gray>
<td BGCOLOR={{{color2}}} COLSPAN=2 width=2 height=1>
<td BGCOLOR={{{color2}}} height=1>
<td BGCOLOR={{{color2}}} COLSPAN=2 width=2 height=1>
<td width=1 height=1 BGCOLOR=gray>
<td COLSPAN=2 width=2 height=1>
 
<tr>
<td COLSPAN=8 width=8 height=1>
<td bgcolor=gray width=1 height=1>
<td BGCOLOR={{{color2}}} width=1 height=1>
<td BGCOLOR={{{color2}}} height=1>
<td BGCOLOR={{{color2}}} width=1 height=1>
<td bgcolor=gray width=1 height=1>
<td COLSPAN=3 width=3 height=1>
 
<tr>
<td COLSPAN=9 width=9 height=1>
<td BGCOLOR={{{color2}}} bgcolor=gray height=1 width=1> 
<td BGCOLOR={{{color2}}} height=1 bgcolor=gray>
<td BGCOLOR={{{color2}}} width=1 height=1 bgcolor=gray>
<td COLSPAN=4 width=4 height=1>
</table>
</table>
|}<noinclude>
|}<noinclude>
Line 162: Line 129:
<pre>
<pre>
{{TalkTextTest2
{{TalkTextTest2
|image=
|image= (This line is optional)
|color=
|color= (This line is optional. If not included, the color will be white)
|color2=
|color2= (This line is optional. If not included, the color field will be used)
|textcolor=
|color3= (This line is optional. If not included, the color2 field will be used)
|textcolor2=
|top-section=(This line is optional*)
|line=
|namecolor= (This line is optional. If not included, the textcolor field will be used)
|fonttype=
|namefonttype= (This line is optional. If not included, the fonttype field will be used)
|textcolor= (This line is optional. If not included the textcolor will be black)
|textcolor2= (This line is optional. If not included, the textcolor field will be used)
|line= (This line is optional. If not included, there will be no line)
|line2= (This line is optional. Only needed if color3 is used. If not used, color3 will be)
|border= (This line is optional. If not included, the border will be gray)
|border2= (This line is optional. If not included, the border field will be used)
|border3= (This line is optional. If not included, the border2 field will be used)
|fonttype= (This line is optional. If not included, the font will be Arial)
|name=
|name=
|sig=
|nick= (This line is optional, and only need filled in if you wish to use a nickname, rather than your user name.)
|sig= (This line is optional. If not included no dash or sig will be displayed)
|time={{{time}}}
|time={{{time}}}
|text={{{text}}}
|text={{{text}}}
}}
}}
</pre>
</pre>
And include it in pages with the command
:<nowiki>*</nowiki><small>This fields allows for more customization. It allows the user to control everything in the top part of the template. If this field is used, the name, nick, namecolor, namefonttype, textcolor, sig and time fields do not have to be used. However, in this field the user must include "{{{time}}}".</small>
And include it in pages with the command:
<pre>
<pre>
{{<nowiki><name of template></nowiki>
{{<nowiki><name of template></nowiki>
|time=
|time=<nowiki>~~~~~</nowiki>
|text=
|text=
}}
}}
</pre>
</pre>
 
==Categorizing==
 
When categorizing a talk template, use <nowiki>&lt;noinclude&gt;[[Category:User talk templates]]&lt;/noinclude&gt;</nowiki>. Make sure that the <nowiki>&lt;noinclude&gt;</nowiki> tag is included before and <nowiki>&lt;/noinclude&gt;</nowiki> after the category.
[[Category:UserTalk templates| ]]
[[Category:User talk templates| ]]</noinclude>
</noinclude>