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

Jump to navigation Jump to search
Line 59: Line 59:
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>.


You can make a time interval invisible by putting the word ''invisible'' in the ''Visible text'' field. This will prevent other time intervals from occupying its space. For an example of when this feature can be useful let’s look at Roman emperors.
[[File:DynastiesGap.png]]
We want to have a gap between Julio-Claudian and Flavian dynasties but we don’t want emperors to ‘fall’ through this gap. If you just specify dynasties and then emperors like this:
<blockquote><poem>
Julio-Claudian dynasty;;;;01.16.-27;06.08.68;
Flavian dynasty;;;;12.21.69;09.18.96;
Nerva–Antonine dynasty;;;;09.18.96;12.31.192;
invisible;;;;12.31.192;04.09.193;
Severan dynasty;;;;04.09.193;03.19.235;
Crisis of the Third Century;;;;235;284;
Augustus;;d;;01.16.-27;08.19.14;
Tiberius;;;;09.18.14;03.16.37;
Caligula;;;;03.18.37;01.24.41;
Claudius;;;;01.24.41;10.13.54;
Nero;;;;10.13.54;06.08.68;
Galba;;;;06.08.68;01.15.69;
Otho;;;;01.15.69;04.16.69;
Vitellius;;;;04.18.69;12.20.69;
Vespasian;;;;12.21.69;06.24.79;
</poem></blockquote>
you’d end up with this:
[[File:EmperorsFallThrough.png]]
Just specify an invisible time interval between the dynasties:
<blockquote><poem>
Julio-Claudian dynasty;;;;01.16.-27;06.08.68;
invisible;;;;06.08.68;12.21.69;
Flavian dynasty;;;;12.21.69;09.18.96;
</poem></blockquote>
and you’ll get this:
[[File:InvisibleDynasty.png]]
It maybe helpful to temporarily make the time interval visible by using any text other than ‘invisible’. This way you can see where you put the time interval before making it invisible. For example, if you temporarily use this: <code>visible;;;;06.08.68;12.21.69;</code> you’ll see this:
[[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 hyphen in the ''Link'' field. The text in this case will become grey instead of white and will not be clickable.  

Navigation menu