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 (remove calc increment)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
 
   |from=starting number
 
   |from=starting number
 
   |to=ending number
 
   |to=ending number
   |increment=what the increment is. If not specified, it will use a default value between {{{from}}} and {{{to}}}
+
   |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