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

Jump to navigation Jump to search
m
79 revisions imported
m (79 revisions imported)
 
(6 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'' - by default every time interval has a range of years specified under its title.  
''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]]
[[File:Rebel.png]]
Line 111: Line 111:
<code>Jean-Féry Rebel;;;;04.18.1666;01.02.1747;</code>
<code>Jean-Féry Rebel;;;;04.18.1666;01.02.1747;</code>


But what if you want to provide more detail. For example, sometimes you want to have something like this:
But what if you want to provide more details. For example, sometimes you want to have something like this:


[[File:CharlesDolle.png]]
[[File:CharlesDolle.png]]
Line 277: 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