Difference between revisions of "Template:Pow"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
|  (The font thing is a hack, but what else is there with the same functionality when the styles are off?) | m (Tweaks.) | ||
| Line 1: | Line 1: | ||
| − | <font size="1" color="transparent" style="position: | + | <includeonly><font size="1" color="transparent" style="position:relative;left:-9999px;display:inline-block;width:1px;height:1px;overflow:hidden">^</font><sup style="padding:0 2px">{{{1|2}}}</sup></includeonly><noinclude> | 
| {{Documentation}} | {{Documentation}} | ||
| </noinclude> | </noinclude> | ||
Revision as of 14:14, 15 September 2021
Use for creating exponents:
E = mc^2. Over plain <sup> tags, this template has the benefit of showing up correctly even when copying and pasting plain text.
The default value is squared (^2).
| The above documentation is transcluded from Template:Pow/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. | 
 Template documentation
 Template documentation
