Template:Frac: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Crissov
m (interwiki)
meta>Crissov
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}}|{{{1}}}<s style="display:none">+</s><small><sup>{{{2}}}</sup><big>⁄</big><sub>{{{3}}}</sub></small>|{{#if:{{{2|}}}|<small><sup>{{{1}}}</sup><big>⁄</big><sub>{{{2}}}</sub></small>|<small><sup>1</sup><big>⁄</big><sub>{{{1}}}</sub></small>}}}}</includeonly></includeonly><noinclude>
<includeonly>{{#if:{{{3|}}}|{{{1}}}<s style="display:none">+</s><small><sup>{{{2}}}</sup><big>⁄</big><sub>{{{3}}}</sub></small>|{{#if:{{{2|}}}|<small><sup>{{{1}}}</sup><big>⁄</big><sub>{{{2}}}</sub></small>|<small><sup>1</sup><big>⁄</big><sub>{{{1}}}</sub></small>}}}}</includeonly><noinclude>
This template builds nicer-looking [[common fraction]]s. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.
This template builds nicer-looking [[common fraction]]s. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.
; <code><nowiki>{{frac|a|b|c}}</nowiki></code>: {{frac|a|b|c}} (integer, numerator and denominator)
; <code><nowiki>{{frac|a|b|c}}</nowiki></code>: {{frac|a|b|c}} (integer, numerator and denominator)

Revision as of 17:21, 13 November 2006

This template builds nicer-looking common fractions. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.

{{frac|a|b|c}}
a+bc (integer, numerator and denominator)
{{frac|a|b}}
ab (numerator and denominator)
{{frac|a}}
1a (denominator only)

de:Vorlage:Bruch es:Plantilla:Fracción ja:Template:分数