Mudanças entre as edições de "EquationRef/doc"

De Wiki Coolab
Ir para navegação Ir para pesquisar
EquationNote>Daviddwd
(Created)
 
m (3 edições )
 
(2 revisões intermediárias por 2 usuários não estão sendo mostradas)
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 atual tal como às 18h38min de 16 de abril de 2020

{{#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:

Predefinição:Markup2

which may then be referred to by Predefinição:Tlb or even Predefinição:Tlb (i.e., Predefinição:EquationNote).

Predefinição:Markup2

which may be referred to by Predefinição:Tlb (i.e., Predefinição:EquationNote).

Predefinição:Markup2

which may be referred to by Predefinição:Tlb (i.e., Predefinição:EquationNote).