Şablon:Su/belge

Vikipedi, özgür ansiklopedi

Amaç[kaynağı değiştir]

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.

Komutlar[kaynağı değiştir]

p Üst satır içeriği.
b Alt satır içeriği.
a İki satırın hizalaması (r sağ için, c ortalamak için, sola hizalama varsayılandır).
w Karakterlerin boyutu (f sabitlenmiş genişlik için (eşaralıklı), mevcut yazı boyutu varsayılandır).

Örnekler[kaynağı değiştir]

Basit bir örnek: X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X

XaXbXabX

Sola dayalı (varsayılan): X{{su|p=aaaaa|b=b}}X{{su|p=a|b=bbbbb}}X

XaaaaabXabbbbbX

Sağa dayalı: X{{su|a=r|p=aaaaa|b=b}}X{{su|a=r|p=a|b=bbbbb}}X

XaaaaabXabbbbbX

Ortalanmış: X{{su|a=c|p=aaaaa|b=b}}X{{su|a=c|p=a|b=bbbbb}}X

XaaaaabXabbbbbX

Küçük yazı boyutu: <small>X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X</small>

XaXbXabX

Büyük yazı boyutu: <big>X{{su|p=a}}X{{su|b=b}}X{{su|p=a|b=b}}X</big>

XaXbXabX

Sabitlenmiş genişlik: X{{su|p=111|b=www}}X{{su|w=f|p=111|b=www}}X

X...wwwX...wwwX