Template:Multifeature: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style=" border-spacing: 0px; text-align: {{{align|left}}}; user-select: none;">
<table style="display: inline-table; border-spacing: 0px; text-align: {{{align|left}}};">
<tr><td style="border: 1px solid black; border-right: none; {{#ifeq:{{{rounded|}}}|true|border-radius: 5px 0 0 5px;}} width: 0.1em;"></td><td>&nbsp;</td>
<tr><td rowspan="2" style="border: 1px solid black; border-right: none; {{#ifeq:{{{rounded|}}}|true|border-radius: 5px 0 0 5px;}} width: 0.1em;"></td>
<td style="padding-bottom: 0.25em; vertical-align: middle; user-select: text;">{{{1}}}{{#if:
<td rowspan="{{#if:{{{example|}}}|1|2}}" style="padding: 0 0.25em 0.2em; vertical-align: middle; user-select: text; border: none;">{{{1}}}{{#if:
{{{2|}}}|<br>{{{2}}}}}{{#if:
{{{2|}}}|<br>{{{2}}}}}{{#if:
{{{3|}}}|<br>{{{3}}}}}{{#if:
{{{3|}}}|<br>{{{3}}}}}{{#if:
Line 10: Line 10:
{{{8|}}}|<br>{{{8}}}}}{{#if:
{{{8|}}}|<br>{{{8}}}}}{{#if:
{{{9|}}}|<br>{{{9}}}}}{{#if:
{{{9|}}}|<br>{{{9}}}}}{{#if:
{{{10|}}}|<br>{{{10}}}}}</td><td>&nbsp;</td>
{{{10|}}}|<br>{{{10}}}}}</td>
<td style="border: 1px solid black; border-left: none; {{#ifeq:{{{rounded|}}}|true|border-radius: 0 5px 5px 0;}} width: 0.1em;"></td>
<td rowspan="2" style="border: 1px solid black; border-left: none; {{#ifeq:{{{rounded|}}}|true|border-radius: 0 5px 5px 0;}} width: 0.1em;"></td>
</tr>
</tr>{{#if:{{{example|}}}|<tr><td style="border-top: 1px solid black; user-select: text;">{{{example}}}</td></tr>|}}
</table>
</table>
<noinclude>
[[Category:Templates]]{{documentation}}
</noinclude>

Latest revision as of 08:31, 6 February 2020

{{{1}}}

Multi-line sound feature template.

+stop
+consonant
+alveolar


Up to 10 features (trivial to improve if needed), rounded and align fields are optional, rounded can only equal true, align takes any possible css text-align values.

{{Multifeature
|1
|2
|1000
}}
1
2
1000


{{Multifeature
|1
|2
|1000
|example=abcd
|align=center
|rounded=true
}}
1
2
1000
abcd


{{Multifeature
|1
|2
|3
|4
|5
|6
|7
|8
|9
|10
}}
1
2
3
4
5
6
7
8
9
10