Template:Uniform map/doc: Difference between revisions

Sintel (talk | contribs)
fix docs
ArrowHead294 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{dochead}}{{lua}}
{{dochead}}{{substitute|no}}
The '''Uniform map''' templates creates a table of [[prime limit|p-limit]] [[uniform map]]s between two size boundaries.
The '''Uniform map''' templates creates a table of [[prime limit|''p''-prime-limit]] [[uniform map]]s between two size boundaries.


=== Usage ===
=== Usage ===
This template accepts three arguments:
This template accepts the following named arguments:
# Prime limit (write only the prime number); defaults to 5-limit.
; <code>edo</code>
# Minimum size, given as 1\size (write only the decimal number); defaults to 11.5.
: The central EDO for the range.
# Maximum size, given as 1\size (write only the decimal number); defaults to 12.5.


==== Example ====
; <code>min</code>
For example:
: Minimum size, given as 1\size (write only the decimal number).


<pre>{{Uniform map|7|16.5|17.5}}</pre>
; <code>max</code>
: Maximum size, given as 1\size (write only the decimal number).
 
; <code>limit</code>
: Prime limit (write only the prime number); defaults to 13-limit.
 
If no min/max are provided, the range wil be <code>edo</code> &#177;0.2 (see first example below).
 
==== Examples ====
Preferably, stick to just providing the EDO for the page:
<pre>{{Uniform map|edo=7}}</pre>
 
gives:
{{Uniform map|edo=7}}
 
You can customize the table by providing more arguments:
<pre>{{Uniform map|min=6.5|max=7.5|limit=5}}</pre>


gives:
gives:
{{Uniform map|7|16.5|17.5}}
{{Uniform map|min=6.5|max=7.5|limit=5}}