แม่แบบ:EquationRef/doc

จาก testwiki
ไปยังการนำทาง ไปยังการค้นหา

แม่แบบ:Documentation subpage The pair of templates แม่แบบ:Tl and แม่แบบ:Tl is used for labeling equations in text.

For example, แม่แบบ:Markup2 Here, the identifier "Eq. 1" is a label which can be later referred to with a call to แม่แบบ:Tl. That is, แม่แบบ:Tlb produces a link แม่แบบ:EquationNote to this equation.

Similarly, แม่แบบ:Markup2 which can be referred to by แม่แบบ:Tlb or even แม่แบบ:Tlb (i.e., แม่แบบ:EquationNote).

This template can be used together with แม่แบบ:Tl to produce nicely formatted numbered equations. For instance:

  • {{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|3}}}}

แม่แบบ:NumBlk

which may then be referred to by แม่แบบ:Tlb or even แม่แบบ:Tlb (i.e., แม่แบบ:EquationNote).
  • {{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|4|Eq.4}}}}

แม่แบบ:NumBlk

which may be referred to by แม่แบบ:Tlb (i.e., แม่แบบ:EquationNote).
  • {{NumBlk|::|<math>x^2+x+1=0</math>|{{EquationRef|Eq.5}}}}

แม่แบบ:NumBlk

which may be referred to by แม่แบบ:Tlb (i.e., แม่แบบ:EquationNote).