Welcome to the DFO World Wiki. With many major updates since the release of DFO, many items are missing. Visit Item Database Project to learn more.
Please remember to click "show preview" before saving the page.
Thanks for the updated logo snafuPop!
Difference between revisions of "Template:Horizontal scale loop/doc"
m (Dfoplayer moved page Template:For/doc to Template:Horizontal scale loop/doc without leaving a redirect: The loop only calls Horizontal scale and is not a generic loop) |
m (remove calc increment) |
||
Line 11: | Line 11: | ||
|from=starting number | |from=starting number | ||
|to=ending number | |to=ending number | ||
− | |increment=what the increment is. | + | |increment=what the increment is. |
}} | }} | ||
</pre> | </pre> |
Latest revision as of 11:30, 15 August 2018
Uses Extension:Arrays to perform the for loop.
Description
The template calls {{Horizontal scale}}
Usage
{{Horizontal scale loop |times=how many you want to loop to go using a comma separated list |from=starting number |to=ending number |increment=what the increment is. }}
Examples
Code | Result |
---|---|
{{Horizontal scale loop |times=1 |from=1 |to=100 |increment=5 }} |
|
6 |
{{Horizontal scale loop |times=1,2,3,4,5 |from=1 |to=100 |increment=5 }} |
| 6 | 11 | 16 | 21 |
26 |