Editing Documentation:The Editor and data format

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 205: Line 205:
Here is the text version that you can copy:
Here is the text version that you can copy:


<blockquote><poem>
<blockquote><poem><nowiki>
colors:
colors:
<nowiki>#2683a9</nowiki>
#2683a9
<nowiki>#ee9c42</nowiki>
#ee9c42
sources:
sources:
Hannibal
Hannibal
<nowiki>https://google.com|google</nowiki>
https://google.com|google
events:
events:
event or default color;;;;05.18.1978;;
event or default color;;;;05.18.1978;;
another event or default color;;;;1978;1982;
another event or default color;;;;1978;1982;
orange event;;;;1978;1982;1
orange event;;;;1978;1982;1
</poem></blockquote>
</nowiki></poem></blockquote>


This code produces these events on the timeline:
This code produces these events on the timeline:
Line 234: Line 234:
If you want the text in links to differ from the title of the page on Wikipedia or url for pages on other sites, specify the text after vertical line. This syntax can be seen in the example.
If you want the text in links to differ from the title of the page on Wikipedia or url for pages on other sites, specify the text after vertical line. This syntax can be seen in the example.


Notice, that once you have sources and/or colors specified, you have to put ‘events:’  before the list of events.
Notice, that once you have sources and or colors specified, you have to put ‘events:’  before the list of events.


After the list of events there should be a line: <code><nowiki>[[Category:History Timeline Page]]</nowiki></code>. It is used to easily download all the folder and layer pages. That's how I make backups. I made it so that without this line the layer or folder simply won't work. The good news is that this line is added into the Editor automatically for you. Just don't forget to copy it with all the other information when adding data to the server.
After the list of events there should be a line: <code><nowiki>[[Category:History Timeline Page]]</nowiki></code>. It is used to easily download all the folder and layer pages. That's how I make backups. I made it so that without this line the layer or folder simply won't work. The good news is that this line is added into the Editor automatically for you. Just don't forget to copy it with all the other information when adding data to the server.

Please note that all contributions to Timeline of History may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Timeline of History:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)