Difference between revisions of "Feature Demo"

From PKC
Jump to navigation Jump to search
BenKoo>Benkoo
BenKoo>Benkoo
Line 17: Line 17:
The following maps are leaflet maps embedded in MediaWiki, you can find instructions<ref>https://maps.extension.wiki/wiki/Displaying_Leaflet_maps</ref> on how to edit these embedded links to create your own map.
The following maps are leaflet maps embedded in MediaWiki, you can find instructions<ref>https://maps.extension.wiki/wiki/Displaying_Leaflet_maps</ref> on how to edit these embedded links to create your own map.


{{#display_map:Berlin; Brussel; 40° 42' 46.02" N, 74° 0' 21.39" W}}
For example, the following map can be specified as follow:
<pre>
{{#display_map:Bali, Indonesia}}
</pre>


==Example 1==
{{#display_map:Bali, Indonesia}}
----
----
To show the the center of a city, a map can be specified as follow:
<pre>
{{#display_map:center=Boston, USA}}
</pre>
==Example 1==
{{#display_map:center=Boston, USA}}
{{#display_map:center=Boston, USA}}




Before doing any development, please read [http://mediawiki.org MediaWiki]'s Manual:Extensions
<ref>
Anonymous MediaWiki Manual Editors,
Manual:Extensions,
Last Access: March 27, 2021,
https://www.mediawiki.org/wiki/Manual:Extensions
</ref>
----
----



Revision as of 08:50, 29 April 2021

This page is dedicated to demonstrate features of various extensions.

A few obvious features are:

  1. Maps by leaflet
  2. EmbedVideo
  3. Math Type Setting
  4. 3D object visualization
  5. Dynamic Page List
  6. Spotify

Locating the Table of Content (ToC) using the Magic word

Please look at this page [1] for map-related extensions.


Map

The following maps are leaflet maps embedded in MediaWiki, you can find instructions[1] on how to edit these embedded links to create your own map.

For example, the following map can be specified as follow:

{{#display_map:Bali, Indonesia}}

Example 1

Loading map...

To show the the center of a city, a map can be specified as follow:

{{#display_map:center=Boston, USA}}

Example 1

Loading map...



Spotify

Try this special page: Special:Manage_Two-factor_authentication

EmbedVideo

Embedding videos[2] 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.


Note that using the '#ev' tag, one may specify 'start' and 'stop' time points. {{#ev:youtube|https://www.youtube.com/watch?v=-cPchmU-pB4%7C%7C%7C%7C%7Cstart=200&end=203}}

Using the '#evt' tag, specify the dimensions of the video. {{#evt: service=youtube |id=https://www.youtube.com/watch?v=eAORm-8b1Eg |dimensions=50 }}


Math Typesetting



3D Object

https://pkc.pub/images/a/af/Asad_Al-Lat.stl
https://pkc.pub/images/f/f1/Cube.json

DynamicPageList

[3] :


References

  1. https://maps.extension.wiki/wiki/Displaying_Leaflet_maps
  2. Alexia E. Smith (Alexia E. Smith), Andrew Whitworth (Whiteknight), Jim R. Wilson (Jimbojw), and Mohammad Derakhshani (Mderakhs), Extension:EmbedVideo, Latest version 2.9.0 (2020-10-14), Wikimedia, https://www.mediawiki.org/wiki/Extension:EmbedVideo
  3. IlyaHaykinson and Amgine, Extension:DynamicPageList, Wikimedia, last accessed: March 27, 2021, URL:https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)