Difference between revisions of "Documentation:The Editor and data format"

Jump to navigation Jump to search
no edit summary
Line 31: Line 31:
[[File:EventsExample.png|450px]]
[[File:EventsExample.png|450px]]


It's time to learn the data format for events. Each line in the Editor represents one event. Each line has 7 fields separated by semicolon.
As you can see there are two kinds of events:
:continuous, represented by horizontal bars;
:and momentary events, represented by cards, connected to the timeline with a line.
 
There are 7 data fields for each event:


[[File:DataFormat.png]]
[[File:DataFormat.png]]
Some data fields are used by one kind of event but not the other. Others are used by both.
Let’s go through all of the data fields one by one.
''Visible text'' - for continuous events try to put short titles here, not whole sentences. You can use ''Comment'' field to put longer text there.
For momentary events the text can be longer, but don’t put entire articles there. One or two sentences should suffice.
In the cards you can use some of the features of Wikipedia’s wikitext. For example, to add a link, use double brackets.
If you want the link title to be different from the page name, specify it after vertical line.

Navigation menu