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

Jump to navigation Jump to search
Line 55: Line 55:
[[File:LinksInsideCardExample.png]]
[[File:LinksInsideCardExample.png]]


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>


You can make parts of the text ''italic'' by enclosing those parts with double apostrophes: <code><nowiki>''italic text''</nowiki></code>. To make some text '''bold''', enclose it with triple apostrophes: <code><nowiki>'''bold text'''</nowiki></code>.
You can make parts of the text ''italic'' by enclosing those parts with double apostrophes: <code><nowiki>''italic text''</nowiki></code>. To make some text '''bold''', enclose it with triple apostrophes: <code><nowiki>'''bold text'''</nowiki></code>.
Line 115: Line 115:
''Start date'' and ''End date'' - Instantaneous events have only start date, while time intervals have both start and end dates. The date format is this: MM.DD.YYYY. 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.
''Start date'' and ''End date'' - Instantaneous events have only start date, while time intervals have both start and end dates. The date format is this: MM.DD.YYYY. 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.


To specify that a year is BC/BCE use the minus sign. Note, that the minus should go before the year, not entire date. For example: <code>03.15.-44</code> is correct, and <code>-03.15.44</code> is not. Also note that even though we use the minus sign, we don’t use the astronomical year numbering system where year Zero corresponds to 1 BC, year -1 to year 2 BC and so on. There is no year Zero on the Timeline, and minus simply means BC. For example year -44 is year 44 BC.
To specify that a year is BC/BCE use the minus sign. Note, that the minus should go before the year, not entire date. For example: <code>03.15.-44</code> is correct, and <code>-03.15.44</code> is not. Also note that even though we use the minus sign, we don’t use the astronomical year numbering system where year Zero corresponds to 1 BC, year -1 to year 2 BC and so on. There is no year Zero on the Timeline, and minus simply means BC. For example, year -44 is year 44 BC.


Sometimes you need to show that some event happened in the beginning of month, or the end of month. You can use letters <code>b</code> (for 'beginning') and <code>e</code> (for 'end') in dates. For example <code>07b.2000</code> means beginning of July 2000, and <code>07e.2000</code> means end of July 2000. These instructions:
Sometimes you need to show that some event happened in the beginning of month, or the end of month. You can use letters <code>b</code> (for 'beginning') and <code>e</code> (for 'end') in dates. For example, <code>07b.2000</code> means beginning of July 2000, and <code>07e.2000</code> means end of July 2000. These instructions:
<blockquote><poem>
<blockquote><poem>
Beginning of July;;;;07b.2000;;
Beginning of July;;;;07b.2000;;
Line 127: Line 127:
[[File:MonthEvents.png]]
[[File:MonthEvents.png]]


By default ‘the beginning of month’ is between 2nd and 3rd day of the month, and ‘the end of month’ is between 27th and 28th day (so I don’t need to account for varying month lengths and leap day in February). But if you need to, you can always change the date and still make the event point between two days. Just use <code>b</code> or <code>e</code> on the day instead of on the month. For example <code>07.30b.2000</code> would place the event between 29th and 30th of July 2000.
By default ‘the beginning of month’ is between 2nd and 3rd day of the month, and ‘the end of month’ is between 27th and 28th day (so I don’t need to account for varying month lengths and leap day in February). But if you need to, you can always change the date and still make the event point between two days. Just use <code>b</code> or <code>e</code> on the day instead of on the month. For example, <code>07.30b.2000</code> would place the event between 29th and 30th of July 2000.


Sometimes you want to put an event right between two adjacent years. Just use <code>b</code> and <code>e</code> on the year. For example, these two events point to the same moment in time:
Sometimes you want to put an event right between two adjacent years. Just use <code>b</code> and <code>e</code> on the year. For example, these two events point to the same moment in time:

Navigation menu