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

De Wiki Coolab
Ir para navegação Ir para pesquisar
EquationNote>Silly rabbit
(ok. this is better. Undid revision 213730063 by Silly rabbit (talk))
EquationNote>Silly rabbit
(doc)
Linha 1: Linha 1:
<cite {{#ifeq:{{{noid}}}|noid||id="math_{{{1}}}"}}><span class="reference plainlinksneverexpand">'''{{ #if:| [[#equation_{{{1}}} | {{{2}}} ]] | [{{fullurl:{{FULLPAGENAME}}}}#Equations] }}'''</span></cite>
+
<includeonly><cite {{#ifeq:{{{noid}}}|noid||id="math_{{{1}}}"}}><span class="reference plainlinksneverexpand">'''{{ #if:| [[#equation_{{{1}}} | {{{2}}} ]] | [{{fullurl:{{FULLPAGENAME}}}}#Equations] }}'''</span></cite></includeonly><noinclude>
 +
The pair of templates {{tl|EquationRef}} and {{tl|EquationNote}} is used for labeling equations in text.  The following equation:
 +
:{{EquationRef|Eq. 1}} <math>x^2+x+1=0</math>
 +
Is typeset by <nowiki>:{{EquationRef|Eq. 1}} <math>x^2+x+1=0</math></nowiki>.  Here the identifier "Eq. 1" is a label which can be later referred to with the following call to {{tl|EquationNote}}: <nowiki>{{EquationNote|Eq. 1}}</nowiki>.  This produces a link {{EquationNote|Eq. 1}} to equation Eq. 1.
 +
</noinclude>

Edição das 13h01min de 17 de julho de 2008

The pair of templates {{EquationRef}} and {{EquationNote}} is used for labeling equations in text. The following equation:

Predefinição:EquationRef [math]x^2+x+1=0[/math]

Is typeset by :{{EquationRef|Eq. 1}} <math>x^2+x+1=0</math>. Here the identifier "Eq. 1" is a label which can be later referred to with the following call to {{EquationNote}}: {{EquationNote|Eq. 1}}. This produces a link Predefinição:EquationNote to equation Eq. 1.