More actions
Add option to suppress the non breakable space. |
m Fix <includeonly> problem. |
||
| Line 1: | Line 1: | ||
<includeonly{{#switch: {{lc: {{{1|}}} }} | <includeonly>{{#switch: {{lc: {{{1|}}} }} | ||
| ns | | ns | ||
| no space = m<sup>3</sup> | | no space = m<sup>3</sup> | ||
| #default = m<sup>3</sup> | | #default = m<sup>3</sup> | ||
}}<noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 11:38, 25 July 2024
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template creates the cubic meter symbol, by default preceded by a non-breaking space (" m3"). It avoids a line-break between the m3 and the value of preceding text, keeping them together on one line.
- Syntax
- <Value>{{m3|<no space>}}
- Parameters
-
- no space
- Optional parameter to suppress the leading non-breaking space. Valid values
nsandno space.
- Sample
|
100 m3 | |
|
This value is in m3 | |
|
(m3) |
- Example of incorrect use
|
This value is in m3 | |
|
( m3) |