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

Jump to navigation Jump to search
no edit summary
Line 141: Line 141:


You then click ''Create layer'' button. This will send you directly to the article creation page with the correct title where you can paste the layer data.
You then click ''Create layer'' button. This will send you directly to the article creation page with the correct title where you can paste the layer data.
==Adding the layer to the Library==
Now that the layer is created on the server you need to make it accessible from the Timeline. To do it you need to add it to the Library. Open the Library and go to Sandbox folder. Make sure that the Cache and Edit buttons are visible. If not, use Menu to make them visible. Click the Edit button next to the Add layers here folder.
[[File:AddYourLayersHereInLibrary.png]]
Now you can add a reference to your layer in the list.
[[File:AddYourLayersHereContents.png]]
The data format for layer reference is simple.
[[File:DataFormatLayer.png]]
''Visible text'' - is usually the name of the page.
''Link'' - if the actual name of the text differs from the visible text, specify full name of the article here.
''Is list'' - This field is used for layers presented as a list of time intervals that you can toggle individually.
[[File:LayerAsList.png]]
If you want to specify that your layer should be viewed this way, put an <code>l</code> (small L) in this field (for example: <code>My new layer;;l</code>). Otherwise leave the field empty.

Navigation menu