Template:M3

From EVE University Wiki
Revision as of 22:21, 26 March 2017 by Djavin novienta (talk | contribs) (Added documentation.)
Jump to: navigation, search
Template documentation (for the above template, sometimes hidden or invisible)
Description
This template creates the cubic meter symbol (m3) by default preceded with a non-breaking space. It avoids a line-break between them3 and the value or 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 ns and no space.
Sample
100{{m3}} gives...
100m3
This value is in{{m3}} gives...
This value is inm3


Example of incorrect use
This value is in {{m3}}. gives...
This value is in m3.
It is hard to see, but this results in 2 spaces between in andm3 and as one is a normal space when an automatic line-break occurs between in and them3 they will be split over two lines.


Example where suppression of the non-breaking space is needed
({{m3|ns}}) gives...
(m3)
Not suppressing the non-breaking space here would lead to the strange looking (m3).
Visit Template:M3/doc to edit this text! (How does this work?) (Refresh this text - why?)