Template:Phonorule/doc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with "Streamlined sound change rule template <nowiki>{{Phonorule | pre = A | post = B | cond = C }}</nowiki> {{Phonorule |pre= A |post= B |cond= C }}")
 
mNo edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
Streamlined sound change rule template
Streamlined sound change rule template
<nowiki>{{Phonorule|A|B|C}}</nowiki>
{{Phonorule|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
<nowiki>{{Phonorule|A|B}}
{{Phonorule|A}}</nowiki>
{{Phonorule|A|B}}
{{Phonorule|A}}
You can also use the [[Template:Multifeature|Multifeature]] template with the option <nowiki><code>|large=true</code></nowiki> for complex rules.


  <nowiki>{{Phonorule
  <nowiki>{{Phonorule
| pre = A
| large = true
| post = B
| {{Multifeature|+stop|+consonant|+alveolar}}
| cond = C
| [ɾ]
| {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
}}</nowiki>
}}</nowiki>
{{Phonorule
{{Phonorule
|pre= A
| large = true
|post= B
| {{Multifeature|+stop|+consonant|+alveolar}}
|cond= C
| [ɾ]
| {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
}}
 
Or, my preferred way, just wrap everything in Multifeature, it looks better
<nowiki>{{Phonorule
| large = true
| {{Multifeature|+stop|+consonant|+alveolar}}
| {{Multifeature|ɾ}}
| {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
}}</nowiki>
{{Phonorule
| large = true
| {{Multifeature|+stop|+consonant|+alveolar}}
| {{Multifeature|ɾ}}
| {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
}}
}}

Latest revision as of 13:34, 11 September 2020

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