More actions
Update doc. |
Proton One (talk | contribs) Some redundant documentation; sample usage is sufficient. |
||
| Line 1: | Line 1: | ||
; Description | ; Description | ||
: This template creates the cubic meter symbol | : 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 | ; Syntax | ||
| Line 8: | Line 8: | ||
; Sample | ; Sample | ||
{| | |||
| {{Code|<nowiki>100{{m3}}</nowiki>}} | |||
| 100{{m3}} | |||
|- | |||
| {{Code|<nowiki>This value is in{{m3}}</nowiki>}} | |||
| This value is in{{m3}} | |||
|- | |||
| {{Code|<nowiki>({{m3|ns}})</nowiki>}} | |||
| ({{m3|ns}}) | |||
|} | |||
; Example of incorrect use | |||
{| | |||
| {{Code|<nowiki>This value is in {{m3}}</nowiki>}} | |||
| This value is in {{m3}} | |||
|- | |||
| {{Code|<nowiki>({{m3}})</nowiki>}} | |||
| ({{m3}}) | |||
|} | |||
<includeonly>[[Category:Formatting templates]]</includeonly> | <includeonly>[[Category:Formatting templates]]</includeonly> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> | ||