Template:±/doc: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (fix interwiki link)
No edit summary
 
Line 13: Line 13:
* {{tl|sup}} : {{sup|superscript}} text
* {{tl|sup}} : {{sup|superscript}} text
* {{tl|e}} : (1.23{{e|4}})
* {{tl|e}} : (1.23{{e|4}})
* {{tl|Val/units}} : for formatting unit names (contents of parameters <tt>u<tt> or <tt>up</tt>)
* {{tl|Val/units}} : for formatting unit names (contents of parameters <tt>u</tt> or <tt>up</tt>)
* {{tl|Val/unitswithlink}} : for formatting unit names with links (contents of parameters <tt>ul<tt> or <tt>upl</tt>)
* {{tl|Val/unitswithlink}} : for formatting unit names with links (contents of parameters <tt>ul</tt> or <tt>upl</tt>)
* [[wikipedia:Subscript and superscript]]
* [[wikipedia:Subscript and superscript]]



Latest revision as of 05:06, 18 February 2017

Usage

{{± | plusValue | minusValue}}

So to get: 70+2.0
−1.8
You would use: 70{{±|2.0|1.8}}

See also

  • {{su}} – general form of {{±}} for formatting exponents, or two-values incertainty one below the other (monospaced : currently not printable to PDF)
  • {{sub}} : subscript text
  • {{sup}} : superscript text
  • {{e}} : (1.23Template:E)
  • {{Val/units}} : for formatting unit names (contents of parameters u or up)
  • {{Val/unitswithlink}} : for formatting unit names with links (contents of parameters ul or upl)
  • wikipedia:Subscript and superscript