Module:Factorization/doc: Difference between revisions
From Kenshi Wiki
More actions
Created page with "{{doc sub}} {{Module rating|b}} This module displays the factorization of a given number. Numbers smaller than 2 or greater than 1,000,000,000 return "Error: ''<number>'' out of range". Fractional numbers are rounded down. ;Parameters * The first unnamed parameter is the number * <code>product</code> - the symbol to be used to indicate ''times''. Defaults to · * <code>bold</code> - set to any value to make it bold * <code>serif</code> - set to..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{doc sub}} | {{doc sub}} | ||
This module displays the factorization of a given number. Numbers smaller than 2 or greater than 1,000,000,000 return "Error: ''<number>'' out of range". Fractional numbers are rounded down. | This module displays the factorization of a given number. Numbers smaller than 2 or greater than 1,000,000,000 return "Error: ''<number>'' out of range". Fractional numbers are rounded down. | ||
Line 10: | Line 8: | ||
* <code>serif</code> - set to any value to make it serif | * <code>serif</code> - set to any value to make it serif | ||
* <code>big</code> - set to any value to make it big | * <code>big</code> - set to any value to make it big | ||
* <code>prime</code> - set to any value to have prime numbers return an unformatted link to [[prime]] instead of the number<noinclude> | * <code>prime</code> - set to any value to have prime numbers return an unformatted link to [[prime]] instead of the number | ||
<includeonly> | |||
[[Category:Modules]] | |||
</includeonly> | |||
<noinclude> | |||
[[Category:Module documentation pages]] | [[Category:Module documentation pages]] | ||
</noinclude> | </noinclude> |
Revision as of 00:19, 1 March 2025
This is a documentation subpage for Module:Factorization. It may contain usage information, categories and other content that is not part of the original module page. |
This module displays the factorization of a given number. Numbers smaller than 2 or greater than 1,000,000,000 return "Error: <number> out of range". Fractional numbers are rounded down.
- Parameters
- The first unnamed parameter is the number
product
- the symbol to be used to indicate times. Defaults to ·bold
- set to any value to make it boldserif
- set to any value to make it serifbig
- set to any value to make it bigprime
- set to any value to have prime numbers return an unformatted link to prime instead of the number