Template:Simplified fraction/doc: Difference between revisions

ArrowHead294 (talk | contribs)
Requesting documentation
 
Tristanbay (talk | contribs)
added some documentation
Line 1: Line 1:
{{dochead}}{{lua}}{{clear}}
{{dochead}}{{lua}}{{clear}}
{{todo|inline=1| Documentation }}
This template is for creating fractions that are automatically reduced to their simplest form. It is meant to come in handy for automated template modules that use Lua to generate fractional numbers in a loop.
 
There are 3 parameters:
* n: the numerator
* d: the denominator
* mixed: whether the fraction is mixed or not if it's more than 1.
 
{{{{ROOTPAGENAME}}|24|15|false}}
 
{{{{ROOTPAGENAME}}|44|14|true}}
 
{{{{ROOTPAGENAME}}|75|15|false}}
 
{{{{ROOTPAGENAME}}|100|5|true}}