Site Notice

Remember to pay a visit to our Discord server and chat with our community! See here for more info.

Be sure to check out the KHUX Wiki for the latest on Kingdom Hearts Union χ and Kingdom Hearts Dark Road! Go and pitch in!

The KHWiki contains spoilers for all Kingdom Hearts games. Read at your own risk.

Please remember not to add information about unreleased games from trailers.

Template:TalkTextTest2: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
m (Look at the usage section for all the new fields/fields made optional)
mNo edit summary
 
(31 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{| style="background:transparent"
{|class="talkbubble talkbubble-template" style="background:transparent"
{{#if:{{{image|}}}|{{!}}valign=top{{!}}[[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 22: Line 22:
|colspan=8 height=1|
|colspan=8 height=1|
|colspan=2 bgcolor={{{border|gray}}}|
|colspan=2 bgcolor={{{border|gray}}}|
|bgcolor={{{color}}}|
|bgcolor={{{color|white}}}|
|colspan=2 bgcolor={{{border|gray}}}|
|colspan=2 bgcolor={{{border|gray}}}|
|colspan=3|
|colspan=3|
Line 28: Line 28:
|colspan=7 height=1|
|colspan=7 height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|bgcolor={{{color}}} colspan=5|
|bgcolor={{{color|white}}} colspan=5|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|colspan=2|
|colspan=2|
Line 34: Line 34:
|colspan=6 height=2|
|colspan=6 height=2|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|bgcolor={{{color}}} colspan=7|
|bgcolor={{{color|white}}} colspan=7|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|
|
Line 40: Line 40:
|colspan=5 height=1|
|colspan=5 height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|bgcolor={{{color}}} colspan=4|
|bgcolor={{{color|white}}} colspan=4|
|bgcolor={{{color}}}|{{{top-section|<b>[[User:{{{name}}}{{!}}<font color={{{namecolor|{{{textcolor}}}}}} {{{namefonttype|{{{fonttype}}}}}}>{{{nick|{{{name}}}}}}</font>]]<font color="{{{textcolor}}}" face="{{{fonttype}}}">{{#if:{{{sig|}}}|&nbsp;- {{{sig}}}|}}<noinclude> - {{{sig}}}</noinclude>:</font></b><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}}}|{{{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>}}}
|bgcolor={{{color}}} colspan=4|
|bgcolor={{{color|white}}} colspan=4|
|rowspan=11 bgcolor={{{border|gray}}}|
|rowspan=5 bgcolor={{{border|gray}}}|
|-
|-
|colspan={{#if:{{{image|}}}|4|5}} height=1|
|colspan={{#if:{{{image|}}}|4|5}} height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|bgcolor={{{color}}} colspan=10|
|bgcolor={{{color|white}}} colspan={{#if:{{{image|}}}|10|9}}|
|-
|-
|colspan={{#if:{{{image|}}}|3|5}} height=1|
|colspan={{#if:{{{image|}}}|3|5}} height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|bgcolor={{{color}}} colspan=11|
|bgcolor={{{color|white}}} colspan={{#if:{{{image|}}}|11|9}}|
|-
|-
|colspan={{#if:{{{image|}}}|2|5}} height=1|
|colspan={{#if:{{{image|}}}|2|5}} height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|bgcolor={{{color}}} colspan=12|
|bgcolor={{{color|white}}} colspan={{#if:{{{image|}}}|12|9}}|
|-
|-
|colspan={{#if:{{{image|}}}|1|5}} height=1|
|colspan={{#if:{{{image|}}}|1|5}} height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border|gray}}}|
|bgcolor={{{color}}} colspan=13|
|bgcolor={{{color|white}}} colspan={{#if:{{{image|}}}|13|9}}|
|-
|-
{{#if:{{{image|}}}||{{!}}colspan=5{{!}}}}
{{#if:{{{image|}}}||{{!}}colspan=5{{!}}}}
|bgcolor={{{border|gray}}} height=1|
|bgcolor={{{border2|{{{border|gray}}}}}} height=1|
|bgcolor={{{color2}}} colspan=9|
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|9|4}}|
|bgcolor={{{line|{{{color2}}}}}}|
|bgcolor={{{line|{{{color2|{{{color|#CCCCCC}}}}}}}}}|
|bgcolor={{{color2}}} colspan=4|
|bgcolor={{{color2|{{{color|white}}}}}} colspan=4|
|rowspan=6 bgcolor={{{border2|{{{border|gray}}}}}}|
|-
|-
|colspan={{#if:{{{image|}}}|1|5}} height=1|
|colspan={{#if:{{{image|}}}|1|5}} height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border2|{{{border|gray}}}}}}|
|bgcolor={{{color2}}} colspan=13|
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|13|9}}|
|-
|-
|colspan={{#if:{{{image|}}}|2|5}} height=1|
|colspan={{#if:{{{image|}}}|2|5}} height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border2|{{{border|gray}}}}}}|
|bgcolor={{{color2}}} colspan=12|
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|12|9}}|
|-
|-
|colspan={{#if:{{{image|}}}|3|5}} height=1|
|colspan={{#if:{{{image|}}}|3|5}} height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border2|{{{border|gray}}}}}}|
|bgcolor={{{color2}}} colspan=11|
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|11|9}}|
|-
|-
|colspan={{#if:{{{image|}}}|4|5}} height=2|
|colspan={{#if:{{{image|}}}|4|5}} height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border2|{{{border|gray}}}}}}|
|bgcolor={{{color2}}} colspan=10|
|bgcolor={{{color2|{{{color|white}}}}}} colspan={{#if:{{{image|}}}|10|9}}|
|-
|-
|colspan=5 height=1|
|colspan=5 height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border2|{{{border|gray}}}}}}|
|bgcolor={{{color2}}} colspan=4|
|bgcolor={{{color2|{{{color|white}}}}}} colspan=4|
|bgcolor={{{color2}}}|<font color={{{textcolor2}}} face="{{{fonttype}}}"> {{{text}}}</font>
|bgcolor={{{color2|{{{color|white}}}}}} valign="top"|<font color="{{{textcolor2|{{{textcolor|black}}}}}}" face="{{{fonttype|arial}}}">{{{text}}}</font>
|bgcolor={{{color2}}} colspan=4|
|bgcolor={{{color2|{{{color|white}}}}}} colspan=4|
|-
{{#if:{{{color3|}}}|{{!}}colspan=5 height=1{{!}}|}}
{{#if:{{{color3|}}}|{{!}}bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}{{!}}|}}
{{#if:{{{color3|}}}|{{!}}bgcolor={{{color2|{{{color|white}}}}}} colspan=4{{!}}|}}
{{#if:{{{color3|}}}|{{!}}bgcolor={{{line2|{{{line|{{{color2|{{{color|white}}}}}}}}}}}}{{!}}|}}
{{#if:{{{color3|}}}|{{!}}bgcolor={{{color2|{{{color|white}}}}}} colspan=4{{!}}|}}
{{#if:{{{color3|}}}|{{!}}bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}{{!}}|}}
|-
{{#if:{{{color3|}}}|{{!}}colspan=5 height=2{{!}}|}}
{{#if:{{{color3|}}}|{{!}}bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}{{!}}|}}
{{#if:{{{color3|}}}|{{!}}bgcolor={{{color3}}} colspan=9{{!}}|}}
{{#if:{{{color3|}}}|{{!}}bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}{{!}}|}}
|-
|-
|colspan=6 height=2|
|colspan=6 height=2|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
|bgcolor={{{color3|{{{color2}}}}}} colspan=7|
|bgcolor={{{color3|{{{color2|{{{color|white}}}}}}}}} colspan=7|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
|
|
|-
|-
|colspan=7 height=1|
|colspan=7 height=1|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
|bgcolor={{{color3|{{{color2}}}}}} colspan=5|
|bgcolor={{{color3|{{{color2|{{{color|white}}}}}}}}} colspan=5|
|bgcolor={{{border|gray}}}|
|bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
|colspan=2|
|colspan=2|
|-
|-
|colspan=8 height=1|
|colspan=8 height=1|
|colspan=2 bgcolor={{{border|gray}}}|
|colspan=2 bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
|bgcolor={{{color3|{{{color2}}}}}}|
|bgcolor={{{color3|{{{color2|{{{color|white}}}}}}}}}|
|colspan=2 bgcolor={{{border|gray}}}|
|colspan=2 bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
|colspan=3|
|colspan=3|
|-
|-
|colspan=10 height=1|
|colspan=10 height=1|
|bgcolor={{{color3|{{{color2}}}}}} bgcolor={{{border|gray}}}|
|bgcolor={{{color3|{{{color2|{{{color|white}}}}}}}}} bgcolor={{{border3|{{{border2|{{{border|gray}}}}}}}}}|
|colspan=5|
|colspan=5|
</table>
</table>
Line 114: 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= (This line is optional)
|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)
|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)
|top-section=(This line is optional*)
|top-section=(This line is optional*)
|namecolor= (This line is optional. If not included, the textcolor field will be used)
|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)
|namefonttype= (This line is optional. If not included, the fonttype field will be used)
|textcolor=
|textcolor= (This line is optional. If not included the textcolor will be black)
|textcolor2=
|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)
|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)
|border= (This line is optional. If not included, the border will be gray)
|fonttype=
|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=
|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.)
Line 136: 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 144: Line 163:
</pre>
</pre>


[[Category:UserTalk templates| ]]
==Categorizing==
</noinclude>
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:User talk templates| ]]</noinclude>

Latest revision as of 14:16, 7 August 2024

[[User:{{{name}}}|{{{name}}}]] - {{{sig}}}
[[User talk:{{{name}}}|TALK]] - {{{time}}}
{{{text}}}

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.