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:Scale row"

From DFO World Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#if:{{{from|}}}{{{to|}}}| <div name="line" style="clear:both;width:99.3%;max-width:99.1%;border-top:0.1em solid black;height:1em"></div> <div id="Scale" style="...")
 
Line 18: Line 18:
 
|<div>'''You need to specify <code>from=</code> and <code>to=</code> where you've used the template {{tl|Scale row}}.'''</div>
 
|<div>'''You need to specify <code>from=</code> and <code>to=</code> where you've used the template {{tl|Scale row}}.'''</div>
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
{{template doc}}
+
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:57, 14 August 2018

Template Documentation view

As used in {{Horizontal timeline}}.

Parameters

Set to and from to the start and end dates of your timeline; the increment will be calculated automatically. You can override this using increment, but be sure to test its appearance at small screen sizes!

Example

{{scale row|from=10|to=30}} gives:

|
10
|
12
|
14
|
16
|
18
|
20
|
22
|
24
|
26
|
28
|
30

while {{scale row|from=10|to=30|increment=6}} gives:

|
10
|
16
|
22
|
28