Template:Multifeature: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
{{{10|}}}|<br>{{{10}}}}}</td><td rowspan="2" style="border: none;">&nbsp;</td>
{{{10|}}}|<br>{{{10}}}}}</td><td rowspan="2" style="border: none;">&nbsp;</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>
<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>{{#if:{{{example|}}}|<tr><td style="border-top: 1px solid black;>{{{example}}}</td></tr>|}}
</tr>{{#if:{{{example|}}}|<tr><td style="border-top: 1px solid black; user-select: text;">{{{example}}}</td></tr>|}}
</table>
</table>
<noinclude>
<noinclude>
[[Category:Templates]]{{documentation}}
[[Category:Templates]]{{documentation}}
</noinclude>
</noinclude>

Revision as of 22:09, 4 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