« Modèle:Notedemarge » : différence entre les versions
Contenu supprimé Contenu ajouté
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 4 :
clear: {{{marge}}};
position: relative;
{{{marge}}}: {{#expr: -( {{{
width: {{#expr: {{{
margin:
{{{spacing|1}}}{{{y-unit|ex}}}
{{#ifeq: {{{marge}}} | left | {{#expr: -( {{{
0
{{#ifeq: {{{marge}}} | right | {{#expr: -( {{{
{{#ifeq: {{{downrule|no}}} | yes | {{#switch: {{{marge}}} | left= border-right-width: {{{rule-width|thin}}}; border-right-style: {{{rule-style|solid}}}; border-right-color: {{{rule-color|inherit}}}; | right= border-left-width: {{{rule-width|thin}}}; border-left-style: {{{rule-style|solid}}}; border-left-color: {{{rule-color|inherit}}}; }} | }}
text-align: {{#switch: {{{marge}}} | left={{{text-align|right}}} | right={{{text-align|left}}} }};
|