Template:Uniform map/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
m +Debugging option
Line 9: Line 9:


==== Example ====
==== Example ====
Here is the output of <code><nowiki>{{Uniform map|7|16.5|17.5}}</nowiki></code>:
For example:
 
<pre>{{Uniform map|7|16.5|17.5}}</pre>
 
gives:
 
{{{{ROOTPAGENAME}}|print_table|7|16.5|17.5}}
{{{{ROOTPAGENAME}}|print_table|7|16.5|17.5}}

Revision as of 14:23, 3 February 2025

This template is implemented by the Lua module Module:Uniform map.
This template invokes the following functions: print_table from Uniform map.

Template:Modlink The Uniform map templates creates a table of p-limit uniform maps between two size boundaries.

Usage

This template accepts three arguments:

  1. Prime limit (write only the prime number); defaults to 5-limit.
  2. Minimum size, given as 1\size (write only the decimal number); defaults to 11.5.
  3. Maximum size, given as 1\size (write only the decimal number); defaults to 12.5.

Example

For example:

{{Uniform map|7|16.5|17.5}}

gives:

Lua error in Module:Uniform_map at line 135: Must provide edo if not min or max given..