« Wikilivres:Multi bandeau » : différence entre les versions
Contenu supprimé Contenu ajouté
le minimum pour des raisons de performance (modèle très usité et à paramètrage multiple) |
m supprime le "hack" avec des tableaux cachés dans le code HTML généré (car ça ne marche pas toujours). Code testé dans Modèle:Multi bandeau/test |
||
Ligne 1 :
Rangée pour les bandeaux 1 et 2 (et 3 si pas de bandeau 4)
|-valign="top"▼
-->{{{!}}width="100%" border="0" cellspacing="0" cellpadding="0" style="clear:both;margin:0;border:none;background-color:transparent;padding:0"
{{!}}width="{{#if:{{{3|}}}|{{#if:{{{4|}}}|50|33}}|50}}%"{{!}}{{{{{2}}}}}
{{#if:{{{3|}}}|{{#if:{{{4|}}}||
{{!}}width="8"{{!}}
|-valign="top"▼
|
{{!}}}
|}}<!--
Rangée pour les bandeaux 3 et 4 (et 5 si pas de bandeau 6)
-->{{#if:{{{4|}}}|
{{{!}}width="100%" border="0" cellspacing="0" cellpadding="0" style="clear:both;margin:0;border:none;background-color:transparent;padding:0"
|-valign="top"▼
▲|width="50%"|{{{{{3}}}}}
{{!}}width="{{#if:{{{5|}}}|{{#if:{{{6|}}}|50|33}}|50}}%"{{!}}{{{{{3}}}}}
{{!}}width="{{#if:{{{5|}}}|{{#if:{{{6|}}}|50|33}}|50}}%"{{!}}{{{{{4}}}}}
▲|}</includeonly><noinclude>
{{#if:{{{5|}}}|{{#if:{{{6|}}}||
[[{{FULLPAGENAME}}/Documentation|Documentation]]▼
{{!}}width="8"{{!}}
|}}|}}
{{!}}}
|}}<!--
Rangée pour les bandeaux 5 et 6 (et 7 si pas de bandeau 8)
-->{{#if:{{{6|}}}|
{{{!}}width="100%" border="0" cellspacing="0" cellpadding="0" style="clear:both;margin:0;border:none;background-color:transparent;padding:0"
{{!}}width="{{#if:{{{7|}}}|{{#if:{{{8|}}}|50|33}}|50}}%"{{!}}{{{{{5}}}}}
{{!}}width="8"{{!}}
{{!}}width="{{#if:{{{7|}}}|{{#if:{{{8|}}}|50|33}}|50}}%"{{!}}{{{{{6}}}}}
{{#if:{{{7|}}}|{{#if:{{{8|}}}||
{{!}}width="8"{{!}}
{{!}}width="33%"{{!}}{{{{{7}}}}}
|}}|}}
{{!}}}
|}}<!--
Rangée pour les bandeaux 7 et 8 (et 9 si pas de bandeau 10)
-->{{#if:{{{8|}}}|
{{{!}}width="100%" border="0" cellspacing="0" cellpadding="0" style="clear:both;margin:0;border:none;background-color:transparent;padding:0"
{{!}}-valign="top"
{{!}}width="{{#if:{{{9|}}}|{{#if:{{{10|}}}|50|33}}|50}}%"{{!}}{{{{{7}}}}}
{{!}}width="8"{{!}}
{{!}}width="{{#if:{{{9|}}}|{{#if:{{{10|}}}|50|33}}|50}}%"{{!}}{{{{{8}}}}}
{{#if:{{{9|}}}|{{#if:{{{10|}}}||
{{!}}width="8"{{!}}
{{!}}width="33%"{{!}}{{{{{9}}}}}
|}}|}}
{{!}}}
▲|}}</includeonly><noinclude>Voir [[{{FULLPAGENAME}}/Documentation|Documentation]]
[[Catégorie:Modèle utilisant les ParserFunctions|Multi bandeau]]
[[Catégorie:Lien portail|!!]]
|