Widget:Timeline: Difference between revisions

From Madness Combat Wiki
No edit summary
Tag: Manual revert
No edit summary
Line 3: Line 3:


<syntaxhighlight lang=moin>{{#widget:Timeline|id=1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk}}</syntaxhighlight>
<syntaxhighlight lang=moin>{{#widget:Timeline|id=1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk}}</syntaxhighlight>
 
<link rel="stylesheet" href="https://cdn.knightlab.com/libs/timeline3/latest/css/themes/timeline.theme.dark.css">
== Parameters ==
== Parameters ==
* '''id''' - timeline id (everything after "''source=''")
* '''id''' - timeline id (everything after "''source=''")

Revision as of 09:35, 26 September 2024

To insert this widget, use the following code:

{{#widget:Timeline|id=1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk}}

<link rel="stylesheet" href="https://cdn.knightlab.com/libs/timeline3/latest/css/themes/timeline.theme.dark.css">

Parameters

  • id - timeline id (everything after "source=")
  • height timeline height, default = 650 (px)
  • width timeline width, 100% is default, can be % or pixels (without %)
  • zoom zoom ("initial zoom") in the timeline embed code
  • theme theme("theme") in the timeline embed code

This widget lets you add a Timeline to your wiki page.

Using this widget

For information on how to use this widget, see the widget description page on MediaWikiWidgets.org.

<link rel="stylesheet" type="https://cdn.knightlab.com/libs/timeline3/latest/css/themes/timeline.theme.dark.css">

Copy to your site

To use this widget on your site, install the MediaWiki Widgets extension and copy full source code of this page to your wiki, as an article called Widget:Timeline.