Template:Phonorule: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with "{{{pre|∅}}} → {{{post|∅}}}{{#if:{{{cond}}}| ⧸ {{{cond}}}}}")
 
No edit summary
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{{pre|∅}}} → {{{post|∅}}}{{#if:{{{cond}}}| ⧸ {{{cond}}}}}
{{#ifeq:{{{large|}}}|true|<table style="border: none; vertical-align: text-top;"><tr><td style="white-space: nowrap; border: none;">{{{1|∅}}}</td><td style="border: none;">&ensp;<big>→</big>&ensp;</td><td style="white-space: nowrap; border: none;">{{{2|∅}}}&ensp;</td>{{#if:{{{3|}}}|<td style="background-image: linear-gradient(to left top, rgba(255,255,255,0) calc(50% - 0.7px), black, rgba(255,255,255,0) calc(50% + 0.7px)); width: 1.5em; border: none;">&nbsp;</td><td style="white-space: nowrap; border: none;">&ensp;{{{3}}}</td>}}</tr></table>|{{{1|∅}}}&ensp;<big></big>&ensp;{{{2|∅}}}{{#if:{{{3|}}}|&ensp;&#10744;&ensp;{{{3}}}}}}}<noinclude>
[[Category:Templates]]{{documentation}}
</noinclude>

Latest revision as of 12:11, 11 July 2022

∅  ∅


Streamlined sound change rule template

{{Phonorule|A|B|C}}

A  B ⧸ C

You can omit the second and last values. Ommitng the last value reults in an universal rule, ommiting the second too results in simple elision

{{Phonorule|A|B}}
{{Phonorule|A}}

A  B

A  ∅

You can also use the Multifeature template with the option <code>|large=true</code> for complex rules.

{{Phonorule
| large = true
| {{Multifeature|+stop|+consonant|+alveolar}}
| [ɾ]
| {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
}}
+stop
+consonant
+alveolar
[ɾ]   
+vowel
+stressed
___
+vowel
-stressed

Or, my preferred way, just wrap everything in Multifeature, it looks better

{{Phonorule
| large = true
| {{Multifeature|+stop|+consonant|+alveolar}}
| {{Multifeature|ɾ}}
| {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
}}
+stop
+consonant
+alveolar
ɾ
 
+vowel
+stressed
___
+vowel
-stressed