MediaWiki:SimileTimeline

From WhiteWing
Jump to: navigation, search

Usage

  • timeline specifies we are using SimileTimeline extension.
    • height attribute specifies its height.
    • eventsource node can be inserted multiple times.
  • eventsource
    • All the attributes are used as BandInfo options.
    • highlight attribute with "true" specifies the time window highlighting.
    • Requires a single data node.
  • data
    • Requires multiple event node.
  • event
    • All the attributes are used as event options.
<timeline height="100px">
  <eventsource intervalUnit="Timeline.DateTime.DECADE" intervalPixels="600" width="'50%'">
    <data>
      <event start="2010-09-19" end="2012-08-15" title="Test Period"></event>
    </data>
  </eventsource>
  <eventsource intervalUnit="Timeline.DateTime.DECADE" intervalPixels="600" width="'50%'">
    <data>
      <event start="2011-08-29" title="Test Event"></event>
      <event start="2011-10-01" title="Test Event"></event>
    </data>
  </eventsource>
</timeline>


Personal tools