Changes

Jump to navigation Jump to search
define optional width parameter
Line 156: Line 156:  
<pre>
 
<pre>
 
{{Definition_table
 
{{Definition_table
|Word_1 | Definition one
+
|width=NNem|Word_1 | Definition one
 
|Word_2 | Definition two
 
|Word_2 | Definition two
 
...
 
...
Line 162: Line 162:  
}}
 
}}
 
</pre>
 
</pre>
 +
 +
The <code>width=NNem</code> is an optional, named parameter used to set the Word column width.
 +
: Examples: <code>|width=12em|</code> or <code>|width=12%|</code>
 +
This avoids the use of non-breaking spaces (&amp;nbsp;) to keep word groups from wrapping in the first column.
    
==Sample==
 
==Sample==

Navigation menu