Aller au contenu

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

De Observatoire du réemploi des PMCB en Charente
Aucun résumé des modifications
Aucun résumé des modifications
 
(8 versions intermédiaires par le même utilisateur non affichées)
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}}};}}">
|#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|}}}
</div><noinclude>
</div><noinclude>
Mimics the [[w:Template:Divbox|divbox template]] found on English wikipedia.   
 
From https://www.mediawiki.org/wiki/Template:Divbox - Mimics the [[wikipedia:Template:Divbox|divbox template]] found on English wikipedia.   


Note that not all styles are currently supported.  Currently just <code>red</code>, <code>grey</code>, <code>amber</code>, <code>navy</code>, <code>none</code>, <code>tt</code>, and <code>plain</code> (which is the default).
Note that not all styles are currently supported.  Currently just <code>red</code>, <code>grey</code>, <code>amber</code>, <code>navy</code>, <code>none</code>, <code>tt</code>, and <code>plain</code> (which is the default).
</noinclude>
</noinclude>

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).