Template:TimelapseViewer

Jump to:

Personal tools

From Time Machine

(Difference between revisions)
Jump to: navigation, search
 
(12 intermediate revisions not shown)
Line 3: Line 3:
Use the following code to insert the timelapse viewer into your article:
Use the following code to insert the timelapse viewer into your article:
<br/>
<br/>
-
<pre>{{TimelapseViewer|timelapse_id=the timelapse id|timelapse_dataset=the dataset id|timelapse_has_layers=whether multiple layers exists for this timelapse}}</pre>
+
<pre style="white-space:normal;">{{TimelapseViewer|timelapse_id=the timelapse id|timelapse_dataset=the dataset id|timelapse_host=the host the tiles are on|timelapse_has_layers=whether multiple layers exists for this timelapse|timelapse_repeat=boolean for whether playback should start over when it gets to the end|show_timewarp_composer=boolean for whether the timewarp composer should be shown|timelapse_force_MP4=boolean for whether to force the viewer to use mp4 video tiles only|timelapse_use_tm1=boolean for whether to pull tiles from tm1 rather than the default of g7}}</pre>
</noinclude>
</noinclude>
-
<div id="timelapse_metadata" style="display:none">{"id":"{{{timelapse_id|brassica-15m-halfsize-g10-bf0-l15}}}","dataset":{{{timelapse_dataset|0}}},"host":{{{timelapse_host|000}}},"has_layers":{{{timelapse_has_layers|false}}}}</div>
+
<div id="timelapse_metadata" style="display:none">{"id":"{{{timelapse_id|brassica-15m-halfsize-g10-bf0-l15}}}","dataset":{{{timelapse_dataset|0}}},"host":"{{{timelapse_host|000}}}","has_layers":{{{timelapse_has_layers|false}}},"repeat":{{{timelapse_repeat|false}}},"show_timewarp_composer":{{{show_timewarp_composer|true}}},"forceMP4":{{{timelapse_force_MP4|false}}},"use_tm1":{{{timelapse_use_tm1|false}}}}</div>
<htmlet nocache="yes">timelapse</htmlet>
<htmlet nocache="yes">timelapse</htmlet>

Latest revision as of 06:28, 16 October 2016

Usage

Use the following code to insert the timelapse viewer into your article:

{{TimelapseViewer|timelapse_id=the timelapse id|timelapse_dataset=the dataset id|timelapse_host=the host the tiles are on|timelapse_has_layers=whether multiple layers exists for this timelapse|timelapse_repeat=boolean for whether playback should start over when it gets to the end|show_timewarp_composer=boolean for whether the timewarp composer should be shown|timelapse_force_MP4=boolean for whether to force the viewer to use mp4 video tiles only|timelapse_use_tm1=boolean for whether to pull tiles from tm1 rather than the default of g7}}