This is a documentation subpage for Template:Gaps. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Gaps outputs its unnamed arguments in order, applying the margin-left: 0.25em
CSS rule to all but the first, so that there will be gaps of 0.25em between the arguments. The whole output has the white-space: nowrap
rule so that it will not be broken across several lines.
It supports up to twenty unnamed arguments. In addition, it supports the base
and e
arguments which can be used for numbers in exponential notation. The base will be assumed to be 10 unless otherwise specified; a hyphen-minus "-" in the exponent will be automatically substituted by a minus sign "−". It also supports the arguments lhs
and u
for putting left-hand sides and units within the non-breaking span (see examples below).
See Wikipedia:Manual of Style (dates and numbers) § Delimiting (grouping of digits) for information about where to put the gaps in numbers.