Template:Multifeature: Difference between revisions

From Linguifex
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<table style="display: inline-table; border-spacing: 0px; text-align: {{{align|left}}}; user-select: none;">
<table style="display: inline-table; border-spacing: 0px; text-align: {{{align|left}}}; user-select: none;">
<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 style="border: 1px solid black; border-right: none; {{#ifeq:{{{rounded|}}}|true|border-radius: 5px 0 0 5px;}} width: 0.1em;"></td><td style="border: none;">&nbsp;</td>
<td style="padding-bottom: 0.25em; vertical-align: middle; user-select: text;">{{{1}}}{{#if:
<td style="padding-bottom: 0.25em; 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: none;">&nbsp;</td>
<td style="border: 1px solid black; border-left: none; {{#ifeq:{{{rounded|}}}|true|border-radius: 0 5px 5px 0;}} width: 0.1em;"></td>
<td style="border: 1px solid black; border-left: none; {{#ifeq:{{{rounded|}}}|true|border-radius: 0 5px 5px 0;}} width: 0.1em;"></td>
</tr>
</tr>

Revision as of 21:23, 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
 


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