« Modèle:Pointsdesuite » : différence entre les versions

Contenu supprimé Contenu ajouté
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 4 :
|texte de droite
|l=largeur totale
|x=espacement en em qui s’adapte à la taille de la police de caractère
|ld=largeur de la section réservée au texte de droite
|alt2altd=alignement du texte de droite (alt2altd=g)
|m=motif à pas fixe fin(2px) ou xfin(1px)
}}
--><div style= "position:relative;<!--1
-->max-width:{{{l|100%}}};<!--
-->margin-bottom: 0px;"> <!--
--><div style="position:relative; {{#if:{{{2|}}}|{{#if:{{{ld|}}}|margin-right:{{{ld}}};|}}|}}><!--2
-->{{#if:{{{m|}}}|<div style="position:absolute;<!--4
-->z-index:1;<!--
-->bottom:.5em4em;<!--
-->width:100%;<!--
-->border-bottom:1px{{#switch:{{{m}}}|fin=2|1}}px dotted"><!--
--></div>|}}<!--4
--><div style="position:relative; z-index:2;<!--3
Ligne 22 ⟶ 24 :
-->background-size: {{{x|.5}}}em {{{x|.5}}}em;<!--
-->background-repeat:repeat-x; <!--
-->background-position: left bottom {{#expr: .54-{{{x|.5}}}/2 }}em;"|}}><!--
--><span style="z-index:3;<!--
-->padding-right:{{#if:{{{m|}}}|2px|{{#expr: {{{x|.5}}}/2 }}em}};<!--
-->{{#if:{{{1|}}}|background: white;|}}">{{{1|&nbsp;}}}</span> <!--
--></div><!--3
--></div><!--2
Ligne 39 ⟶ 41 :
--><span style="z-index:2;<!--
-->background: white;<!--
-->padding-left:{{#if:{{{m|}}}|4px|{{#expr: {{{x|.5}}}/2*1.5 }}em}};">{{{2}}}</span><!--
--></div></div>|}}<!--5,6
--></div><!--1