Template:TalkTextTest2: Difference between revisions
From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
(→Usage) |
mNo edit summary |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{|class= | {|class="talkbubble talkbubble-template" style="background:transparent" | ||
{{#if:{{{image|}}}|{{!}}valign=top{{!}}{{{choose|[[File:{{{image}}}{{!}}60px]]}}}|{{!}}width="60px"{{!}}}} | {{#if:{{{image|}}}|{{!}}valign=top{{!}}{{{choose|[[File:{{{image}}}{{!}}60px]]}}}|{{!}}width="60px"{{!}}}} | ||
|<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent"> | |<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background:transparent"> | ||
|- | |- | ||
|width=1 height=1| | |width=1 height=1| | ||
Line 41: | Line 41: | ||
|bgcolor={{{border|gray}}}| | |bgcolor={{{border|gray}}}| | ||
|bgcolor={{{color|white}}} colspan=4| | |bgcolor={{{color|white}}} colspan=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|}}}| - {{{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>}}} | |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|}}}| - {{{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>}}} | ||
|bgcolor={{{color|white}}} colspan=4| | |bgcolor={{{color|white}}} colspan=4| | ||
|rowspan=5 bgcolor={{{border|gray}}}| | |rowspan=5 bgcolor={{{border|gray}}}| | ||
Line 87: | Line 87: | ||
|bgcolor={{{border2|{{{border|gray}}}}}}| | |bgcolor={{{border2|{{{border|gray}}}}}}| | ||
|bgcolor={{{color2|{{{color|white}}}}}} colspan=4| | |bgcolor={{{color2|{{{color|white}}}}}} colspan=4| | ||
|bgcolor={{{color2|{{{color|white}}}}}} valign="top"|<font color={{{textcolor2|{{{textcolor|black}}}}}} face="{{{fonttype|arial}}}">{{{text}}}</font> | |bgcolor={{{color2|{{{color|white}}}}}} valign="top"|<font color="{{{textcolor2|{{{textcolor|black}}}}}}" face="{{{fonttype|arial}}}">{{{text}}}</font> | ||
|bgcolor={{{color2|{{{color|white}}}}}} colspan=4| | |bgcolor={{{color2|{{{color|white}}}}}} colspan=4| | ||
|- | |- | ||
Line 127: | Line 127: | ||
==Usage== | ==Usage== | ||
Input this text into a page of your choice in the namespace Template: | Input this text into a page of your choice in the namespace Template: | ||
<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= (This line is optional. If not included, the color field will be used) | |color2= (This line is optional. If not included, the color field will be used) | ||
|color3= (This line is optional. If not included, the color2 field will be used) | |color3= (This line is optional. If not included, the color2 field will be used) | ||
Line 144: | Line 145: | ||
|border3= (This line is optional. If not included, the border2 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) | |fonttype= (This line is optional. If not included, the font will be Arial) | ||
|name= | |name= | ||
|nick= (This line is optional, and only need filled in if you wish to use a nickname, rather than your user name.) | |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) | |sig= (This line is optional. If not included no dash or sig will be displayed) | ||
Line 152: | Line 153: | ||
</pre> | </pre> | ||
:<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> | :<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: | And include it in pages with the command: | ||
<pre> | <pre> | ||
{{<nowiki><name of template></nowiki> | {{<nowiki><name of template></nowiki> | ||
Line 161: | Line 164: | ||
==Categorizing== | ==Categorizing== | ||
When categorizing a talk template, use <nowiki><noinclude>[[Category: | When categorizing a talk template, use <nowiki><noinclude>[[Category:User talk templates]]</noinclude></nowiki>. Make sure that the <nowiki><noinclude></nowiki> tag is included before and <nowiki></noinclude></nowiki> after the category. | ||
[[Category: | |||
</noinclude> | [[Category:User talk templates| ]]</noinclude> |
Latest revision as of 14:16, 7 August 2024
|
Usage
Input this text into a page of your choice in the namespace Template:
{{TalkTextTest2 |image= (This line is optional) |color= (This line is optional. If not included, the color will be white) |color2= (This line is optional. If not included, the color field will be used) |color3= (This line is optional. If not included, the color2 field will be used) |top-section=(This line is optional*) |namecolor= (This line is optional. If not included, the textcolor field will be used) |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= |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}}} |text={{{text}}} }}
- *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}}}".
And include it in pages with the command:
{{<name of template> |time=~~~~~ |text= }}
Categorizing
When categorizing a talk template, use <noinclude>[[Category:User talk templates]]</noinclude>. Make sure that the <noinclude> tag is included before and </noinclude> after the category.