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

→‎Code for TalkTextTest2: Added some colour into that thing !
(→‎Code for TalkTextTest2: Added some colour into that thing !)
Line 17: Line 17:
==Code for TalkTextTest2==
==Code for TalkTextTest2==


[[Template: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''' :
{{TNE|text=[[Template: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''' :}}


<pre>
<pre>
Line 35: Line 35:
</pre>
</pre>


and you enter in the talk code with
{{TNE|blahtext=and you enter in the talk code with}}


<pre>
<pre>
Line 45: Line 45:
</pre>
</pre>


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.
{{TNE|tetx=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 :
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 :}}


<pre>
<pre>
Line 77: Line 77:
</pre>
</pre>


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 : '''<nowiki>|{{#if:{{{<INSERT TEXT HERE>|}}}|</nowiki>'''
{{TNE|text=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 : '''<nowiki>|{{#if:{{{<INSERT TEXT HERE>|}}}|</nowiki>'''


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=" :
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=" :}}


<pre>
<pre>
Line 97: Line 97:
</pre>
</pre>


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=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 122: Line 122:
</pre>
</pre>


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.
{{TNE|text=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)==
==Code for those starting from scratch ! (Advanced wikimarkup)==
23,123

edits