Template:±/doc: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
(Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> == Usage == <code><nowiki>{{± | plusValue | minusValue}}</nowiki></code> ...")
 
m (fix interwiki link)
Line 15: Line 15:
* {{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>)
* [[Subscript and superscript]]
* [[wikipedia:Subscript and superscript]]


<includeonly>
<includeonly>

Revision as of 20:38, 11 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