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

टेम्पलेट:Su

  • भाषा
  • धियानसूची में डालीं
  • संपादन करीं


Template documentation[view] [edit] [history] [purge]
This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see COinS in Wikipedia.
This template uses Lua:
  • Module:Su

बिसयसूची

  • 1 Purpose
  • 2 Arguments
  • 3 Note on fractions
  • 4 उदाहरण
  • 5 Line breaks
  • 6 इहो देखल जाय

Purpose

संपादन करीं

Template for creating two smaller lines of text on one actual line, this can be used for scientific notations of uncertainty and physics symbols, such as nuclides and particles.

It was named after the <sup> and <sub> HTML tags, which share the first two letters of their name with this template. This template uses the third letter of the name of these tags, p and b, as the name of the argument that drives the output of the top and bottom line, respectively.

Editors beware: these templates use all kinds of hacky tricks to make the output render correctly in a wide variety of browsers. If you plan to make changes to this template, please make sure you verify that this template renders correctly after those changes in all major browsers. This list includes the latest version(s) of Chrome, FireFox, MSIE, Opera and Safari as well as any version of those browsers that is still in common use, such as MSIE 6.0 and 7.0!

Arguments

संपादन करीं
|p= The contents of the top line.
|b= The contents of the bottom line.
|a= The alignment of both lines (|a=r: right-aligned; |a=c: center-aligned; default is left-aligned).
|w= The size of the characters (|w=f: fixed-width (monospace), otherwise template inherits the current font and context by default).
|lh= The line height or distance from top to bottom (including top character). Default is 1.2em.

Note on fractions

संपादन करीं

Usually, when using vulgar fractions it is MOS habit to use &frasl; ⁄ () and {{frac}}. However, in <sub> or <sup> tags, best use the keyboard slash / for readability in most browsers:

X1⁄2
7⁄8
(fraction slash) Red XN

and

X1/2
7/8
(keyboard slash) Green tickY

उदाहरण

संपादन करीं
Simple
X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X
Xa
X
b
Xa
b
X


Left-aligned (default)
X{{su|p=aaaaa|b=b}}X{{su|p=a|b=bbbbb}}X
Xaaaaa
b
Xa
bbbbb
X


Right-aligned
X{{su|a=r|p=aaaaa|b=b}}X{{su|a=r|p=a|b=bbbbb}}X
Xaaaaa
b
Xa
bbbbb
X


Center-aligned
X{{su|a=c|p=aaaaa|b=b}}X{{su|a=c|p=a|b=bbbbb}}X
Xaaaaa
b
Xa
bbbbb
X


Smaller font
{{small|X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X}}
Xa
X
b
Xa
b
X


Larger font
{{big|X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X}}
Xa
X
b
Xa
b
X


Fixed-width
X{{su|p=...|b=www}}X{{su|w=f|p=...|b=www}}X
X...
www
X...
www
X
Close-spacing
{{su|p=4|b=4}} {{su|lh=0.8em|p=4|b=4}}
4
4
4
4

Line breaks

संपादन करीं

Unlike <sup> and <sub> tags, this template does not prevent line breaks between the two small lines and the preceding text. Thus, if this template is used to supply a subscript and superscript over a base symbol, the whole structure has to be enclosed in a {{nowrap}}, or this template should be invoked through another template that takes care of the wrapping in an appropriate way.

Example: {{nowrap|X{{su|p=a|b=b}}}} → Xa
b

इहो देखल जाय

संपादन करीं
  • दे
  • बा
  • सं
Superscript and subscript-related templates
{{sup}} and related templatesCombined super/subscripts
sup textsuperscript    superscripttext
smallsup (ssup) textsmall superscript    small superscripttext
i sup (isup · padlsup) textsuperscript  (rather than: textsuperscript)
i smallsup (issup · padlssup) textsmall superscript  (rather than: textsmall superscript)
sub textsubscript    subscripttext
smallsub (ssub) textsmall subscript    small subscripttext
subsub textdouble-subscripted    double-subscriptedtext
su textp=superscript
b=subscript
    p=superscript
b=subscript
text
sup sub textsup
sub
    sup
sub
text
± 1.23+4
−2
overunderset / underoverset superscripttextsubscript
Subscript and superscript
  • दे
  • बा
  • सं
Math templates
  • Functions
  • Numeral systems
Functions
  • elementary arithmetic
  • precision
  • precision1
  • value
Numeral systems
  • base 36
  • binary
  • dec2hex
  • decimal2Base
  • duodecimal
  • hex2dec
  • hexadecimal
  • octal
  • quaternary
  • quinary
  • rn
  • roman
  • senary
  • ternary
  • vigesimal
Conversions
bbl to t barrels of oil to tonnes
convert
convert/scale to convert any linearly related units
long ton long hundredweights, quarters and pounds to kilograms;
long tons and hundredweights to pounds and metric tonnes
convinfobox for use in infoboxes
decdeg degrees, minutes, and seconds to decimal degrees
hms2deg hour angle (in hours, minutes, and seconds) to decimal degrees
deg2dms decimal degrees to degrees, minutes, and seconds
deg2hms decimal degrees to hour angle (in hours, minutes, and seconds)
inflation to calculate inflation of Consumer Price Index-related prices
miles-chains miles and chains to kilometres linking "chains"
pop density density of a population in an area
track gauge railway track gauges
Notation
bigmath for stand-alone formulas, using a bigger font to match \displaystyle PNG-rendered TeX formulas
  • bra-ket
  • braket
  • bra
  • ket
bra–ket notation
frac for creating fractions (not for use in science or mathematical articles; instead, use {{sfrac}})
intmath integral symbols
  • langle
  • rangle
angular brackets
  • ldelim
  • rdelim
multiline delimiters (2–5 lines inclusive)
math for inline formulas, to get a better matching font size and vertical alignment than with \textstyle (or the \scriptstyle kludge) PNG-rendered TeX formulas
mathcal [mathematical] calligraphic font for use in mathematical formulas, as an alternative to \mathcal{...} in LaTeX markup
mvar a short form to refer to individual italicized maths variables in normal text
  • overset
  • underset
arbitrary characters/diacritics set above/below one another
radic
sfrac for creating fractions (this template should be used in science or mathematical articles instead of {{frac}})
sqrt
  • su
  • sub
  • sup
tmath wraps a TeX math expression in <math> tags
val to report measurement values, uncertainties and units
vec for various overarrows, underarrows, pointing left, right or both ways
  • Boxes
  • Tags
  • Notices
BoxesTagsNotices
  • calculation results
  • calculus
  • Infobox mathematics function
  • functions
  • metricate
  • undue precision
  • units attention
  • calculation
Category Category
The above documentation is transcluded from टेम्पलेट:Su/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=टेम्पलेट:Su&oldid=271890" से लिहल गइल
Last edited on 4 जनवरी 2016, at 06:17

Languages

    • Аԥсшәа
    • Afrikaans
    • العربية
    • مصرى
    • Asturianu
    • Авар
    • Azərbaycanca
    • تۆرکجه
    • Basa Bali
    • Беларуская
    • Беларуская (тарашкевіца)
    • Български
    • বাংলা
    • Bosanski
    • Буряад
    • Català
    • کوردی
    • Čeština
    • Чӑвашла
    • Dansk
    • Ελληνικά
    • English
    • Esperanto
    • Español
    • Eesti
    • Euskara
    • فارسی
    • Suomi
    • Føroyskt
    • Français
    • Galego
    • ગુજરાતી
    • 客家語 / Hak-kâ-ngî
    • עברית
    • हिन्दी
    • Magyar
    • Հայերեն
    • Bahasa Indonesia
    • Ilokano
    • Italiano
    • 日本語
    • Jawa
    • ქართული
    • Taqbaylit
    • ಕನ್ನಡ
    • 한국어
    • Kurdî
    • Latina
    • Latviešu
    • Basa Banyumasan
    • Moore
    • Bahasa Melayu
    • Mirandés
    • မြန်မာဘာသာ
    • नेपाली
    • नेपाल भाषा
    • Norsk bokmål
    • ଓଡ଼ିଆ
    • Ирон
    • Kapampangan
    • Polski
    • پښتو
    • Português
    • Română
    • Русский
    • संस्कृतम्
    • Scots
    • Srpskohrvatski / српскохрватски
    • සිංහල
    • Simple English
    • Slovenčina
    • Slovenščina
    • Српски / srpski
    • Sunda
    • Svenska
    • தமிழ்
    • Тоҷикӣ
    • ไทย
    • Tagalog
    • Türkçe
    • Татарча / tatarça
    • Українська
    • اردو
    • Vepsän kel’
    • Tiếng Việt
    • 吴语
    • 中文
    • 粵語
    विकिपीडिया
    • Wikimedia Foundation
    • Powered by MediaWiki
    • एह पन्ना पर आखिरी बेर संपादन 4 जनवरी 2016 के 06:17 बजे भइल रहल।
    • सामग्री CC BY-SA 4.0 की तहत उपलब्ध बा जबले कि अलगा से बतावल न गइल होखे।
    • गोपनीयता नीति
    • विकिपीडिया के बारे में
    • नामंजूरी
    • Code of Conduct
    • डेवलपर लोग
    • आँकड़ा
    • कुकी इस्टेटमेंट
    • उपयोग के शर्त कुल
    • डेस्कटॉप