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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
Aucun résumé des modifications
m (1 révision importée : importer pages, templates etc de PPR-FR (X1))
 

Dernière version du 20 mai 2020 à 12:53

\definecolor{bggrey}{RGB}{234,234,234}\pagecolor{bggrey}


Description

This template is used to define the background colour of math formulas inside "Highlight boxes" (see template Highlightbox

Notes: 1/ it cannot be used inside the <math ... </math> syntax as templates are not transcluded there. so use in replacement the syntax {{:#tag:math| {{FormulaHighlightBox}} math_formula_description }} 2/ math formulas inside the {{#tag:math| ....}} call should not have any double-brackets }} otherwise they would be seen as the end of the template. If needed add a space between the brackets like this: } } (no impact on math formula itself)