Template:Abs: Difference between revisions
From Vigyanwiki
Template>Frietjes No edit summary |
Template>Quondum (replacing hair spaces with HTML padding; results should be more consistent over all fonts, and if copied using an editor, will not include spaces) |
||
| Line 1: | Line 1: | ||
<includeonly>|{{#if: {{{1|}}} | | <includeonly>|{{#if: {{{1|}}} |<span class="nowrap" style="padding-left:0.1em; padding-right:0.1em;">{{{1}}}</span>| · }}|</includeonly><noinclude> | ||
{{documentation|content = | {{documentation|content = | ||
This template may be used to enclose text between two | This template may be used to enclose text between two [[vertical bar]]s ({{unichar|007C|vertical var}}), such as to denote the [[absolute value]]. It adds padding (of width 0.1 em) on each side inside the bars. | ||
== Usage == | == Usage == | ||
| Line 10: | Line 10: | ||
<pre> | <pre> | ||
The notation {{math|{{abs}}}} means | The notation {{math|{{abs}}}} means ''absolute value''. | ||
</pre> | </pre> | ||
The notation {{math|{{abs}}}} means | The notation {{math|{{abs}}}} means ''absolute value''. | ||
== Alternatives == | == Alternatives == | ||
This template is equivalent to enclosing the text between two {{tlx|pipe}} templates ( | This template is equivalent to enclosing the text between two {{tlx|pipe}} templates (plus padding of width similar to [[hair space]]s around the argument) | ||
<pre> | <pre> | ||
When {{math|{{pipe}}&#x200A;<!-- hair space -->''x''&#x200A;{{pipe}} < 7}}, the function is positive. | When {{math|{{pipe}}&#x200A;<!-- hair space -->''x''&#x200A;{{pipe}} < 7}}, the function is positive. | ||
Revision as of 10:32, 3 August 2017
Lua error in Module:TNT at line 182: Missing Commons dataset I18n/Module:TNT.tab.[[Category:Template documentation pages{{#translation:}}]]