টেমপ্লেট:Table style

উইকিসংকলন থেকে
পরিভ্রমণে চলুন অনুসন্ধানে চলুন

style=""

টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]


Usage[সম্পাদনা]

This template allows shorthand table styling parameters. It supports up to 10 CSS style commands (e.g. "text-align:right"), each bound to a shorthand code.

If you supply text that is not in the list of shorthands, it will be inserted as is. This you can add to the style command without adding a shorthand entry.

If you want to add a shorthand entry, add it to {{table style/parse}}.

Note that the natural language codes can be used in addition, or in conjunction, with the shorthand codes.

Parameters (update this list if you add any)[সম্পাদনা]

Shorthand Natural
language
Code inserted Table Row Cell Notes
ar right text-align:right; y y y
ac center text-align:center; y y y
al left text-align:left; y y y
aj justify text-align:justify; y y y
bgt transparent background-color:transparent; y ? y
bc border collapse border-collapse:collapse; y n n
bl border left border-left:1px solid black; y n y
br border right border-right:1px solid black; y n y
bt border top border-top:1px solid black; y n y
bb border bottom border-bottom:1px solid black; y n y
ba border all border:1px solid black; y n y
btt1 border-top:1px solid transparent; y ? y ’border:none’ doesn't work on many browsers, use transparent instead
bbt1 border-bottom:1px solid transparent; y ? y
blt1 border-left:1px solid transparent; y ? y
brt1 border-right:1px solid transparent; y ? y
ba3 border:3px solid black; y n y
bl3 border-left:3px solid black; y n y
br3 border-right:3px solid black; y n y
bt3 border-top:3px solid black; y n y
bb3 border-bottom:3px solid black; y n y
bad border:4px double black; y n y
bld border-left:4px double black; y n y
brd border-right:4px double black; y n y
btd border-top:4px double black; y n y
bbd border-bottom:4px double black; y n y
bl. border-left:1px dotted black; y n y
br. border-right:1px dotted black; y n y
bt. border-top:1px dotted black; y n y
bb. border-bottom:1px dotted black; y n y
ba. border:1px dotted black; y n y
mc float margin:0 auto 0 auto; y ? y
ma margin-right:auto; margin-left:auto; y ? ?
ma5 margin:5px; y ? y
mt5 margin-top:5px; y ? y
mr5 margin-right:5px; y ? y
mb5 margin-bottom:5px; y ? y
ml5 margin-left:5px; y ? y
ma10 margin:10px; y ? y
mt10 margin-top:10px; y ? y
mr10 margin-right:10px; y ? y
mb10 margin-bottom:10px; y ? y
ml10 margin-left:10px; y ? y
lh95 line-height:95%; y y y
lh1 line-height:100%; y y y
lh12 line-height:120%; y y y
lh15 line-height:150%; y y y
lh2 line-height:200%; y y y
sc small caps font-variant:small-caps; y y y
uc upper case text-transform:uppercase; y y y
lc lower case text-transform:lowercase; y y y
cap capitalize text-transform:capitalize; y y y
sm smaller font-size:smaller; y y y
sm80 font-size:80%; y y y
sm85 font-size:85%; y y y
sm90 font-size:90%; y y y
sm95 font-size:95%; y y y
xs x-smaller font-size:69%; y y y
xxs xx-smaller font-size:58%; y y y
fs105 font-size:105%; y y y Used in PSM sub titles
lg larger font-size:120%; y y y
xl x-larger font-size:144%; y y y
xxl xx-larger font-size:182%; y y y
3xl xxx-larger font-size:207%; y y y
4xl xxxx-larger font-size:249%; y y y
fll float left float:left; y n n
flr float right float:right; y n n
fsn roman font-style:normal; y y y
fsi italic font-style:italic; y y y
fwn normal font-weight:normal; y y y
fwb bold font-weight:bold; y y y
it padding-left:2.0em;text-indent:-2.0em; y n y
it1 padding-left:1.0em;text-indent:-1.0em; y n y
itp padding-left:2.0em; text-indent:-1.0em; y n y
itp.5 padding-left:2.5em; text-indent:-2.0em; y n y
it1p.5 padding-left:1.5em; text-indent:-1.0em; y n y
it42 padding-left:4.0em;text-indent:-2.0em; y ? y PSM indent for literature section entries.
pl0 padding-left:0; y n y
pl.5 padding-left:0.5em; y n y
pl1 padding-left:1.0em; y n y
pl15 padding-left:1.5em; y n y
pl2 padding-left:2.0em; y n y
pl3 padding-left:3.0em; y n y
pl4 padding-left:4.0em; y n y
pl5 padding-left:5.0em; y n y
pr0 padding-right:0; y n y
pr.5 padding-right:0.5em; y n y
pr1 padding-right:1.0em; y n y
pr15 padding-right:1.5em; y n y
pr2 padding-right:2.0em; y n y
pr3 padding-right:3.0em; y n y Used in PSM tables
pr4 padding-right:4.0em; y n y Used in PSM tables
pr5 padding-right:5.0em; y n y Used in PSM tables
pt0 padding-top:0; y n y
pt.5 padding-top:0.5em; y n y Used in PSM tables
pt1 padding-top:1.0em; y n y
pt15 padding-top:1.5em; y n y
pt2 padding-top:2.0em; y n y
pb0 padding-bottom:0; y n y
pb.5 padding-bottom:0.5em; y n y Used in PSM tables
pb1 padding-bottom:1.0em; y n y
pb15 padding-bottom:1.5em; y n y
pb2 padding-bottom:2.0em; y n y
vbm bottom vertical-align:bottom; y y y
vbs baseline vertical-align:baseline; y y y
vmi middle vertical-align:middle; y y y
vtb text bottom vertical-align:text-bottom; y y y
vtp top vertical-align:top; y y y
vtt text top vertical-align:text-top; y y y
wa full width width:100%; y n y
w75 three quarters width:75%; y n y
w67 two thirds width:67%; y n y
w50 half width:50%; y n y
w33 third width:33%; y n y
w25 quarter width:25%; y n y
wnw nowrap white-space:nowrap; ? ? y


Example[সম্পাদনা]

{{ts|ar|ba|sc}} produces style="text-align:right; border:1px solid black; font-variant:small-caps;"


{{table style|right|top|pr2}} produces style="text-align:right; vertical-align:top; padding-right:2.0em;"