Template:Uniform map/doc: Difference between revisions

Sintel (talk | contribs)
fix docs
Sintel (talk | contribs)
update docs
Line 3: Line 3:


=== 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>: The central EDO for the range.
# Minimum size, given as 1\size (write only the decimal number); defaults to 11.5.
# <code>min</code>: Minimum size, given as 1\size (write only the decimal number).
# Maximum size, given as 1\size (write only the decimal number); defaults to 12.5.
# <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.


==== Example ====
If no min/max are provided, the range wil be <code>edo</code> +/- 0.2 (see first example below).
For example:


<pre>{{Uniform map|7|16.5|17.5}}</pre>
==== Examples ====
Preferably, stick to just providing the EDO for the page:
<pre>{{Uniform map|edo=7}}</pre>


gives:
gives:
{{Uniform map|7|16.5|17.5}}
{{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:
{{Uniform map|min=6.5|max=7.5|limit=5}}