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"

From DFO World Wiki
Jump to: navigation, search
(Replaced content with "Uses Extension:Arrays to perform the for loop. == Description == The template calls {{tl|Horizontal scale}} == Usage == <pre> {{Horizontal scale loop |times=how many...")
(Tag: Replaced)
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)
(No difference)

Revision as of 11:27, 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. If not specified, it will use a default value between {{{from}}} and {{{to}}}
}}

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