Template:Phonorule: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#ifeq:{{{large|}}}|true|<table style="display: inline-table"><tr> | {{#ifeq:{{{large|}}}|true|<table style="display: inline-table"><tr><td style="white-space: nowrap;">{{{pre|∅}}}</td><td> → </td><td style="white-space: nowrap;">{{{post|∅}}} </td>{{#if:{{{cond|}}}|<td style="background-image: linear-gradient(to left top, #00000000 calc(50% - 0.7px), black, #00000000 calc(50% + 0.7px)); width: 1.5em;"> </td><td style="white-space: nowrap;"> {{{cond}}}</td>}}</tr></table>|{{{pre|∅}}} → {{{post|∅}}}{{#if:{{{cond|}}}| ⧸ {{{cond}}}}}}}<noinclude> | ||
<td style="white-space: nowrap;">{{{pre|∅}}}</td> | |||
<td> → </td> | |||
<td style="white-space: nowrap;">{{{post|∅}}} </td>{{#if:{{{cond|}}} | |||
|<td style="background-image: linear-gradient(to left top, #00000000 calc(50% - 0.7px), black, #00000000 calc(50% + 0.7px)); width: 1.5em;"> </td> | |||
<td style="white-space: nowrap;"> {{{cond}}}</td>}}</tr></table>|{{{pre|∅}}} → {{{post|∅}}}{{#if:{{{cond|}}}| ⧸ {{{cond}}}}}}} | |||
<noinclude> | |||
[[Category:Templates]]{{documentation}} | [[Category:Templates]]{{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 21:12, 4 February 2020
∅ → ∅
- The following documentation is located at Template:Phonorule/doc. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Streamlined sound change rule template
{{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
{{Phonorule|A|B}} {{Phonorule|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|}} }}
∅ | → | ∅ |
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|}} }}
∅ | → | ∅ |