Help:Template:Voweltable: Difference between revisions
m (Backlink) |
m (Typo -- wordordero?) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 19: | Line 19: | ||
Where each <code>|</code> marks the beginning of a parameter definition of the form <code>''parameter name'' = ''parameter value''</code>. | Where each <code>|</code> marks the beginning of a parameter definition of the form <code>''parameter name'' = ''parameter value''</code>. | ||
In order to make the template call clearer you can format for example | In order to make the template call clearer you can format it for example like this: | ||
<nowiki>{{Voweltable| caption = Swedish dialect vowel spellings |= | <nowiki>{{Voweltable| caption = Swedish dialect vowel spellings |= | ||
Line 35: | Line 35: | ||
All parameters are optional <!-- in the sense that --> | All parameters are optional <!-- in the sense that --> | ||
== Parameter names key == | |||
{{Voweltable|= | {{Voweltable|= | ||
| width = 100% |= | | width = 100% |= | ||
Line 44: | Line 44: | ||
| i = <tt>i</tt> = {{BIGIPA|i}} |= | | i = <tt>i</tt> = {{BIGIPA|i}} |= | ||
| y = <tt>y</tt> = {{BIGIPA|y}} |= | | y = <tt>y</tt> = {{BIGIPA|y}} |= | ||
| i\ = <tt>i\</tt> = {{BIGIPA| | | i\ = <tt>i\</tt> = {{BIGIPA|ɨ}} |= | ||
| u\ = <tt>u\</tt> = {{BIGIPA| | | u\ = <tt>u\</tt> = {{BIGIPA|ʉ}} |= | ||
| M = <tt>M</tt> = {{BIGIPA| | | M = <tt>M</tt> = {{BIGIPA|ɯ}} |= | ||
| u = <tt>u</tt> = {{BIGIPA|u}} |= | | u = <tt>u</tt> = {{BIGIPA|u}} |= | ||
| I = <tt>I</tt> = {{BIGIPA| | | I = <tt>I</tt> = {{BIGIPA|ɪ}} |= | ||
| Y = <tt>Y</tt> = {{BIGIPA| | | Y = <tt>Y</tt> = {{BIGIPA|ʏ}} |= | ||
| I\ = <tt>I\</tt> = {{BIGIPA| | | I\ = <tt>I\</tt> = {{BIGIPA|ɪ̵}} |= | ||
| U\ = <tt>U\</tt> = {{BIGIPA| | | U\ = <tt>U\</tt> = {{BIGIPA|ʊ̶}} |= | ||
| M_o = <tt>M_o</tt> = {{BIGIPA| | | M_o = <tt>M_o</tt> = {{BIGIPA|ɯ̞}} |= | ||
| U = <tt>U</tt> = {{BIGIPA| | | U = <tt>U</tt> = {{BIGIPA|ʊ}} |= | ||
| e = <tt>e</tt> = {{BIGIPA|e}} |= | | e = <tt>e</tt> = {{BIGIPA|e}} |= | ||
| 2 = <tt>2</tt> = {{BIGIPA|ø}} |= | | 2 = <tt>2</tt> = {{BIGIPA|ø}} |= | ||
| 8\ = <tt>8\</tt> = {{BIGIPA| | | 8\ = <tt>8\</tt> = {{BIGIPA|ɵ̟ʷ}}|= | ||
| @\ = <tt>@\</tt> = {{BIGIPA| | | @\ = <tt>@\</tt> = {{BIGIPA|ɘ}} |= | ||
| @ = <tt>@</tt> = {{BIGIPA| | | @ = <tt>@</tt> = {{BIGIPA|ə}} |= | ||
| 8 = <tt>8</tt> = {{BIGIPA| | | 8 = <tt>8</tt> = {{BIGIPA|ɵ}} |= | ||
| 7 = <tt>7</tt> = {{BIGIPA| | | 7 = <tt>7</tt> = {{BIGIPA|ɤ}} |= | ||
| o = <tt>o</tt> = {{BIGIPA|o}} |= | | o = <tt>o</tt> = {{BIGIPA|o}} |= | ||
| E = <tt>E</tt> = {{BIGIPA| | | E = <tt>E</tt> = {{BIGIPA|ɛ}} |= | ||
| 9 = <tt>9</tt> = {{BIGIPA|œ}} |= | | 9 = <tt>9</tt> = {{BIGIPA|œ}} |= | ||
| 3 = <tt>3</tt> = {{BIGIPA| | | 3 = <tt>3</tt> = {{BIGIPA|ɜ}} |= | ||
| 3\ = <tt>3\</tt> = {{BIGIPA| | | 3\ = <tt>3\</tt> = {{BIGIPA|ɞ}} |= | ||
| V = <tt>V</tt> = {{BIGIPA| | | V = <tt>V</tt> = {{BIGIPA|ʌ}} |= | ||
| O = <tt>O</tt> = {{BIGIPA| | | O = <tt>O</tt> = {{BIGIPA|ɔ}} |= | ||
| & = <tt>&</tt> = {{BIGIPA|æ}} |= | | & = <tt>&</tt> = {{BIGIPA|æ}} |= | ||
| &\ = <tt>&\</tt> = {{BIGIPA| | | &\ = <tt>&\</tt> = {{BIGIPA|ɶ}} |= | ||
| 6 = <tt>6</tt> = {{BIGIPA| | | 6 = <tt>6</tt> = {{BIGIPA|ɐ}} |= | ||
| 3\_o = <tt>3\_o</tt> = {{BIGIPA| | | 3\_o = <tt>3\_o</tt> = {{BIGIPA|ɞ̞}} |= | ||
| V_o = <tt>V_o</tt> = {{BIGIPA| | | V_o = <tt>V_o</tt> = {{BIGIPA|ʌ̞}} |= | ||
| O_o = <tt>O_o</tt> = {{BIGIPA| | | O_o = <tt>O_o</tt> = {{BIGIPA|ɔ̞}} |= | ||
| a = <tt>a</tt> = {{BIGIPA|a}} |= | | a = <tt>a</tt> = {{BIGIPA|a}} |= | ||
| &\_o = <tt>&\_o</tt> = {{BIGIPA| | | &\_o = <tt>&\_o</tt> = {{BIGIPA|ɶ̞}} |= | ||
| a_x = <tt>a_x</tt> = {{BIGIPA| | | a_x = <tt>a_x</tt> = {{BIGIPA|a̽}} |= | ||
| Q_x = <tt>Q_x</tt> = {{BIGIPA| | | Q_x = <tt>Q_x</tt> = {{BIGIPA|ɒ̽}} |= | ||
| A = <tt>A</tt> = {{BIGIPA| | | A = <tt>A</tt> = {{BIGIPA|ɑ}} |= | ||
| Q = <tt>Q</tt> = {{BIGIPA| | | Q = <tt>Q</tt> = {{BIGIPA|ɒ}} |= | ||
}} | }} | ||
== Notes == | == Notes == | ||
# {{Note|invisible}} Actually a definition a 'nameless named variable' which doesn't get used in the template. | # {{Note|invisible}} Actually a definition a 'nameless named variable' which doesn't get used in the template. | ||
# {{Note|equalsign}} And a parameter name may not contain any <code>=</code>. Not a problem to us as long as we use a [[CXS]] syllabic consonant transcription as a parameter name! {{-)}} | # {{Note|equalsign}} And a parameter name may not contain any <code>=</code>. Not a problem to us as long as we use a [[CXS]] syllabic consonant transcription as a parameter name! {{-)}} |
Latest revision as of 12:38, 15 November 2006
What is it for?
This template helps you make a table showing the vowels of your language.
In order the template uses named parameters; this means more typing, but with 38 parameters which all should be optional it is the only way to make the template manageable — and easier than coding the whole table yourself each time.
How does it work?
In order to get this:
- REDIRECT Template:Full voweltable
you enter this:
{{Voweltable| caption = Swedish dialect vowel spellings | i = i | y = y | I = î ''or'' ê | e = e | 2 = ö | 8\ = — u | u\ = (u) | 8 = û | E = ä | & = (â) | a = â | &\ = (ô) | 3\ = ô | u = o | o = å | Q = a | A = (a) | @ = (e)}}
Where each |
marks the beginning of a parameter definition of the form parameter name = parameter value
.
In order to make the template call clearer you can format it for example like this:
{{Voweltable| caption = Swedish dialect vowel spellings |= | i = i | y = y | I = î ''or'' ê | e = e |= | 2 = ö | 8\ = — u | u\ = (u) | 8 = û |= | E = ä | & = (â) | a = â | &\ = (ô) | 3\ = ô |= | u = o | o = å | Q = a | A = (a) | @ = (e)}}
Everything from a |=
up to the next |
is 'invisible' to the wiki engine[1], so you can put newlines, comments etc. there.
You may also put any amount of optional whitespace on either side of a |
or =
.
A parameter value may not contain any |
(use |
in the value instead! ☺)[2]
All parameters are optional
Parameter names key
- REDIRECT Template:Full voweltable