Mudanças entre as edições de "EquationRef/doc"
Ir para navegação
Ir para pesquisar
EquationNote>Daviddwd m (Daviddwd moved page Template:EquationRef/documentation to Template:EquationRef/doc: convention) |
EquationNote>Mikhail Ryazanov m (punct.) |
||
Linha 18: | Linha 18: | ||
{{markup2|m=<nowiki>{{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|4|Eq.4}}}}</nowiki>|r= | {{markup2|m=<nowiki>{{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|4|Eq.4}}}}</nowiki>|r= | ||
− | {{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|4|Eq.4}}}} | + | {{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|4|Eq. 4}}}} |
}} | }} | ||
:which may be referred to by {{tlb|EquationNote|4}} (i.e., {{EquationNote|4}}). | :which may be referred to by {{tlb|EquationNote|4}} (i.e., {{EquationNote|4}}). | ||
{{markup2|m=<nowiki>{{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|Eq.5}}}}</nowiki>|r= | {{markup2|m=<nowiki>{{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|Eq.5}}}}</nowiki>|r= | ||
− | {{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|Eq.5}}}} | + | {{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|Eq. 5}}}} |
}} | }} | ||
− | :which may be referred to by {{tlb|EquationNote|Eq.5}} (i.e., {{EquationNote|Eq.5}}). | + | :which may be referred to by {{tlb|EquationNote|Eq. 5}} (i.e., {{EquationNote|Eq. 5}}). |
[[Category:Mathematical formatting templates]] | [[Category:Mathematical formatting templates]] |
Edição das 21h33min de 27 de setembro de 2019
{{#ifeq:equationref/doc |doc
|
{{#ifeq:show |show
| Predefinição:Mbox }}{{#if: | | {{#ifexist::EquationRef/doc | [[Category:{{#switch: |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
The pair of templates {{EquationRef}} and {{EquationNote}} is used for labeling equations in text.
For example, Predefinição:Markup2 Here, the identifier "Eq. 1" is a label which can be later referred to with a call to {{EquationNote}}. That is, Predefinição:Tlb produces a link Predefinição:EquationNote to this equation.
Similarly, Predefinição:Markup2 which can be referred to by Predefinição:Tlb or even Predefinição:Tlb (i.e., Predefinição:EquationNote).
This template can be used together with {{NumBlk}} to produce nicely formatted numbered equations. For instance:
- which may then be referred to by Predefinição:Tlb or even Predefinição:Tlb (i.e., Predefinição:EquationNote).
- which may be referred to by Predefinição:Tlb (i.e., Predefinição:EquationNote).
- which may be referred to by Predefinição:Tlb (i.e., Predefinição:EquationNote).