Minecraft Wiki
No edit summary
m (…)
Line 1: Line 1:
  +
{{Documentation header}}
{{doc/start}}
 
 
{{shortcut|frac}}
 
{{shortcut|frac}}
 
This template allows you to easily create fractions.
 
This template allows you to easily create fractions.
Line 15: Line 15:
 
<pre style="max-width: 92px">{{frac|A|B}}</pre>
 
<pre style="max-width: 92px">{{frac|A|B}}</pre>
 
{{frac|A|B}} (numerator and denominator)
 
{{frac|A|B}} (numerator and denominator)
  +
<includeonly>
{{doc/end}}<noinclude>
 
  +
<!-- Template categories/interwiki here -->
  +
[[Category:Templates]]
  +
  +
[[fr:Modèle:Fraction]]
  +
[[ja:テンプレート:Fraction]]
  +
</includeonly>
 
<noinclude>
  +
<!-- Documentation categories/interwiki here -->
 
[[fr:Modèle:Fraction/doc]]
 
[[fr:Modèle:Fraction/doc]]
 
[[ja:テンプレート:Fraction/doc]]
 
[[ja:テンプレート:Fraction/doc]]

Revision as of 00:59, 29 December 2014

This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more information
Shortcut

This template allows you to easily create fractions.

Usage

{{frac|integer|numerator|denominator}}

If only two parameters are specified the integer parameter will become the numerator parameter, and the numerator parameter will become the denominator parameter.

{{frac|numerator|denominator}}

Examples

{{frac|A|B|C}}

BC (integer, numerator and denominator)

{{frac|A|B}}

AB (numerator and denominator)