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"
(changed increment variable name) |
m (add format to raw numbers) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{documentation}}</noinclude><includeonly>{{#ifeq:{{#expr:{{{incrmnt}}}*0}}|0|{{#ifexpr: | + | <noinclude>{{documentation}}</noinclude><includeonly>{{#ifeq:{{#expr:{{formatnum:{{{incrmnt}}}|R}}*0}}|0|{{#ifexpr: |
{{Horizontal scale/Current number|from={{{from}}}|to={{{to}}}|incrmnt={{{incrmnt}}}|loop={{{loop}}} }} | {{Horizontal scale/Current number|from={{{from}}}|to={{{to}}}|incrmnt={{{incrmnt}}}|loop={{{loop}}} }} | ||
<= {{{to}}} - {{{incrmnt}}}|<!-- Print all but last label in this fashion: | <= {{{to}}} - {{{incrmnt}}}|<!-- Print all but last label in this fashion: |
Revision as of 09:47, 15 August 2018
Template Documentation view
As used in {{Horizontal timeline}}.
Example
{{Horizontal scale |from=1 |to=100 |increment=1 |loop=5 }}
produces
|
6