« 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 6 : | Ligne 6 : | ||
Modifiez la page pour voir le texte du modèle. | Modifiez la page pour voir le texte du modèle. | ||
</noinclude><includeonly><div style="box-sizing: border-box;margin: 0;background-color:#f4f4f4;border-radius: 0.2em;box-shadow: 0 0 0.2em #999999;{{#if:{{{color|}}}| background-color: {{{color|#f4f4f4}}}; }}{{#if:{{{width|}}}| width: {{{width|auto}}}; }}">{{#if:{{{title|}}}|<div style="color: #fff;border-radius: 0.2em 0.2em 0 0;padding: 0.5em 1em 0.5em 1em;">'''{{{title}}}'''</div>}}<div style=" padding: 0.5em 1em 0.5em 1em;background-color: rgba(255,255,255,0.5); | </noinclude><includeonly><div style="box-sizing: border-box;margin: 0;background-color:#f4f4f4;border-radius: 0.2em;box-shadow: 0 0 0.2em #999999;{{#if:{{{color|}}}| background-color: {{{color|#f4f4f4}}}; }}{{#if:{{{width|}}}| width: {{{width|auto}}}; }}">{{#if:{{{title|}}}|<div style="color: #fff;border-radius: 0.2em 0.2em 0 0;padding: 0.5em 1em 0.5em 1em;">'''{{{title}}}'''</div>}}<div style=" padding: 0.5em 1em 0.5em 1em;background-color: rgba(255,255,255,0.5); | ||
height: 100%;">{{{content}}}</div></div></includeonly> |
Version du 28 avril 2021 à 11:26
Ceci est le modèle « box ». Il devrait être appelé selon le format suivant :
{{box|title=TITLE|content=CONTENT|color=BACKGROUND-COLOR|width=WIDTH}}
Modifiez la page pour voir le texte du modèle.