Mudanças entre as edições de "EquationRef"
Ir para navegação
Ir para pesquisar
EquationNote>Igor Yalovecky m |
EquationNote>Vadmium (Avoid duplicate HTML element identifiers caused by multiple instances of {{EquationNote}}) |
||
Linha 8: | Linha 8: | ||
Similarly, '''<nowiki>:{{EquationRef|2|Eq. 2:}} <math>x^2-2x+1=0</math></nowiki>''' results in | Similarly, '''<nowiki>:{{EquationRef|2|Eq. 2:}} <math>x^2-2x+1=0</math></nowiki>''' results in | ||
:{{EquationRef|2|Eq. 2:}} <math>x^2-2x+1=0</math> | :{{EquationRef|2|Eq. 2:}} <math>x^2-2x+1=0</math> | ||
− | which can be referred to by '''<nowiki>{{EquationNote|2}}</nowiki>''' | + | which can be referred to by '''<nowiki>{{EquationNote|2}}</nowiki>''' or even '''<nowiki>{{EquationNote|2|Equation 2}}</nowiki>''' (i.e., {{EquationNote|2|Equation 2}}). |
This template can be used together with {{tl|NumBlk}} to produce nicely formatted numbered equations. For instance: | This template can be used together with {{tl|NumBlk}} to produce nicely formatted numbered equations. For instance: | ||
Linha 16: | Linha 16: | ||
{{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|3}}}} | {{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|3}}}} | ||
− | :which may then be referred to by '''<nowiki>{{EquationNote|3}}</nowiki>''' | + | :which may then be referred to by '''<nowiki>{{EquationNote|3}}</nowiki>''' or even '''<nowiki>{{EquationNote|3|Eq. 3}}</nowiki>''' (i.e., {{EquationNote|3|Eq. 3}}). |
* '''<nowiki>{{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|4|Eq.4}}}}</nowiki> gives | * '''<nowiki>{{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|4|Eq.4}}}}</nowiki> gives |
Edição das 03h16min de 13 de junho de 2012
Erro de script: Nenhum módulo desse tipo "documentation".