Template:Phonorule/doc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(2 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|}}
}}
}}


You can also use the [[Template:Multifeature|Multifeature]] template woth the option <nowiki><code>|large=true</code></nowiki> for complex rules.
Or, my preferred way, just wrap everything in Multifeature, it looks better
 
  <nowiki>{{Phonorule
  <nowiki>{{Phonorule
| large = true
| large = true
| pre = {{Multifeature|+stop|+consonant|+alveolar}}
| {{Multifeature|+stop|+consonant|+alveolar}}
| post = [ɾ]
| {{Multifeature|ɾ}}
| cond = {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
| {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
}}</nowiki>
}}</nowiki>
{{Phonorule
{{Phonorule
| large = true
| large = true
| pre = {{Multifeature|+stop|+consonant|+alveolar}}
| {{Multifeature|+stop|+consonant|+alveolar}}
| post = [ɾ]
| {{Multifeature|ɾ}}
| cond = {{Multifeature|+vowel|+stressed|}} ___ {{Multifeature|+vowel|-stressed|}}
| {{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