Help:EasyTimeline syntax: Difference between revisions

Content deleted Content added
will
Line 433:
#the last line will not result in a bar being plotted, it merely specifies on which bar the text should be placed
 
====Text attributes====
;text : Defines a text that should be plotted on or near a bar. The anchor position can be defined either explicitly with attribute at, or implicitly with attributes from and till. In the latter case the text will be positioned in the middle of the defined bar segment. See also [[#Text Input|Text Input]] for rules
:The text may include embedded links (see '''Notes 1 & 2''') for use in clickable maps.
;textcolor (O) : Defines the color of the text. The color id specified should be defined first with command [[#Colors|Colors]]. When not specified color black will be assumed.
;fontsize (O) : Specify a point size between 6 and 30, or (preferably) one of tags XS, S (default), M, L or XL. See [[#Font Support|Font Support]] for more details.
;align (O) : Specify center (default), left or right.
;link (O) : Specify a web link (see '''Note 1''') (URL) for use in clickable maps. The text will be shown as a blue clickable link.
 
'''Notes'''
#Either use attribute link, or an embedded link in attribute text, not both.
#On PNG images only one clickable link will be shown per text segment (text with line breaks (~) constitutes several segments).
 
<small>Example:</small>
<div style="background-color: #F0F0F0"><pre>
PlotData=
bar:US at:07/12/1941 align:left textcolor:black fontsize:XS text:7/12 [[Pearl Harbour]]
</pre></div>
 
produces the same result as:
 
<div style="background-color: #F0F0F0"><pre>
PlotData=
bar:US at:07/12/1941 align:left textcolor:black fontsize:XS text:"7/12 Pearl Harbour" link:http://www.wikipedia.org/wiki/Pearl_Harbour
</pre></div>
 
====Marker attribute====