THIS IS ONLY A TESTWIKI! LH, MW 1.39.7, PHP 8, SMW 4.1.3
Widget:Timeline: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Admin (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 2: | Zeile 2: | ||
To insert this widget, use the following code: | To insert this widget, use the following code: | ||
<syntaxhighlight lang=moin>{{#widget:Timeline|id=1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk}}</syntaxhighlight> | |||
== Parameters == | == Parameters == | ||
* '''id''' - timeline id (everything after "''source=''") | * '''id''' - timeline id (everything after "''source=''") | ||
* '''height''' | * '''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 | * '''zoom''' zoom ("initial zoom") in the timeline embed code | ||
This widget | This widget lets you add a [https://timeline.knightlab.com/ Timeline] to your wiki page. | ||
== Using this widget == | == Using this widget == | ||
Zeile 15: | Zeile 16: | ||
== Copy to your site == | == Copy to your site == | ||
To use this widget on your site, | To use this widget on your site, install the [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki, as an article called '''{{FULLPAGENAME}}'''. | ||
</noinclude><includeonly><iframe | </noinclude><includeonly><iframe style="border: none;" width="<!--{$width|escape:'html'|default:'100%'}-->"height="<!--{$height|escape:'html'|default:650}-->" src="https://cdn.knightlab.com/libs/timeline3/latest/embed/index.html?source=<!--{$id|escape:'urlpathinfo'}-->&initial_zoom=<!--{$zoom|escape:'html'|default:2}-->&height=<!--{$height|escape:'html'|default:500}-->"></iframe></includeonly> | ||
</includeonly> |
Aktuelle Version vom 13. August 2024, 13:22 Uhr
To insert this widget, use the following code:
{{#widget:Timeline|id=1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk}}
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
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.
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.