Modèle:Prettytable4 : Différence entre versions
Ligne 1 : | Ligne 1 : | ||
<includeonly>{{#if:{{{of|}}} | <includeonly>{{#if:{{{of|}}} | ||
|overflow: auto; margin: 1px 0 6px; padding: 9px; | |overflow: auto; margin: 1px 0 6px; padding: 9px; | ||
− | |class="pretty-table" style="border-spacing: 1px; overflow: hidden; border-radius: 8px 0; text-align: {{#switch:{{{align|}}} | + | |class="pretty-table{{#if:{{{class|}}}|{{Espace}}{{{class}}}}}" style="border-spacing: 1px; overflow: hidden; border-radius: 8px 0; text-align: {{#switch:{{{align|}}} |
|left=left | |left=left | ||
|right=right | |right=right |
Version du 13 juin 2024 à 21:18
Utilisation du modèle
Modèle à utiliser lors de la création d'un tableau.
Les différents arguments falcutatifs possibles sont :
- align avec les valeurs left ou right
- width avec un pourcentage
- overflow avec n'importe quelle valeur (true par convention)