Help:EasyTimeline syntax: Difference between revisions

Content deleted Content added
m Spell comand => command
m Remove "en:" interwiki using AWB
Line 390:
;mm/dd/yyyy : Dates are interpreted as month/day/year
: '''Note''': this format is only allowed for dates starting from 01/01/1800
;yyyy : this deals with [[en:integer|integer]]s from -9999 to +9999
 
<small>Example:</small>
Line 422:
For maximum flexibility you can let the script calculate the height or width of the image, based on the number of bars and the amount in pixels to add per bar. Specify '''height:auto''' (for horizontal time axis) or '''width:auto''' (for vertical time axis).
 
This is especially helpful when the number of bars in a timeline is likely to change over time again and again. Or to ensure equal distances between bars in images with many narrow bars where differences in amount of white space would soon be noticed (see for a real example [[en:Template:Vocal and instrumental pitch ranges]]). Or to make sure several related timelines always use the same distance between bars, no matter how many bars each contains (see for a real example [[en:List of popes (graphical)]]. In short it is a good idea most of the time.
 
;barincrement : Amount in pixels that should be added to the image size for each bar specified (mandatory and only allowed in combination with width:auto or height:auto).
Line 942:
 
<pre>
<nowiki>text:[[en:Main_Page]]</nowiki>
</pre>
and similar with nl: and m: give:
Line 954:
BackgroundColors = canvas:canvas
TextData =
pos:(10,10) fontsize:XL text:"[[en:Main_Page]]"
</timeline>