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

De Guide de l'Installation Electrique
Aller à :navigation, rechercher
m (1 version : upload useful templates - prepared in FR-PP)
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
\definecolor{bggrey}{RGB}{234,234,234}\pagecolor{bggrey}<noinclude>
\definecolor{bggrey}{RGB}{234,234,234}\pagecolor{bggrey}<noinclude>


[[Category:Utility templates|{{PAGENAME}}]]
[[Category:Legacy-eig-templates|{{PAGENAME}}]]





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)