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

Jump to navigation Jump to search
no edit summary
Line 42: Line 42:
Let’s go through all of the data fields one by one.
Let’s go through all of the data fields one by one.


''Visible text'' - for time intervals try to put short titles here, not whole sentences. You can use ''Comment'' field to put longer text there.  
''Visible text'' - for time intervals try to put short titles here, not whole sentences. You can use the ''Comment'' field to put longer text there.  
For instantaneous events the text can be longer, but don’t put entire articles there. One or two sentences should suffice.
For instantaneous 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.  
In the cards you can use some of the features of Wikipedia’s wikitext. For example, to add a link, use double brackets.  
Line 55: Line 55:


If you want to link to a page outside of Wikipedia, provide a full link that starts with http or https. For example <code><nowiki>[[google.com]]</nowiki></code> will create a link to this page on Wikipedia <code><nowiki>https://en.wikipedia.org/wiki/Google.com</nowiki></code> (whether such page exists or not). To avoid this you should create a link like so: <code><nowiki>[[https://google.com|google.com]]</nowiki></code>
If you want to link to a page outside of Wikipedia, provide a full link that starts with http or https. For example <code><nowiki>[[google.com]]</nowiki></code> will create a link to this page on Wikipedia <code><nowiki>https://en.wikipedia.org/wiki/Google.com</nowiki></code> (whether such page exists or not). To avoid this you should create a link like so: <code><nowiki>[[https://google.com|google.com]]</nowiki></code>
''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.
''Comment'' - this field is only used for time intervals. If you put some text in it, the plus button will appear on the time interval:
When you click on that button the comment will appear in the middle of the screen. Inside the text of the comment you can use all the wikitext tricks just like in the ''Visible text'' field.
''Start date'' and ''End date'' - Instantaneous events have only start date, while time intervals have both. The date format is this: MM.DD.YYYY . Only use numbers. This is an example of an event with a full date <code>some event with a full date;;;;05.25.1965;;</code>. Also, you can specify only month, without a date: <code>05.1965</code>. Or you can specify only year: <code>1965</code>. When you specify only year, the event will point to a moment between June and July of that year. If you specify month without a date, the event will point roughly to the middle of that month, a moment between 15th and 16th day of that month. In general, when event is pointing to a moment between days, that shows that we don't know the date precisely, and the positions of events on the timeline should not be taken literally in such cases.

Navigation menu