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!

Template:Horizontal scale loop

From DFO World Wiki
Revision as of 17:01, 14 August 2018 by Dfoplayer (talk | contribs) (Created page with "{{<includeonly>safesubst:</includeonly>#invoke:For loop|main}}<noinclude> {{documentation}} <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> </noincl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#invoke:For loop|main}}

Template Documentation view

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