User:Troisnyxetienne/Talk Template Archive/Emotion Guide: Difference between revisions

m
Text replacement - "\[\[(:)?Image:" to "[[$1File:"
m (Text replacement - "\[\[(:)?Image:" to "[[$1File:")
 
(5 intermediate revisions by 2 users not shown)
Line 15: Line 15:
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.
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==
==Code for TalkTextTest2 (the basic talk bubble)==


{{TNE|text= Okay, I'm actually '''''compelled''''' to do this, or else people will see this guide with nothing but black and white text, and they'll probably get fed up of me...
{{TNE|text= Okay, I'm actually '''''compelled''''' to do this, or else people will see this guide with nothing but black and white text, and they'll probably get fed up of me...
Line 76: Line 76:
|time={{{time}}}
|time={{{time}}}
|text={{{happy}}}
|text={{{happy}}}
}}
}} }}}}
</pre>
</pre>


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>. So '''six brackets <nowiki>}}}}}}</nowiki>''' have to be placed at the ending of the template.
 
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>
Line 136: Line 167:


{| style="background:transparent"  
{| style="background:transparent"  
|valign=top|[[Image:Yuffie_Chain.png|50px]]
|valign=top|[[File:Yuffie_Chain.png|50px]]
|<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent">
|<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent">
|-
|-
Line 284: Line 315:


<includeonly>{| style="background:transparent"  
<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]]|}}
|valign=top|{{#if:{{{text|}}}|[[File:Yuffie Chain.png|50px]]|}}{{#if:{{{shocktext|}}}|[[File:Yuffie Surprise.png|50px]]|}}{{#if:{{{attntext|}}}|[[File:Yuffie Credo.png|50px]]|}}{{#if:{{{angrytext|}}}|[[File:Yuffie Enragee.png|50px]]|}}{{#if:{{{happytext|}}}|[[File:Yuffie Rejouie.png|50px]]|}}{{#if:{{{blahtext|}}}|[[File:Yuffie Correctionneuse.png|50px]]|}}{{#if:{{{remerciement|}}}|[[File:Yuffie Assurance.png|50px]]|}}
|<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent">
|<table width=100% border="0" cellpadding="0" cellspacing="0" style="background:transparent">
|-
|-
Line 430: Line 461:


;First template
;First template
<nowiki>|valign=top|[[Image:Yuffie_Chain.png|50px]]</nowiki>
<nowiki>|valign=top|[[File:Yuffie_Chain.png|50px]]</nowiki>


;Second template
;Second template
<nowiki>|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]]|}}</nowiki>
<nowiki>|valign=top|{{#if:{{{text|}}}|[[File:Yuffie Chain.png|50px]]|}}{{#if:{{{shocktext|}}}|[[File:Yuffie Surprise.png|50px]]|}}{{#if:{{{attntext|}}}|[[File:Yuffie Credo.png|50px]]|}}{{#if:{{{angrytext|}}}|[[File:Yuffie Enragee.png|50px]]|}}{{#if:{{{happytext|}}}|[[File:Yuffie Rejouie.png|50px]]|}}{{#if:{{{blahtext|}}}|[[File:Yuffie Correctionneuse.png|50px]]|}}{{#if:{{{remerciement|}}}|[[File:Yuffie Assurance.png|50px]]|}}</nowiki>


{{TNE|text=In the signature and time inputs :}}
{{TNE|text=In the signature and time inputs :}}
Line 456: Line 487:


'''(To be updated. In the meantime, can any advanced user over here help me to make this section more... intelligible ? Please and thank you !)'''
'''(To be updated. In the meantime, can any advanced user over here help me to make this section more... intelligible ? Please and thank you !)'''
{{TNE-Subpages}}