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

Contenu supprimé Contenu ajouté
m - catégories inutiles
m remplacement de la wiki-syntaxe des tableaux par l'équivalent html pour éviter l'inclusion de {{!}}
Ligne 1 :
<includeonly><!--
Rangée pour les bandeaux 1 et 2 (et 3 si pas de bandeau 4)
-->{|<table width="100%" border="0" cellspacing="0" cellpadding="0" style="clear:both; margin:0; border:none; background-color:transparent; padding:0">
|-<tr valign="top">
|<td width="{{#if:{{{2|}}}|{{#if:{{{3|}}}|{{#if:{{{4|}}}|50|33}}|50}}|100}}%" |> {{#if:{{{1|}}}|{{{{{1}}}}}|<span class="error">Erreur de paramétrage de [[Modèle:Multi bandeau|<nowiki>{{Multi bandeau}}</nowiki>]] : le paramètre <code>1</code> est obligatoire.</span>[[Catégorie:Page utilisant un modèle avec une syntaxe erronée]]}}</td>
{{#if:{{{2|}}}|
{{!}}<td width="8" style="padding-left:8px"{{!}}></td>
{{!}}<td width="{{#if:{{{3|}}}|{{#if:{{{4|}}}|50|33}}|50}}%"{{!}}>{{{{{2}}}}}</td>
{{#if:{{{3|}}}|{{#if:{{{4|}}}||
{{!}}<td width="8" style="padding-left:8px"{{!}}></td>
{{!}}<td width="33%"{{!}}>{{{{{3}}}}}</td>
|}}|}}|}}
</tr>
|}<!--
</table><!--
Rangée pour les bandeaux 3 et 4 (et 5 si pas de bandeau 6)
-->{{#if:{{{4|}}}|
{{{!}}<table width="100%" border="0" cellspacing="0" cellpadding="0" style="clear:both; margin:0; border:none; background-color:transparent; padding:0">
{{!}}-<tr valign="top">
{{!}}<td width="{{#if:{{{5|}}}|{{#if:{{{6|}}}|50|33}}|50}}%"{{!}}>{{{{{3}}}}}</td>
{{!}}<td width="8" style="padding-left:8px"{{!}}></td>
{{!}}<td width="{{#if:{{{5|}}}|{{#if:{{{6|}}}|50|33}}|50}}%"{{!}}>{{{{{4}}}}}</td>
{{#if:{{{5|}}}|{{#if:{{{6|}}}||
{{!}}<td width="8" style="padding-left:8px"{{!}}></td>
{{!}}<td width="33%"{{!}}>{{{{{5}}}}}</td>
|}}}}
</tr>
{{!}}}
</table>
|}}<!--
Rangée pour les bandeaux 5 et 6 (et 7 si pas de bandeau 8)
-->{{#if:{{{6|}}}|
{{{!}}<table width="100%" border="0" cellspacing="0" cellpadding="0" style="clear:both; margin:0; border:none; background-color:transparent; padding:0">
{{!}}-<tr valign="top">
{{!}}<td width="{{#if:{{{7|}}}|{{#if:{{{8|}}}|50|33}}|50}}%"{{!}}>{{{{{5}}}}}</td>
{{!}}<td width="8" style="padding-left:8px"{{!}}></td>
{{!}}<td width="{{#if:{{{7|}}}|{{#if:{{{8|}}}|50|33}}|50}}%"{{!}}>{{{{{6}}}}}</td>
{{#if:{{{7|}}}|{{#if:{{{8|}}}||
{{!}}<td width="8" style="padding-left:8px"{{!}}></td>
{{!}}<td width="33%"{{!}}>{{{{{7}}}}}</td>
|}}|}}
</tr>
{{!}}}
</table>
|}}<!--
Rangée pour les bandeaux 7 et, 8 (et 9 si pas de bandeau 10)
-->{{#if:{{{8|}}}|
{{{!}}<table width="100%" border="0" cellspacing="0" cellpadding="0" style="clear:both; margin:0; border:none; background-color:transparent; padding:0">
{{!}}-<tr valign="top">
{{!}}<td width="{{#if:{{{9|}}}|{{#if:{{{10|}}}|50|33}}|50}}%"{{!}}>{{{{{7}}}}}</td>
{{!}}<td width="8" style="padding-left:8px"{{!}}></td>
{{!}}<td width="{{#if:{{{9|}}}|{{#if:{{{10|}}}|50|33}}|50}}%"{{!}}>{{{{{8}}}}}</td>
{{#if:{{{9|}}}|{{#if:{{{10|}}}||
{{!}}<td width="8" style="padding-left:8px"{{!}}></td>
{{!}}<td width="33%"{{!}}>{{{{{9}}}}}</td>
|}}|}}
</tr>
{{!}}}
</table>
|}}</includeonly><noinclude>
{{{{PAGENAME}}/Documentation}}
</noinclude>