Help:EasyTimeline syntax: Difference between revisions

Content deleted Content added
ツバル (talk | contribs)
Font Support: show the source code of example
m pre , table
Line 5:
 
== Introduction ==
Graphical timelines can be produced by providing a script between special tags:<br/>
<nowiki><timeline></nowiki><br/>
''script''<br/>
<nowiki></timeline></nowiki>
 
EasyTimeline will then be invoked to render a PNG image and (optionally) a clickable map.
Line 42:
Commands have one of the following forms, depending on the type of
command:
{|
 
|
'''''Command = attribute(s)'''''
|<pre>
DateFormat = dd/mm/yyyy
</pre>
|-
 
|
'''''Command name = attribute(s)'''''
|<pre>
Color Jp = value:red legend:Japan
</pre>
|-
 
|
'''''Command ='''''
: '''''attribute(s)Command ='''''
: '''''attribute(s)'''''
: '''''etc.attribute(s)'''''
'''''Command =etc.'''''
|<pre>
PlotData =
fontsize:XS width:20
Line 63 ⟶ 66:
bar:Japan from:19/02/1945 till:14/03/1945 color:AI
</pre>
|}
 
=== Comments ===
Single and multi line comments can be specified: