Template:EquationRef/doc: Difference between revisions

From Flowpedia
No edit summary
No edit summary
Line 1: Line 1:
{{#ifeq:{{ROOTPAGENAME}}|EquationRef|{{tsh|EqRef}}}}
{{#ifeq:{{ROOTPAGENAME}}|EquationRef|{{tsh|EqRef}}}}
{{Documentation subpage}}
{{Documentation subpage}}
The pair of templates <code>{{tl|EquationRef}}</code> and {{tl|EquationNote}} is used for labeling equations in text.


For example, {{markup2|m=<nowiki>:{{EquationRef|Eq. 1}} <math>x^2+x+1=0</math></nowiki>|r=
The pair of templates <code><nowiki>{{tl|EquationRef}}</nowiki></code> and <code><nowiki>{{tl|EquationNote}}</nowiki></code> is used for labeling equations in text.
:{{EquationRef|Eq. 1}} <math>x^2+x+1=0</math>}}
 
For example,
 
* <code><nowiki>:{{EquationRef|Eq. 1}} <math>x^2+x+1=0</math></nowiki></codę>
 
Here, the identifier "'''Eq. 1'''" is a label which can be later referred to with a call to {{tl|EquationNote}}. That is, {{tlb|EquationNote|Eq. 1}} produces a link {{EquationNote|Eq. 1}} to this equation.
Here, the identifier "'''Eq. 1'''" is a label which can be later referred to with a call to {{tl|EquationNote}}. That is, {{tlb|EquationNote|Eq. 1}} produces a link {{EquationNote|Eq. 1}} to this equation.