Modèle:Composant portail 1
De Animawiki.
(Différences entre les versions)
(8 versions intermédiaires masquées) | |||
Ligne 1 : | Ligne 1 : | ||
- | <includeonly><div style="display:block; border:1px solid {{{couleurtour|#DB0014}}}; vertical-align:top; width:100%; background-color:{{{couleurfond|#ffffff}}}; margin-bottom:10px; padding:0px 0px 5px 0px; -moz-border-radius:8px; -moz-border-radius-topleft:3px; -moz-border-radius-topright:25px;"> | + | <includeonly><div style="display:block; height: {{{hauteur|auto}}}; border:1px solid {{{couleurtour|#DB0014}}}; vertical-align:top; width:100%; background-color:{{{couleurfond|#ffffff}}}; margin-bottom:10px; padding:0px 0px 5px 0px; -moz-border-radius:8px; -moz-border-radius-topleft: {{#ifeq: {{{arrondigauche}}} | true | 25px | 3px}}; -moz-border-radius-topright:25px;"> |
- | <div style="background: {{{couleurencoche|#ffffff}}}; float: left; height: 29px; width: 10px; -moz-border-radius:0px; -moz-border-radius-topleft:3px;"> </div> | + | <div style="background: {{{couleurencoche|#ffffff}}}; float: left; height: {{#ifeq: {{{tailletitre|100%}}} | 100% | 27px | 29px }}; width: 10px; -moz-border-radius:0px; -moz-border-radius-topleft:3px; visibility: {{#ifeq: {{{arrondigauche}}} | true | hidden | visible}};"> </div> |
<noinclude> | <noinclude> | ||
<div style="float:right; font-size:x-small; margin-right: 20px; "><span class="plainlinks noprint"><nowiki>[</nowiki> [[{{#if:{{{nsportail|}}}||Modèle:}}{{{partie|#}}}|<span style="color:{{{couleurlien|{{{couleurtitre|#0040C0}}}}}};text-decoration:underline">modifier</span>]]<nowiki> ]</nowiki></span> | <div style="float:right; font-size:x-small; margin-right: 20px; "><span class="plainlinks noprint"><nowiki>[</nowiki> [[{{#if:{{{nsportail|}}}||Modèle:}}{{{partie|#}}}|<span style="color:{{{couleurlien|{{{couleurtitre|#0040C0}}}}}};text-decoration:underline">modifier</span>]]<nowiki> ]</nowiki></span> | ||
</div> | </div> | ||
</noinclude> | </noinclude> | ||
- | <h2 style="background-color:{{{couleurcadre|#C10012}}}; color:{{{couleurtitre|#FFFFFF}}}; text-align:left; font-weight:bold; font-size:{{{tailletitre|100%}}}; margin:0px 0px 5px 0px; padding:5px 3px {{#ifeq: {{{tailletitre|100%}}} | 100% | 3px | 5px }} 1em; -moz-border-radius-topright:25px; -moz-border-radius-topleft:3px;"> | + | <h2 style="background-color:{{{couleurcadre|#C10012}}}; color:{{{couleurtitre|#FFFFFF}}}; text-align:left; font-weight:bold; font-size:{{{tailletitre|100%}}}; margin:0px 0px 5px 0px; padding:5px 3px {{#ifeq: {{{tailletitre|100%}}} | 100% | 3px | 5px }} 1em; -moz-border-radius-topright:25px; -moz-border-radius-topleft: {{#ifeq: {{{arrondigauche}}} | true | 25px | 3px}};"> |
{{{titre}}} | {{{titre}}} | ||
</h2> | </h2> |
Version actuelle en date du 27 octobre 2009 à 12:57
Présentation
cadre arrondi, couleurs personnalisables du titre, du lien modifier, des fonds
Code
{{Composant portail 1 |nsportail=1 |couleurfond=lightblue |couleurtour= grey |couleurcadre=silver |couleurtitre=blue |tailletitre=130% |titre=Cadre arrondi |couleurlien=green |partie=/sous-page }}