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

Jump to navigation Jump to search
m
79 revisions imported
m (79 revisions imported)
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
[[File:ShowCacheAndEditButtons.png]]
[[File:ShowCacheAndEditButtons.png]]


You should see that ''Clear cache'' and ''Edit'' buttons have appeared in the Library next to each folder and layer of edits.
You should see that ''Clear cache'' and ''Edit'' buttons have appeared in the Library next to each folder and layer of events.


[[File:CacheAndEventButtons.png]]
[[File:CacheAndEventButtons.png]]


Click an ''Edit'' button next to some layer, and another ''Edit'' button next to some folder. Pages with wikitext should open in separate tabs. Examine the data and compare it to what you see on the timeline. Here is an example for a [https://historytimeline.app/wiki/index.php?title=HistoryTimelineLayer:Kings%20of%20Rome&action=edit layer]. Here is an example for a [https://historytimeline.app/wiki/index.php?title=HistoryTimelineFolder:Ancient%20Rome&action=edit folder].
Click an ''Edit'' button next to some layer, and another ''Edit'' button next to some folder. Pages with wikitext should open in separate tabs. Examine the data and compare it to what you see on the timeline. Here is an example for a [https://timeline.oldera.org/wiki/index.php?title=HistoryTimelineLayer:Kings%20of%20Rome&action=edit layer]. Here is an example for a [https://timeline.oldera.org/wiki/index.php?title=HistoryTimelineFolder:Ancient%20Rome&action=edit folder].


Let's look at this example:
Let's look at this example:
Line 101: Line 101:
[[File:VisibleDynasty.png]]
[[File:VisibleDynasty.png]]


''Link'' - this field is only used for time intervals. By default the visible text of the time interval is the link to the corresponding Wikipedia page. If you want the link to be different from the visible text, specify the actual link in this field. If you want to link to a page outside of Wikipedia, use the full link (which starts with http or https). If you don't want the text to be a link at all, put a hyphen in the ''Link'' field. The text in this case will become grey instead of white and will not be clickable.  
''Link'' - this field is only used for time intervals. By default the visible text of the time interval is the link to the corresponding Wikipedia page. If you want the link to be different from the visible text, specify the actual link in this field. If you want to link to a page outside of Wikipedia, use the full link (which starts with http or https). If you don't want the text to be a link at all, put a minus sign <code>-</code> in the ''Link'' field. The text in this case will become grey instead of white and will not be clickable.  
 
''Custom dates'' - this field is only used for time intervals. By default every time interval has a range of years specified under its title.
 
[[File:Rebel.png]]
 
Those years are automatically taken from the ''Start date'' and ''End date'' fields.
 
<code>Jean-Féry Rebel;;;;04.18.1666;01.02.1747;</code>
 
But what if you want to provide more details. For example, sometimes you want to have something like this:
 
[[File:CharlesDolle.png]]
 
 
That’s what the ''Custom dates'' field is for. Simply specify whatever you want to see in the second line there.
<code>Charles Dollé;;(fl. 1735–1755\; d. after 1755);;1735;1755;</code>
 
Note, that you still have to specify dates in the ''Start date'' and ''End date'' field, because they actually tell the program how to draw the time interval on the Timeline.
 


''Comment'' - this field is only used for time intervals. If you put some text in it (for example: <code><nowiki>some time interval;;;this is a comment with a [[Hannibal|link]];1978;1982;</nowiki></code>), the plus button will appear on the time interval:
''Comment'' - this field is only used for time intervals. If you put some text in it (for example: <code><nowiki>some time interval;;;this is a comment with a [[Hannibal|link]];1978;1982;</nowiki></code>), the plus button will appear on the time interval:
Line 258: Line 277:
''Visible text'' - is usually the name of the page containing layer data.  
''Visible text'' - is usually the name of the page containing layer data.  


''Link'' - if the actual name of the text differs from the visible text, specify full name of the article here.
''Link'' - if the actual name of the page differs from the visible text, specify the name of the page here.


''Is list'' - This field is used for layers presented as a list of time intervals that you can toggle individually.  
''Is list'' - This field is used for layers presented as a list of time intervals that you can toggle individually.  

Navigation menu