Template:Multifeature: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with " Unfinished, will get back to this later <table style="border-collapse: collapse; text-align: center;"> <tr> <td style="line-height:0;">⎡ </td> <td rowspan="3" style=...")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
  Unfinished, will get back to this later
<table style="display: inline-table; border-spacing: 0px; text-align: {{{align|left}}};">
 
<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>
<table style="border-collapse: collapse; text-align: center;">
<td rowspan="{{#if:{{{example|}}}|1|2}}" style="padding: 0 0.25em 0.2em; vertical-align: middle; user-select: text; border: none;">{{{1}}}{{#if:
<tr>
{{{2|}}}|<br>{{{2}}}}}{{#if:
<td style="line-height:0;">⎡&ensp;</td>
{{{3|}}}|<br>{{{3}}}}}{{#if:
<td rowspan="3" style="text-align: center;">
{{{4|}}}|<br>{{{4}}}}}{{#if:
{{{1}}}{{#if:{{{2|}}}|<br>{{{2}}}}}{{#if:{{{3|}}}|<br>{{{3}}}}}{{#if:{{{4|}}}|<br>{{{4}}}}}{{#if:{{{5|}}}|<br>{{{5}}}}}{{#if:{{{6|}}}|<br>{{{6}}}}}{{#if:{{{7|}}}|<br>{{{7}}}}}{{#if:{{{8|}}}|<br>{{{8}}}}}{{#if:{{{9|}}}|<br>{{{9}}}}}{{#if:{{{10|}}}|<br>{{{10}}}}}
{{{5|}}}|<br>{{{5}}}}}{{#if:
</td>
{{{6|}}}|<br>{{{6}}}}}{{#if:
<td style="line-height:0;">&ensp;⎤</td>
{{{7|}}}|<br>{{{7}}}}}{{#if:
</tr>
{{{8|}}}|<br>{{{8}}}}}{{#if:
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
{{{9|}}}|<br>{{{9}}}}}{{#if:
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
{{{10|}}}|<br>{{{10}}}}}</td>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<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 style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
</tr>{{#if:{{{example|}}}|<tr><td style="border-top: 1px solid black; user-select: text;">{{{example}}}</td></tr>|}}
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎥&ensp;</td><td>&ensp;⎥</td></tr>
<tr style="line-height:0;"><td>⎣&ensp;</td><td>&ensp;⎦</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