« Modèle:Box » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
Ligne 7 : | Ligne 7 : | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div style="box-sizing: border-box;margin: 0.5em 0.5em 1em 0.5em;border-radius: 0.2em;background: #fff;box-shadow: 0 0 0.2em #999999;{{#if:{{{color|}}}| background-color: {{{color|rgb(242,242,242}}}; }} {{{style|}}};"> | <div style="box-sizing: border-box;margin: 0.5em 0.5em 1em 0.5em;border-radius: 0.2em;background: #fff;box-shadow: 0 0 0.2em #999999;{{#if:{{{color|}}}| background-color: {{{color|rgb(242,242,242}}}; }} {{{style|}}};"> | ||
<div style="color: #fff;border-radius: 0.2em 0.2em 0 0;padding: 0.5em 1em 0.5em 1em;background-color:rgba(0,0,0,0.5)"> | <div style="color: #fff;border-radius: 0.2em 0.2em 0 0;padding: 0.5em 1em 0.5em 1em;background-color:rgba(0,0,0,0.5)"> | ||
'''{{{title}}}''' | '''{{{title}}}''' | ||
</div> | </div> | ||
<div style=" padding: 0.5em 1em 0.5em 1em;"> | <div style=" padding: 0.5em 1em 0.5em 1em;"> | ||
{{{content}}} | {{{content}}} |
Version du 27 avril 2021 à 13:27
Ceci est le modèle « box ». Il devrait être appelé selon le format suivant :
{{box|title=TITLE|content=CONTENT|color=BACKGROUND-COLOR}}
Modifiez la page pour voir le texte du modèle.