Modèle:Boxlayout1 : Différence entre versions

De Xhodon
Aller à : navigation, rechercher
m (Protected "Template:Boxlayout1" [edit=sysop:move=sysop])
m (templates des couleurs ajusté)
Ligne 4 : Ligne 4 :
 
{| celltabbing="0" cellspacing="0" style="width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};"
 
{| celltabbing="0" cellspacing="0" style="width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};"
 
{{#if: {{{Title_Header|}}} |
 
{{#if: {{{Title_Header|}}} |
! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Header| }}}
+
! style="border-bottom:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}}; background-color:{{{Color_Title|#{{CouleurBoxTitre|F3DCA8}}}}};" {{!}} {{{Title_Header| }}}
 
{{!-}}
 
{{!-}}
 
}}
 
}}
Ligne 13 : Ligne 13 :
 
|
 
|
 
<div style="width:49.5%; vertical-align:top; float:left;">
 
<div style="width:49.5%; vertical-align:top; float:left;">
{| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};"
+
{| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}};"
! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" | {{{Title_Left_1|&nbsp;}}}
+
! style="border-bottom:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}}; background-color:{{{Color_Title|#{{CouleurBoxTitre|F3DCA8}}}}};" | {{{Title_Left_1|&nbsp;}}}
 
|-
 
|-
 
| style="padding:0.5em 1em;" |
 
| style="padding:0.5em 1em;" |
 
{{{Content_Left_1|&nbsp;<br>}}}
 
{{{Content_Left_1|&nbsp;<br>}}}
 
|}{{#if: {{{Title_Left_2|}}} |
 
|}{{#if: {{{Title_Left_2|}}} |
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};"
+
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}};"
! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Left_2|&nbsp;}}}
+
! style="border-bottom:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}}; background-color:{{{Color_Title|#{{CouleurBoxTitre|F3DCA8}}}}};" {{!}} {{{Title_Left_2|&nbsp;}}}
 
{{!-}}
 
{{!-}}
 
{{!}} style="padding:0.5em 1em;" {{!}}
 
{{!}} style="padding:0.5em 1em;" {{!}}
 
{{{Content_Left_2|&nbsp;<br>}}}
 
{{{Content_Left_2|&nbsp;<br>}}}
 
{{!)}}}}{{#if: {{{Title_Left_3|}}} |
 
{{!)}}}}{{#if: {{{Title_Left_3|}}} |
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};"
+
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}};"
! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Left_3|&nbsp;}}}
+
! style="border-bottom:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}}; background-color:{{{Color_Title|#{{CouleurBoxTitre|F3DCA8}}}}};" {{!}} {{{Title_Left_3|&nbsp;}}}
 
{{!-}}
 
{{!-}}
 
{{!}} style="padding:0.5em 1em;" {{!}}
 
{{!}} style="padding:0.5em 1em;" {{!}}
Ligne 32 : Ligne 32 :
 
{{!)}}}}</div>
 
{{!)}}}}</div>
 
<div style="width:49.5%; vertical-align:top; float:right;">
 
<div style="width:49.5%; vertical-align:top; float:right;">
{| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};"
+
{| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}};"
! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" | {{{Title_Right_1|&nbsp;}}}
+
! style="border-bottom:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}}; background-color:{{{Color_Title|#{{CouleurBoxTitre|F3DCA8}}}}};" | {{{Title_Right_1|&nbsp;}}}
 
|-
 
|-
 
| style="padding:0.5em 1em;" |
 
| style="padding:0.5em 1em;" |
 
{{{Content_Right_1|&nbsp;<br>}}}
 
{{{Content_Right_1|&nbsp;<br>}}}
 
|}{{#if: {{{Title_Right_2|}}} |
 
|}{{#if: {{{Title_Right_2|}}} |
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};"
+
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}};"
! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Right_2|&nbsp;}}}
+
! style="border-bottom:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}}; background-color:{{{Color_Title|#{{CouleurBoxTitre|F3DCA8}}}}};" {{!}} {{{Title_Right_2|&nbsp;}}}
 
{{!-}}
 
{{!-}}
 
{{!}} style="padding:0.5em 1em;" {{!}}
 
{{!}} style="padding:0.5em 1em;" {{!}}
 
{{{Content_Right_2|&nbsp;<br>}}}
 
{{{Content_Right_2|&nbsp;<br>}}}
 
{{!)}}}}{{#if: {{{Title_Right_3|}}} |
 
{{!)}}}}{{#if: {{{Title_Right_3|}}} |
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};"
+
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}};"
! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Right_3|&nbsp;}}}
+
! style="border-bottom:1px solid {{{Color_Border|#{{CouleurBordure|808080}}}}}; background-color:{{{Color_Title|#{{CouleurBoxTitre|F3DCA8}}}}};" {{!}} {{{Title_Right_3|&nbsp;}}}
 
{{!-}}
 
{{!-}}
 
{{!}} style="padding:0.5em 1em;" {{!}}
 
{{!}} style="padding:0.5em 1em;" {{!}}

Version du 12 novembre 2009 à 14:35

Icon Translate.png Cet article/paragraphe doit être traduit ou la traduction est en cours.

Attention! Vous êtes priés de ne pas traduire le wiki avec les traducteurs en ligne!
Bien souvent, les traductions ne sont absolument pas fiables, car elles sont littérales!

Prévue

 

 

 

 

 

Emploi

  • Il faut saisir un Title_Header pour que la tête de la box sera colorée
  • Il y a au moins une box dans chaque colonne. Plusieurs boxes ne seront affichées que si on y saisi des titres.
  • Pour rendre des tableaux comme paramètres, il faut remplacer les "pipes" | par des constructions (modèles) comme {{!}}

Example

{{Boxlayout1
|Color_Border=#{{ColorBorder|808080}}
|Color_Title=#{{ColorTitleBox|F3DCA8}}

|Title_Header=
|Content_Header=

|Title_Left_1=
|Content_Left_1=

|Title_Left_2=
|Content_Left_2=

|Title_Left_3=
|Content_Left_3=

|Title_Right_1=
|Content_Right_1=

|Title_Right_2=
|Content_Right_2=

|Title_Right_3=
|Content_Right_3=
}}