User:Troisnyxetienne/Talk Template Archive/Emotion Guide: Difference between revisions
Line 451: | Line 451: | ||
'''The whole idea is that different emotions can already be added into their respective sections : images, signature/time, and text. Unlike TalkTextTest2, you don't need to add in the coding for the talk bubble over and over again, because you're starting from scratch. However, as in the first set of codes, the key to adding emotions lies in this set of text :''' | '''The whole idea is that different emotions can already be added into their respective sections : images, signature/time, and text. Unlike TalkTextTest2, you don't need to add in the coding for the talk bubble over and over again, because you're starting from scratch. However, as in the first set of codes, the key to adding emotions lies in this set of text :''' | ||
<nowiki | <nowiki>{{#if:{{{Insert text here|}}}</nowiki> | ||
'''(To be updated.)''' | '''(To be updated. In the meantime, can any advanced user over here help me to make this section more... intelligible ? Please and thank you !)''' |
Revision as of 02:30, 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 is the basic talkbox that most of us use - and probably the most flexible, in that the colours, time and sig can be changed rather flexibly at will, and the coding is rather short. Before I even begin explaining how one emotion can be joined with another, let's revise the basic code for TalkTextTest2 :
{{TalkTextTest2 |image= |color= |color2= |textcolor= |textcolor2= |line= |fonttype= |name= |sig= |time={{{time}}} |text={{{text}}} }}
and you enter in the talk code with
{{your username |sig= |time={{{time}}} (optional) |text={{{text}}} }}
Now, with this basic code, if you have talk bubbles of two different emotions, you might be doing the same thing as I once did - storing them under two separate templates.
Okay, now suppose you want to fuse two emotions together, and you want your normal input to be "text=" and your, say, happy input to be "happy=". This is how it's done :
{{#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}}} }}
Each template has a different set of colour slots, as well as a different entry for images, allowing you to put different images for different feelings. The whole key lies with these characters : |{{#if:{{{<INSERT TEXT HERE>|}}}|
So if you want to add another emotion, say, sadness and you want your input to start with "sad=", then simply continue from where we left off at "happy=" :
|{{#if:{{{sad|}}}|{{TalkTextTest2 |image= |color= |color2= |textcolor= |textcolor2= |line= |fonttype= |name= |sig= |time={{{time}}} |text={{{sad}}} }}
So now you've got three emotions : normal, happy and sad. Based on the coding above, here's how to input these texts :
NORMAL {{your username time= text= }} HAPPY {{your username time= happy= }} SAD {{your username time= sad= }}
There you go ! And once you've managed to gather all images for your emotions, repeat the same process. Note that the Time part of the template is optional, and most people just choose to have one "time" per emotion, instead of having to change all the time.
Code for those starting from scratch ! (Advanced wikimarkup)
I want you... to spot the difference
As I mentioned to a few users over here, the code for starting from scratch is rather long. ILHI managed to help me with this. It's rather different from TalkTextTest2.
Now, I'm going to put examples of two templates : Template:Troisnyxetienne and Template:TNE, and if you're patient enough in reading this... I'd like you to spot the difference. And I'm truly sorry because there are just too many scrollbars in this section...
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> |}
Phew, that must've been an exhausting read, ya ? Wait : we've still got one more template to go !
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 !
The difference lies between the images :
- 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]]|}}
In the signature and time inputs :
- 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>
And in the text :
- 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>
The whole idea is that different emotions can already be added into their respective sections : images, signature/time, and text. Unlike TalkTextTest2, you don't need to add in the coding for the talk bubble over and over again, because you're starting from scratch. However, as in the first set of codes, the key to adding emotions lies in this set of text :
{{#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 !)