Àdàkọ:Gaps/doc

Lát'ọwọ́ Wikipedia, ìwé ìmọ̀ ọ̀fẹ́

Outputs its unnamed argument in their order, using the margin-left: 0.25em CSS properties in all but the first, so that there will be gaps between them. The whole output has the white-space: nowrap property so that it will not be broken across several lines.

It supports up to sixteen 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)#Large numbers and Wikipedia:Manual of Style (dates and numbers)#Decimal points for information about where to put the gaps in numbers.

Usage[àtúnṣe àmìọ̀rọ̀]

Input Output
{{gaps|−2.002|319|304|3622(15)}} −2.0023193043622(15)
{{gaps|299|792|458|u=m/s}} 299792458 m/s
{{gaps|lhs=π|3.14159|26535|89793|23846|26433|83279|...}} π = 3.141592653589793238462643383279...
{{gaps|P.|A.|M.}} Dirac P.A.M. Dirac
{{nowrap begin}}{{gaps|sin|2''φ''}} = 2 {{gaps|sin|''φ''}} {{gaps|cos|''φ''}}{{nowrap end}} sin2φ = 2 sinφ cosφ
"She disputed his statement that 'Voltaire never said "I disapprove of what you say, but I will defend to the death your right to say {{gaps|it."|'|"}} "She disputed his statement that 'Voltaire never said "I disapprove of what you say, but I will defend to the death your right to say it."'"
{{gaps|1.602|176|487(40)|e=-19|u=C}} 1.602176487(40)×10^−19 C
64 MB ({{gaps|64|base=2|e=20}} bytes) 64 MB (64×2^20 bytes)