« 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 8 : | Ligne 8 : | ||
height: auto;">{{{content}}}</div></div> | height: auto;">{{{content}}}</div></div> | ||
{{#if:{{{title|}}}| | {{#if:{{{title|}}}| | ||
< | <div class="hidden" style="padding:10px;margin:0px;background-color:{{#switch: {{{color}}} | blue=#3581D8| green=#26B52A | red=#D82E3F|{{{color}}}|#a4a4a4}};">{{{title}}}</div> | ||
}} | }} | ||
< | <div class="hidden" style="padding:10px;margin:0px;background-color:{{#switch: {{{color}}} | blue=#CCDFF5| green=#C9ECCA | red=#F5CBCF|{{{color}}}|#F8F9FA}};}}">{{{content}}}</div> | ||
</includeonly> | </includeonly> |
Version du 30 avril 2021 à 16:49
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.