User:Troisnyxetienne/Talk Template Archive/Emotion Guide: Difference between revisions
m (That's why) |
|||
Line 84: | Line 84: | ||
<pre> | <pre> | ||
{{#if:{{{text|}}}|{{TalkTextTest2 | |||
|image= | |||
|color= | |||
|color2= | |||
|textcolor= | |||
|textcolor2= | |||
|line= | |||
|fonttype= | |||
|name= | |||
|sig= | |||
|time={{{time}}} | |||
|text={{{text}}} | |||
}}|{{#if:{{{happy|}}}|{{TalkTextTest2 | |||
|image= | |||
|color= | |||
|color2= | |||
|textcolor= | |||
|textcolor2= | |||
|line= | |||
|fonttype= | |||
|name= | |||
|sig= | |||
|time={{{time}}} | |||
|text={{{happy}}} | |||
}} }} | |||
|{{#if:{{{sad|}}}|{{TalkTextTest2 | |{{#if:{{{sad|}}}|{{TalkTextTest2 | ||
|image= | |image= | ||
Line 96: | Line 121: | ||
|time={{{time}}} | |time={{{time}}} | ||
|text={{{sad}}} | |text={{{sad}}} | ||
}} | }} }}}}}} | ||
</pre> | </pre> | ||
{{TNE|happytext=So now you've got three emotions : normal, happy and sad. Based on the coding above, here's how to input these texts :}} | {{TNE|happytext=Take a good look at the two codes above (Normal/Happy and Sad). Take note of the ending. Where a usual talk template would end with two brackets like this <nowiki>}}</nowiki> , emotion templates end with more. The first template ended with four brackets <nowiki>}}}}</nowiki> , as there were two cases of <nowiki>{{#if:{{{insert text here|}}}</nowiki>. In the second template, there were three cases of <nowiki>{{#if:{{{insert text here|}}}</nowiki>. | ||
In short, the more if's you have, the more double brackets you have to place at the end of the template. | |||
So now you've got three emotions : normal, happy and sad. Based on the coding above, here's how to input these texts :}} | |||
<pre> | <pre> |
Revision as of 15:04, 5 April 2009
Salut ! Remember what I said at the User:Troisnyxetienne/Talk Template Archive about one textbox having so many emotions ? Here's a preview of mine :
|
|
|
|
|
|
|
If you look at Edit Page, you'll notice that the "text=" part of my talk bubble is replaceable : text, shocktext, attntext, happytext, angrytext, blahtext, and remerciement for seven different emotions. However, the template name is still the same - TNE.
Ever since this was made possible more and more people are approaching me for a full set of emotions on their talk bubbles. Okay, as promised, here's the Emotion Guide !
There will be two major sections in here : one for those using the common TalkTextTest2 templates (like those on the Talk Template Archive), and one for those starting from scratch.
Code for TalkTextTest2
|
{{TalkTextTest2 |image= |color= |color2= |textcolor= |textcolor2= |line= |fonttype= |name= |sig= |time={{{time}}} |text={{{text}}} }}
|
{{your username |sig= |time={{{time}}} (optional) |text={{{text}}} }}
|
{{#if:{{{text|}}}|{{TalkTextTest2 |image= |color= |color2= |textcolor= |textcolor2= |line= |fonttype= |name= |sig= |time={{{time}}} |text={{{text}}} }}|{{#if:{{{happy|}}}|{{TalkTextTest2 |image= |color= |color2= |textcolor= |textcolor2= |line= |fonttype= |name= |sig= |time={{{time}}} |text={{{happy}}} }} }}}}
|
{{#if:{{{text|}}}|{{TalkTextTest2 |image= |color= |color2= |textcolor= |textcolor2= |line= |fonttype= |name= |sig= |time={{{time}}} |text={{{text}}} }}|{{#if:{{{happy|}}}|{{TalkTextTest2 |image= |color= |color2= |textcolor= |textcolor2= |line= |fonttype= |name= |sig= |time={{{time}}} |text={{{happy}}} }} }} |{{#if:{{{sad|}}}|{{TalkTextTest2 |image= |color= |color2= |textcolor= |textcolor2= |line= |fonttype= |name= |sig= |time={{{time}}} |text={{{sad}}} }} }}}}}}
|
NORMAL {{your username time= text= }} HAPPY {{your username time= happy= }} SAD {{your username time= sad= }}
|
Code for those starting from scratch ! (Advanced wikimarkup)
I want you... to spot the difference
|
Template:Troisnyxetienne starts here -- {| style="background:transparent" |valign=top|[[Image:Yuffie_Chain.png|50px]] |<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent"> |- |COLSPAN=9 width=9 height=1| |bgcolor=limegreen height=1 width=1| |height=1 bgcolor=limegreen| |width=1 height=1 bgcolor=limegreen| |COLSPAN=4 width=4 height=1| |- |COLSPAN=8 width=8 height=1| |bgcolor=limegreen width=1 height=1| |BGCOLOR=lime width=1 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime width=1 height=1| |bgcolor=limegreen width=1 height=1| |COLSPAN=3 width=3 height=1| |- |COLSPAN=7 width=7 height=1| |width=1 height=1 BGCOLOR=limegreen | |BGCOLOR=lime COLSPAN=2 width=2 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=2 width=2 height=1| |width=1 height=1 BGCOLOR=limegreen| |COLSPAN=2 width=2 height=1| |- |COLSPAN=6 width=6 height=1| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=3 width="3" height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=3 width=3 height=1| |width=1 height=1 BGCOLOR=limegreen| |width=1 height=1| |- |COLSPAN=5 width=5| |width=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=4 width=4| |BGCOLOR=lime| [[User:Troisnyxetienne|<font color="black" face="Freestyle Script" size="5">TroisNyxÉtienne]] <sup>[[User talk:Troisnyxetienne|<font color="black">Appellez-moi !</font>]]</sup></font><font color="black" face="Freestyle Script" size="5"> — Les fragments d’un rêve qui ressemblent à un souvenir lointain.</font><p><font color="black" face="Trebuchet MS"><sub>''Is it me you're looking for ?''</sub></font></p> |BGCOLOR=lime COLSPAN=4 width=4| |width=1 BGCOLOR=limegreen| |- |COLSPAN=4 width=4| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=5 width=5| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |COLSPAN=3 width=3 height=1| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=6 width=6 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |COLSPAN=2 width=2 height=1| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=7 width=7 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |width=1 height=1| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=8 width=8 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=yellow COLSPAN=9 width=9 height=1| |BGCOLOR=yellow height="1" BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |width=1 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=8 width=8 height=1| |BGCOLOR=yellow height=1| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |- |COLSPAN=2 width=2 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=7 width=7 height=1| |BGCOLOR=yellow height=1| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |- |COLSPAN=3 width=3 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=6 width=6 height=1| |BGCOLOR=yellow height=1| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |- |COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=5 width=5| |BGCOLOR=yellow height=1| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |- |COLSPAN=5 width=5| |width=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |BGCOLOR=yellow height=1|<font color=black face="Trebuchet MS"> {{{text}}}</font> |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width="1" BGCOLOR=#greenyellow| |- |COLSPAN=6 width=6 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=gold COLSPAN=3 width=3 height=1| |BGCOLOR=gold height=1| |BGCOLOR=gold COLSPAN=3 width=3 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |width=1 height=1| |- |COLSPAN=7 width=7 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=gold COLSPAN=2 width=2 height=1| |BGCOLOR=gold height=1| |BGCOLOR=gold COLSPAN=2 width=2 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |COLSPAN=2 width=2 height=1| |- |COLSPAN=8 width=8 height=1| |bgcolor=#greenyellow width=1 height=1| |BGCOLOR=gold width=1 height=1| |BGCOLOR=gold height=1| |BGCOLOR=gold width=1 height=1| |bgcolor=#greenyellow width=1 height=1| |COLSPAN=3 width=3 height=1| |- |COLSPAN=9 width=9 height=1| |BGCOLOR=gold bgcolor=#greenyellow height=1 width=1| |BGCOLOR=gold height=1 bgcolor=#greenyellow | |BGCOLOR=gold width=1 height=1 bgcolor=#greenyellow | |COLSPAN=4 width=4 height=1| </table> |}
|
Template:TNE starts here - <includeonly>{| style="background:transparent" |valign=top|{{#if:{{{text|}}}|[[Image:Yuffie Chain.png|50px]]|}}{{#if:{{{shocktext|}}}|[[Image:Yuffie Surprise.png|50px]]|}}{{#if:{{{attntext|}}}|[[Image:Yuffie Credo.png|50px]]|}}{{#if:{{{angrytext|}}}|[[Image:Yuffie Enragee.png|50px]]|}}{{#if:{{{happytext|}}}|[[Image:Yuffie Rejouie.png|50px]]|}}{{#if:{{{blahtext|}}}|[[Image:Yuffie Correctionneuse.png|50px]]|}}{{#if:{{{remerciement|}}}|[[Image:Yuffie Assurance.png|50px]]|}} |<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent"> |- |COLSPAN=9 width=9 height=1| |bgcolor=limegreen height=1 width=1| |height=1 bgcolor=limegreen| |width=1 height=1 bgcolor=limegreen| |COLSPAN=4 width=4 height=1| |- |COLSPAN=8 width=8 height=1| |bgcolor=limegreen width=1 height=1| |BGCOLOR=lime width=1 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime width=1 height=1| |bgcolor=limegreen width=1 height=1| |COLSPAN=3 width=3 height=1| |- |COLSPAN=7 width=7 height=1| |width=1 height=1 BGCOLOR=limegreen | |BGCOLOR=lime COLSPAN=2 width=2 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=2 width=2 height=1| |width=1 height=1 BGCOLOR=limegreen| |COLSPAN=2 width=2 height=1| |- |COLSPAN=6 width=6 height=1| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=3 width="3" height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=3 width=3 height=1| |width=1 height=1 BGCOLOR=limegreen| |width=1 height=1| |- |COLSPAN=5 width=5| |width=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=4 width=4| |BGCOLOR=lime| [[User:Troisnyxetienne|<font color="black" face="Freestyle Script" size="5">TroisNyxÉtienne]] <sup>[[User talk:Troisnyxetienne|<font color="black">Appellez-moi !</font>]]</sup></font><font color="black" face="Freestyle Script" size="5"> — Les fragments d’un rêve qui ressemblent à un souvenir lointain.</font><p><font color="black" face="Trebuchet MS"><sub>{{#if:{{{text|}}}|''Is it me you're looking for ?''|}}{{#if:{{{shocktext|}}}|''No. Wait. SAY THAT AGAIN.''|}}{{#if:{{{attntext|}}}|Annonçant ici quelque chose d’'''important''', alors faites attention !|}}{{#if:{{{angrytext|}}}|Tu t’es déjà attiré(e) mes foudres, et tu le regretteras '''amèrement''' !|}}{{#if:{{{happytext|}}}|''It's real... ! Here's recompense for healing my heart.''|}}{{#if:{{{blahtext|}}}|''Er, helly doo sad wee to you too.''|}}{{#if:{{{remerciement|}}}|''I owe you one, now and always.''|}}</sub></font></p> |BGCOLOR=lime COLSPAN=4 width=4| |width=1 BGCOLOR=limegreen| |- |COLSPAN=4 width=4| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=5 width=5| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |COLSPAN=3 width=3 height=1| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=6 width=6 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |COLSPAN=2 width=2 height=1| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=7 width=7 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |width=1 height=1| |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=lime COLSPAN=8 width=8 height=1| |BGCOLOR=lime height=1| |BGCOLOR=lime COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |width=1 height=1 BGCOLOR=limegreen| |BGCOLOR=yellow COLSPAN=9 width=9 height=1| |BGCOLOR=yellow height="1" BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=limegreen| |- |width=1 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=8 width=8 height=1| |BGCOLOR=yellow height=1| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |- |COLSPAN=2 width=2 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=7 width=7 height=1| |BGCOLOR=yellow height=1| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |- |COLSPAN=3 width=3 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=6 width=6 height=1| |BGCOLOR=yellow height=1| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |- |COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=5 width=5| |BGCOLOR=yellow height=1| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |- |COLSPAN=5 width=5| |width=1 BGCOLOR=#greenyellow| |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |BGCOLOR=yellow height=1|<font color=black face="Trebuchet MS">{{#if:{{{text|}}}|{{{text}}}|}}{{#if:{{{shocktext|}}}|{{{shocktext}}}|}}{{#if:{{{attntext|}}}|{{{attntext}}}|}}{{#if:{{{angrytext|}}}|{{{angrytext}}}|}}{{#if:{{{happytext|}}}|{{{happytext}}}|}}{{#if:{{{blahtext|}}}|{{{blahtext}}}|}}{{#if:{{{remerciement|}}}|{{{remerciement}}}|}}</font> |BGCOLOR=yellow COLSPAN=4 width=4 height=1| |width="1" BGCOLOR=#greenyellow| |- |COLSPAN=6 width=6 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=gold COLSPAN=3 width=3 height=1| |BGCOLOR=gold height=1| |BGCOLOR=gold COLSPAN=3 width=3 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |width=1 height=1| |- |COLSPAN=7 width=7 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |BGCOLOR=gold COLSPAN=2 width=2 height=1| |BGCOLOR=gold height=1| |BGCOLOR=gold COLSPAN=2 width=2 height=1| |width=1 height=1 BGCOLOR=#greenyellow| |COLSPAN=2 width=2 height=1| |- |COLSPAN=8 width=8 height=1| |bgcolor=#greenyellow width=1 height=1| |BGCOLOR=gold width=1 height=1| |BGCOLOR=gold height=1| |BGCOLOR=gold width=1 height=1| |bgcolor=#greenyellow width=1 height=1| |COLSPAN=3 width=3 height=1| |- |COLSPAN=9 width=9 height=1| |BGCOLOR=gold bgcolor=#greenyellow height=1 width=1| |BGCOLOR=gold height=1 bgcolor=#greenyellow | |BGCOLOR=gold width=1 height=1 bgcolor=#greenyellow | |COLSPAN=4 width=4 height=1| </table> |}</includeonly>
Okay, we're too exhausted to even spot the difference !
|
- First template
|valign=top|[[Image:Yuffie_Chain.png|50px]]
- Second template
|valign=top|{{#if:{{{text|}}}|[[Image:Yuffie Chain.png|50px]]|}}{{#if:{{{shocktext|}}}|[[Image:Yuffie Surprise.png|50px]]|}}{{#if:{{{attntext|}}}|[[Image:Yuffie Credo.png|50px]]|}}{{#if:{{{angrytext|}}}|[[Image:Yuffie Enragee.png|50px]]|}}{{#if:{{{happytext|}}}|[[Image:Yuffie Rejouie.png|50px]]|}}{{#if:{{{blahtext|}}}|[[Image:Yuffie Correctionneuse.png|50px]]|}}{{#if:{{{remerciement|}}}|[[Image:Yuffie Assurance.png|50px]]|}}
|
- First template
|BGCOLOR=lime| [[User:Troisnyxetienne|<font color="black" face="Freestyle Script" size="5">TroisNyxÉtienne]] <sup>[[User talk:Troisnyxetienne|<font color="black">Appellez-moi !</font>]]</sup></font><font color="black" face="Freestyle Script" size="5"> — Les fragments d’un rêve qui ressemblent à un souvenir lointain.</font><p><font color="black" face="Trebuchet MS"><sub>''Is it me you're looking for ?''</sub></font></p>
- Second template
|BGCOLOR=lime| [[User:Troisnyxetienne|<font color="black" face="Freestyle Script" size="5">TroisNyxÉtienne]] <sup>[[User talk:Troisnyxetienne|<font color="black">Appellez-moi !</font>]]</sup></font><font color="black" face="Freestyle Script" size="5"> — Les fragments d’un rêve qui ressemblent à un souvenir lointain.</font><p><font color="black" face="Trebuchet MS"><sub>{{#if:{{{text|}}}|''Is it me you're looking for ?''|}}{{#if:{{{shocktext|}}}|''No. Wait. SAY THAT AGAIN.''|}}{{#if:{{{attntext|}}}|Annonçant ici quelque chose d’'''important''', alors faites attention !|}}{{#if:{{{angrytext|}}}|Tu t’es déjà attiré(e) mes foudres, et tu le regretteras '''amèrement''' !|}}{{#if:{{{happytext|}}}|''It's real... ! Here's recompense for healing my heart.''|}}{{#if:{{{blahtext|}}}|''Er, helly doo sad wee to you too.''|}}{{#if:{{{remerciement|}}}|''I owe you one, now and always.''|}}</sub></font></p>
|
- First template
|BGCOLOR=yellow height=1|<font color=black face="Trebuchet MS"> {{{text}}}</font>
- Second template
|BGCOLOR=yellow height=1|<font color=black face="Trebuchet MS">{{#if:{{{text|}}}|{{{text}}}|}}{{#if:{{{shocktext|}}}|{{{shocktext}}}|}}{{#if:{{{attntext|}}}|{{{attntext}}}|}}{{#if:{{{angrytext|}}}|{{{angrytext}}}|}}{{#if:{{{happytext|}}}|{{{happytext}}}|}}{{#if:{{{blahtext|}}}|{{{blahtext}}}|}}{{#if:{{{remerciement|}}}|{{{remerciement}}}|}}</font>
|
{{#if:{{{Insert text here|}}}
(To be updated. In the meantime, can any advanced user over here help me to make this section more... intelligible ? Please and thank you !)