Template:Tone: Difference between revisions

239 bytes added ,  00:36, 17 January 2023
explain Delta/Template:Done
(tooltips!)
(explain Delta/Template:Done)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''{{#switch:{{{1}}}|
<noinclude>
  | 1 = <{{#if:{{{2|}}}|span|abbr}} title="flat tone"              style="color: #a00">{{#if:{{{2|}}}|flat tone             &nbsp;|}}◌̄</{{#if:{{{2|}}}|span|abbr}}>
<div class=warningbox>
  | 2 = <{{#if:{{{2|}}}|span|abbr}} title="rising tone"            style="color: #960">{{#if:{{{2|}}}|rising tone           &nbsp;|}}◌́</{{#if:{{{2|}}}|span|abbr}}>
If you’re here to learn about Toaq’s tones, please [[Tone|follow this link to the main article]].
  | 3 = <{{#if:{{{2|}}}|span|abbr}} title="rising-creaky tone"      style="color: #880">{{#if:{{{2|}}}|rising-creaky tone     &nbsp;|}}◌̈</{{#if:{{{2|}}}|span|abbr}}>
 
  | 4 = <{{#if:{{{2|}}}|span|abbr}} title="falling tone"            style="color: #0a0">{{#if:{{{2|}}}|falling tone          &nbsp;|}}◌̉</{{#if:{{{2|}}}|span|abbr}}>
This template is for the 7 or 8 different Toaq Beta/Gamma tones. Use [[Template:Done]] for Delta tones.
   | 5 = <{{#if:{{{2|}}}|span|abbr}} title="rising-falling tone"    style="color: #00f">{{#if:{{{2|}}}|rising-falling tone   &nbsp;|}}◌̂</{{#if:{{{2|}}}|span|abbr}}>
</div>
   | 6 = <{{#if:{{{2|}}}|span|abbr}} title="low-falling tone"        style="color: #088">{{#if:{{{2|}}}|low-falling tone       &nbsp;|}}◌̀</{{#if:{{{2|}}}|span|abbr}}>
 
   | 7 = <{{#if:{{{2|}}}|span|abbr}} title="low-falling creaky tone" style="color: #808">{{#if:{{{2|}}}|low-falling creaky tone&nbsp;|}}◌̃</{{#if:{{{2|}}}|span|abbr}}>
This template lets you paste nice tone images without having to worry about pasting images. The first argument has to be the numeric name of the tone itself; the second argument – optional – controls the size of the image embed.
   | 8 = <{{#if:{{{2|}}}|span|abbr}} title="neutral tone"            style="color: #555">{{#if:{{{2|}}}|neutral tone           &nbsp;|}}◌</{{#if:{{{2|}}}|span|abbr}}>
 
   | 0 = <{{#if:{{{2|}}}|span|abbr}} title="neutral tone"            style="color: #555">{{#if:{{{2|}}}|neutral tone           &nbsp;|}}◌</{{#if:{{{2|}}}|span|abbr}}>
== Available tones ==
   | 3old = <{{#if:{{{2|}}}|span|abbr}} title="rising-creaky tone (obsolete)"  style="color: #880">{{#if:{{{2|}}}|rising-creaky tone    &nbsp;|}}◌̈</{{#if:{{{2|}}}|span|abbr}}>
 
=== Delta ===
See [[Template:Done]].
 
=== Gamma ===
 
* {{tone|2}} '''<code>2</code>''' – rising tone
* {{tone|3}} '''<code>3</code>''' – rising-creaky tone
* {{tone|4}} '''<code>4</code>''' – falling tone
* {{tone|5}} '''<code>5</code>''' – rising-falling tone
* {{tone|6}} '''<code>6</code>''' – mid-falling tone
* {{tone|7}} '''<code>7</code>''' – falling creaky tone
* {{tone|8}} '''<code>8</code>''' or '''<code>0</code>''' – neutral tone
 
=== Beta ===
 
* {{tone|1}} '''<code>1</code>''' – flat tone
* {{tone|3old}} '''<code>3old</code>''' – falling-rising tone (previous form of the third tone {{tone|3}})
 
</noinclude><includeonly><span class=no-decoration>{{#switch:{{{1}}}|
  | 1 = [[File:T1.png|{{{2|20}}}px|link=Template:Tone|flat tone]]
   | 2 = [[File:T2.png|{{{2|20}}}px|link=Template:Tone|rising tone]]
  | 3 = [[File:T3.png|{{{2|20}}}px|link=Template:Tone|rising-creaky tone]]
  | 4 = [[File:T4.png|{{{2|20}}}px|link=Template:Tone|falling tone]]
   | 5 = [[File:T5.png|{{{2|20}}}px|link=Template:Tone|rising-falling tone]]
  | 6 = [[File:T6.png|{{{2|20}}}px|link=Template:Tone|mid-falling tone]]
   | 7 = [[File:T7.png|{{{2|20}}}px|link=Template:Tone|falling creaky tone]]
   | 8 = [[File:T8.png|{{{2|20}}}px|link=Template:Tone|neutral tone]]
   | 0 = [[File:T8.png|{{{2|20}}}px|link=Template:Tone|neutral tone]]
   | 3old = [[File:T3old.png|{{{2|20}}}px|link=Template:Tone|falling-rising tone (obsolete 3rd tone)]]
   | (UNKNOWN TONE {{{1}}})
   | (UNKNOWN TONE {{{1}}})
}}'''
}}</span></includeonly>