Şablon:Frac/doc: Ferqê çımraviyarnayışan
Content deleted Content added
m Boti frr:Vorlage:Bruch rê interwiki dekerd de |
m Bot: Kullanımdan kaldırılmış <source> etiketini ve "enclose" parametresini değiştirin [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]; kozmetik vurnayışi |
||
Line 3:
This template builds an alternative form of [[common fraction]]s. It takes one, two or three parameters: the optional integer (may be signed), the optional numerator and the required denominator; in this order. Please '''do not''' <code>subst:</code>itute it. This template should '''not''' be used in mathematical articles, per [[MOS:MATH#Fractions]].
; <code><nowiki>{{frac|A|B|C}}</nowiki></code>: {{frac|A|B|C}} (integer, numerator and denominator)
: <
; <code><nowiki>{{frac|A|B}}</nowiki></code>: {{frac|A|B}} (numerator and denominator)
: <
; <code><nowiki>{{frac|A}}</nowiki></code>: {{frac|A}} (denominator only)
: <
== Examples ==
Line 14:
== Deactivation and customization ==
Users who prefer to see fractions inline, e.g. „1 2⁄3“ instead of „{{frac|1|2|3}}, can turn off the effects of this template by adding the following code to [[
<
.frac>sub /* denominator */
{
Line 22:
line-height: inherit/* or 1*/;
position: inherit/* or static*/;
}</
These selectors and properties can also be used as a base for custom rendering of vulgar fractions:
<
.frac
{
Line 50:
{
text-decoration: overline;
}</
== Notes ==
* <code>&frasl;</code> may be used to print out the fraction glyph "
== See also ==
Line 65:
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[
[[
</includeonly>
|