• होम
  • अट्रेंडम
  • आसपास
  • खाता में प्रवेश
  • सेटिंग्स
Donate Now If Wikipedia is useful to you, please give today.
  • विकिपीडिया के बारे में
  • नामंजूरी
विकिपीडिया

टेम्पलेट:Gaps

  • भाषा
  • धियानसूची में डालीं
  • संपादन करीं
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Gaps

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.

Usage

संपादन करीं
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|1={{gaps|sin|2''φ''}} = 2 {{gaps|sin|''φ''}} {{gaps|cos|''φ''}}}} 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)
{{gaps|A|B|C|gap=10em}} ABC

Performance impact

संपादन करीं

Template:Gaps allows any number of parameters, and displays the gaps by setting the left-margin space of each group. The gaps are not actual spaces, so a copy/paste of the text is treated as connected, consecutive text. Although the text, as displayed, is consecutive as on-screen text, {gaps} for a number cannot be used in a calculation because the internal markup contains the invisible <span> tags which would be invalid text in typical numeric processing.

इहो देखल जाय

संपादन करीं
  • {{val}} to format a number to show commas, but decimal gaps of 3 or 4 digits.
  • दे
  • बा
  • सं
Inline spacing templates
Non-breaking space characters
  • {{hsp}}
  • {{Nb5}}
  • {{Nb10}}
  • {{Nnbsp}}
  • {{Ns}}
  • {{Quad}}
  • {{Spaces}}
  • {{Thin space}}
  • {{Zwj}}
Breaking space characters
  • {{Sp}}
  • {{Zwsp}}
Non-character spaces
  • {{Gaps}}
  • {{In5}}
  • {{Indent}}
  • {{Pad}}
  • {{Px2}}
The above documentation is transcluded from टेम्पलेट:Gaps/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
"https://bh.wikipedia.org/w/index.php?title=टेम्पलेट:Gaps&oldid=479932" से लिहल गइल
Last edited on 20 जुलाई 2017, at 21:14

Languages

    • العربية
    • অসমীয়া
    • تۆرکجه
    • Беларуская (тарашкевіца)
    • ပအိုဝ်ႏဘာႏသာႏ
    • বাংলা
    • Bosanski
    • Català
    • کوردی
    • Dansk
    • English
    • Español
    • Eesti
    • Euskara
    • فارسی
    • Føroyskt
    • Galego
    • ગુજરાતી
    • Gaelg
    • हिन्दी
    • Ilokano
    • 日本語
    • Қазақша
    • 한국어
    • Kurdî
    • Latviešu
    • मैथिली
    • Македонски
    • മലയാളം
    • ဘာသာမန်
    • मराठी
    • မြန်မာဘာသာ
    • ଓଡ଼ିଆ
    • Português
    • Română
    • Русский
    • Scots
    • တႆး
    • සිංහල
    • Simple English
    • Српски / srpski
    • தமிழ்
    • ไทย
    • Türkmençe
    • Türkçe
    • Українська
    • اردو
    • Tiếng Việt
    • Yorùbá
    • 中文
    • 閩南語 / Bân-lâm-gú
    • 粵語
    विकिपीडिया
    • Wikimedia Foundation
    • Powered by MediaWiki
    • एह पन्ना पर आखिरी बेर संपादन 20 जुलाई 2017 के 21:14 बजे भइल रहल।
    • सामग्री CC BY-SA 4.0 की तहत उपलब्ध बा जबले कि अलगा से बतावल न गइल होखे।
    • गोपनीयता नीति
    • विकिपीडिया के बारे में
    • नामंजूरी
    • Code of Conduct
    • डेवलपर लोग
    • आँकड़ा
    • कुकी इस्टेटमेंट
    • उपयोग के शर्त कुल
    • डेस्कटॉप