Modèle:TableauStyle/documentation

Utilisation

modifier

Permet de paramétrer le style des tableaux avec des abréviations.

Remarques

modifier

Il prend en charge jusqu’à 10 commandes de style CSS (par exemple «text-align: right »), chacune liée à un code de sténographie.

Si vous fournissez du texte qui n'est pas dans la liste des raccourcis, il sera inséré tel quel. De cette façon vous pouvez ajouter à la commande de style, sans abréviation.

Si vous souhaitez y adjoindre un raccourci, il faut l'ajouter dans {{TableauStyle/parse}}.

Syntaxe

modifier

{{ts|raccourci}}

Exemple

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

Paramètres

modifier

(mettre à jour cette liste si vous en ajoutez d’autres)

ancien
raccourci
d’anglais
raccourcis
mieux
clarifiés
code CSS naturel langue naturelle remarques déjà existant
 
bga bga background-color: azure *
bgb bgb background-color: royalblue *
bgt bgt background-color: transparent *
 
bc bc border-collapse: collapse *
 
bb. bb1. border-bottom: 1px dotted black
bb2. bb2. border-bottom: 2px dotted black
bl. bl1. border-left: 1px dotted black
br. br1. border-right: 1px dotted black
br2. br2. border-right: 2px dotted black
bt. bt1. border-top: 1px dotted black
 
bb bb1 border-bottom: 1px solid black *
bb2 bb2 border-bottom: 2px solid black
bb3 bb3 border-bottom: 3px solid black *
bbd bb4d border-bottom: 4px double black *
 
bl bl1 border-left: 1px solid black *
bl2 bl2 border-left: 2px solid black
bl3 bl3 border-left: 3px solid black *
bld bl4d border-left: 4px double black *
 
br br1 border-right: 1px solid black *
br2 br2 border-right: 2px solid black
br3 br3 border-right: 3px solid black *
brd br4d border-right: 4px double black *
 
bt bt1 border-top: 1px solid black *
bt2 bt2 border-top: 2px solid black
bt3 bt3 border-top: 3px solid black *
btd bt4d border-top: 4px double black *
 
ba ba1 border: 1px solid black *
ba2 ba2 border: 2px solid black
ba3 ba3 border: 3px solid black *
bad ba4d border: 4px double black
 
bbt1 bbt1 border-bottom: 1px solid transparent *
blt1 blt1 border-left: 1px solid transparent *
brt1 brt1 border-right: 1px solid transparent *
btt1 btt1 border-top: 1px solid transparent *
bat1 bat1 border: 1px solid transparent *
 
ltr ltr direction: ltr
rtl rtl direction: rtl
 
fll fll float: left *
flr flr float: right *
 
ffn ffn font-family: sans-serif
ffs ffs font-family: serif
 
xxs t058 font-size: 58%
xs t069 font-size: 69% *
sm80 t080 font-size: 80% *
sm t083 font-size: 83%
sm85 t085 font-size: 85% *
sm90 t090 font-size: 90% *
sm95 t095 font-size: 95% *
fs105 t105 font-size: 105%
sm110 t110 font-size: 110%
lg t120 font-size: 120%
xl t144 font-size: 144%
xxl t182 font-size: 182%
3xl t207 font-size: 207%
4xl t249 font-size: 249%
 
fsi fsi font-style: italic *
fsn fsn font-style: normal *
 
sc sc font-variant: small-caps *
 
fwb fwb font-weight: bold *
fwn fwn font-weight: normal *
 
lh95 lh095 line-height: 95% *
lh1 lh100 line-height: 100% *
lh11 lh110 line-height: 110%
lh12 lh120 line-height: 120% *
lh13 lh130 line-height: 130%
lh15 lh150 line-height: 150% *
lh2 lh200 line-height: 200% *
 
mb10 mb10 margin-bottom: 10px
mb5 mb05 margin-bottom: 5px *
 
ml10 ml10 margin-left: 10px
ml5 ml05 margin-left: 5px *
 
mr10 mr10 margin-right: 10px
mr5 mr05 margin-right: 5px *
 
mt10 mt10 margin-top: 10px
mt5 mt05 margin-top: 5px *
 
ma ma margin-right: auto; margin-left: auto
mc mc margin: 0 auto 0 auto *
 
ma10 ma10 margin: 10px
ma5 ma05 margin: 5px
 
pb0 pb0 padding-bottom: 0
pb.5 pb0.5 padding-bottom: 0.5em
pb1 pb1.0 padding-bottom: 1.0em *
pb15 pb1.5 padding-bottom: 1.5em *
pb2 pb2.0 padding-bottom: 2.0em *
pb3 pb3.0 padding-bottom: 3.0em
pb4 pb4.0 padding-bottom: 4.0em
pb5 pb5.0 padding-bottom: 5.0em
pb6 pb6.0 padding-bottom: 6.0em
pb7 pb7.0 padding-bottom: 7.0em
 
pl0 pl0 padding-left: 0
pl05 pl0.5 padding-left: 0.5em *
pl1 pl1.0 padding-left: 1.0em *
pl15 pl1.5 padding-left: 1.5em *
pl2 pl1.2 padding-left: 2.0em *
pl3 pl1.3 padding-left: 3.0em
pl4 pl1.4 padding-left: 4.0em
pl5 pl1.5 padding-left: 5.0em
pl6 pl1.6 padding-left: 6.0em
pl7 pl1.7 padding-left: 7.0em
 
pr0 pr0 padding-right: 0
pr05 pr0.5 padding-right: 0.5em *
pr1 pr1.0 padding-right: 1.0em *
pr15 pr1.5 padding-right: 1.5em *
pr2 pr2.0 padding-right: 2.0em *
pr3 pr3.0 padding-right: 3.0em
pr4 pr4.0 padding-right: 4.0em
pr5 pr5.0 padding-right: 5.0em
pr6 pr6.0 padding-right: 6.0em
pr7 pr7.0 padding-right: 7.0em
 
pt0 pt0 padding-top: 0
pt.5 pt0.5 padding-top: 0.5em
pt1 pt1.0 padding-top: 1.0em *
pt15 pt1.5 padding-top: 1.5em *
pt2 pt2.0 padding-top: 2.0em *
pt3 pt3.0 padding-top: 3.0em
pt4 pt4.0 padding-top: 4.0em
pt5 pt5.0 padding-top: 5.0em
pt6 pt6.0 padding-top: 6.0em
pt7 pt7.0 padding-top: 7.0em
 
it1 p1i1 padding-left: 1.0em; text-indent: -1.0em *
itp p2i1 padding-left: 2.0em; text-indent: -1.0em *
it p2i2 padding-left: 2.0em; text-indent: -2.0em *
it32 p3i2 padding-left: 3.0em; text-indent: -2.0em *
it42 p4i2 padding-left: 4.0em;text-indent: -2.0em
 
ptb.5 ptb0.5 padding-top: 0.5em; padding-bottom: 0.5em
ptb1 ptb1.0 padding-top: 1em; padding-bottom: 1em
 
ac ac text-align: center *
aj aj text-align: justify *
al al text-align: left *
ar ar text-align: right *
 
cap cap text-transform: capitalize
lc lc text-transform: lowercase
uc uc text-transform: uppercase *
 
vbs vbs vertical-align: baseline *
vbm vab vertical-align: bottom *
vmi vam vertical-align: middle *
vtb vatb vertical-align: text-bottom *
vtt vatt vertical-align: text-top *
vtp vat vertical-align: top *
 
wnw wsnw white-space: nowrap
 
w0% w0% width: 0%
w15% w15% width: 15%
w20% w20% width: 20%
w33% w33% width: 33%
w40% w40% width: 40%
w50% w50% width: 50%
w60% w60% width: 60%
w67% w70% width: 67%
w75% w75% width: 75%
w80% w80% width: 80%
wa w100% width: 100% *
 
w25 w025m width: 25em *
w50 w050m width: 50em *
w75 w075m width: 75em *
w100 w100m width: 100em *