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 |
||
Zeile 16: | Zeile 16: | ||
== Copy to your site == | == Copy to your site == | ||
To use this widget on your site, just install the [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and the copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki, as an article called '''{{FULLPAGENAME}}'''. | To use this widget on your site, just install the [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and the copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki, as an article called '''{{FULLPAGENAME}}'''. | ||
</noinclude><includeonly><iframe frameborder="0" width="<!--{$width|escape:'html'|default:'100%'}-->"height="<!--{$height|escape:'html'|default: | </noinclude><includeonly><iframe frameborder="0" width="<!--{$width|escape:'html'|default:'100%'}-->"height="<!--{$height|escape:'html'|default:500}-->" 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> |
Version vom 12. August 2024, 17:07 Uhr
To insert this widget, use the following code:
{{#widget:Timeline|id=1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk}}
Parameters
- id - timeline id (everything after "source=")
- height and width define view dimensions, 500x500 is default
- zoom zoom ("initial zoom") in the timeline embed code
This widget allows you to 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, just install the MediaWiki Widgets extension and the copy full source code of this page to your wiki, as an article called Widget:Timeline.