« Modèle:Infobox V3/Tableau Ligne mixte » : différence entre les versions
Apparence
Page créée avec « <includeonly>{{#if: {{{if|{{{2|}}}}}} | <tr> <th scope="row" {{#if:{{{class|}}}|class="{{{class|}}}"}} {{#if: {{{width|}}}|style="width:{{{width|}}}em;"}}>{{{1}}}</th> <td> {{trim|{{{2|}}}}}</td> </tr> | <nowiki /> }}</includeonly><noinclude>{{Documentation}}</noinclude> » |
Aucun résumé des modifications Balise : Révoqué |
||
| Ligne 1 : | Ligne 1 : | ||
<includeonly> | <includeonly><tr class="ligne-mixte"> | ||
<th scope="row" style="text-align:left; vertical-align:top;"> | |||
<th scope="row" | {{Trim|{{{Titre|}}}}} | ||
<td> | </th> | ||
<td style="text-align:left; vertical-align:top;"> | |||
</tr> | {{{Valeur|}}} | ||
</td> | |||
</tr></includeonly><noinclude>{{Documentation}}</noinclude> | |||
Version du 23 mai 2025 à 17:04
Utilisation
Ce modèle permet d’afficher le début d’une infobox personnalisée avec un titre centré, sur fond coloré.
Syntaxe
Vide
{{Infobox V3/Début
| text =
| Couleur =
}}
Conditionnelle
{{Infobox V3/Début
| text = {{{text|}}}
| Couleur = {{{Couleur|}}}
}}
Exemple
Code minimal (couleurs par défaut, le titre est automatiquement celui de la page) :
{{Infobox V3/Début}}
{{Infobox V3/Tableau début}}
{| class="Infobox V3/Tableau Ligne mixte"
|-
{{Infobox V3/Tableau Ligne mixte|Nom|Jean Dupont}}
|-
{{Infobox V3/Tableau Ligne mixte|Âge|45 ans}}
|}
{{Infobox V3/Fin}}
Paramètres
text– Le titre principal de l’infobox.Couleur– La couleur de fond du bandeau supérieur (facultatif).
🔗 Voir aussi