« Modèle:Divbox » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (Une version intermédiaire par le même utilisateur non affichée) | |||
| Ligne 7 : | Ligne 7 : | ||
|tt=background-color: transparent; color:darkblue; font-family:monospace; border: 1px solid grey; | |tt=background-color: transparent; color:darkblue; font-family:monospace; border: 1px solid grey; | ||
|plain | |plain | ||
|#default=background-color: inherit; border: 1px solid #000000;}} margin: 0.5em; padding: 0.5em; {{#if:{{{radius|}}}|border-radius: {{{radius}}};}} width:{{{width|100%}}};{{#if:{{{height|}}}|height:{{{height}}};|}}display:inline-block;"> | |#default=background-color: inherit; border: 1px solid #000000;}} margin: 0.5em; padding: 0.5em; {{#if:{{{radius|}}}|border-radius: {{{radius}}};}} width:{{{width|100%}}};{{#if:{{{height|}}}|height:{{{height}}};|}} display:inline-block; vertical-align:top; text-align:center;"> | ||
<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">{{#if:{{{2|}}}|'''{{{2}}}'''}}</div> | <div class="center" style="width:auto; margin-left:auto; margin-right:auto;">{{#if:{{{2|}}}|'''{{{2}}}'''}}</div> | ||
{{{3|}}} | {{{3|}}} | ||
Dernière version du 28 avril 2025 à 12:34
From https://www.mediawiki.org/wiki/Template:Divbox - Mimics the divbox template found on English wikipedia.
Note that not all styles are currently supported. Currently just red, grey, amber, navy, none, tt, and plain (which is the default).