Difference between revisions of "Feature Demo"
(→Map 1) |
(→Map 1) |
||
Line 6: | Line 6: | ||
==Map 1== | ==Map 1== | ||
To show the the center of a | To show the the center of a region, a map can be specified as follow: | ||
<pre> | <pre> | ||
{{#display_map:center=Indonesia|zoom=5}} | {{#display_map:center=Indonesia|zoom=5}} |
Revision as of 22:40, 31 May 2022
This page is dedicated to demonstrate features of various extensions. [Updated 14-Mar-2022 16:13 WIB]
For HTML Widget Demos, please look at this page: Demo:Widget collection
Map
The following maps are interactive maps[1] embedded in MediaWiki, you can find instructions[2] on how to edit these embedded links to create your own map.
Map 1
To show the the center of a region, a map can be specified as follow:
{{#display_map:center=Indonesia|zoom=5}}
Map 2
For example, the following map can be specified as follow:
{{#display_map:circles= Serangan, Bali, Indonesia:500; Serangan, Bali, Indonesia:100~TSEA Campus~HDX Program~green~0.7~10~blue~0.5 |zoom=9 |width=600 |height=400 }}
EmbedVideo
Please see the MediaWiki Widget Extension.
{{#Widget:YouTube |id=X_oNzF_KS6g |start=100 |width=640 |height=360 }}
Embedding videos in a web page will significantly enrich user experience. The following link shows a video embedded in this page. More extensive demo can be found in this link.
Spotify
If you are into music[3], you can embed Spotify songs here.
<spotify>album/4tRU7xRuLI8oaTTNFtrytT</spotify>
Math Typesetting
For mathematicians and engineers, your can also typeset mathematical equations using LaTeX syntax here.
<math>\int_a^Y \!\!\!\int_a^q f(u)\,dQ\,ds = \int_a^x f(q)(z-c)\,dQ</math>
3D Object
If you have 3D objects that you want to show on the page, you can just upload the file to this website, and embed them into the page:
[[File:Asad Al-Lat.stl|300px]]
Click on the image below to interact with it in Media Viewer.
You may also make the 3D object interactive in the page.
[[File:Cube.json]]
Timeline.js in Widget:Iframe
This page uses the Timeline.js demo website to show what can be done in an Iframe.
DynamicPageList
You may also specify certain conditional information to extract a list of pages from the database. This is the well-known DynamicPageList[4] feature of MediaWiki.
An example can be shown here
<DynamicPageList> category=BPMN StartEvent count=2</DynamicPageList>
Userful Websites
For generating wikitables, please see: TableGenerator/MediaWiki Tables.
It is always helpful to read MediaWiki's Manual:Extensions [5]
References
- ↑ https://leafletjs.com
- ↑ https://maps.extension.wiki/wiki/Displaying_Leaflet_maps
- ↑ Book:And yet it is heard
- ↑ IlyaHaykinson and Amgine, Extension:DynamicPageList, Wikimedia, last accessed: March 27, 2021, URL:https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)
- ↑ Anonymous MediaWiki Manual Editors, Manual:Extensions, Last Access: March 27, 2021, https://www.mediawiki.org/wiki/Manual:Extensions