![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
|||||||
| Notices |
|
|
ViewsWiki Tips and TricksFrom MORC Wiki[edit] Inserting Multimedia Into A PageYoutube Original url: http://www.youtube.com/watch?v=4lhyH5TsuPg Wiki code: <videoflash>4lhyH5TsuPg</videoflash> or (with width and height): <videoflash>WZpeeRSk-0A|200|100</videoflash> GoogleVideo Original url: http://video.google.it/videoplay?docid=1811233136844420765 Wiki code: <videoflash type="googlevideo">1811233136844420765</videoflash> or (with width and height): <videoflash type="googlevideo">1811233136844420765|200|150</videoflash> DailyMotion Original url: http://www.dailymotion.com/video/xi23l_geris-game Wiki code: <videoflash type="dailymotion">7fiHlJPCjcqK73xbb</videoflash> or (with width and height): <videoflash type="dailymotion">7fiHlJPCjcqK73xbb|640|480</videoflash> Sevenload Original url: http://en.sevenload.com/videos/Eh4mjir/Bewegungen-der-Natur Wiki code: <videoflash type="sevenload">Eh4mjir</videoflash> or (with width and height): <videoflash type="sevenload">Eh4mjir|640|480</videoflash> Revver Original url: http://one.revver.com/watch/138657 Wiki code: <videoflash type="revver">138657</videoflash> or (with width and height): <videoflash type="revver">138657|640|480</videoflash>
[edit] Inserting Google MapsAn extension was added to allow the addition of Google Maps. Below is a page with syntax for maps. You can also click "create map" while editing a trail review. The extension hooks into your MediaWiki installation in two ways: first, it defines a <googlemap> tag that translates a special syntax into a map with captioned markers. As the name implies, the extension is powered by the miraculous Google Maps API. The extension's syntax is easy; here's an example that will create a map with two captioned points: <googlemap lat="32.82422" lon="48.481141"> 32.81134, 48.498341, One of many [[gas stations]] in town 32.82448, 48.504848, The [[town hall]] </googlemap> To help you make maps, the extension also adds a link on each Edit page that says "make a map". This will bring up an editor's map that you can click on to add points, and it will show you corresponding map syntax to paste into your article. If you're interested, try out the demo (click "make a map" on that page) and then check out the installation page.
Attributes Legal attributes are:
All attributes are optional. Markers In the content of the tag, you can define one marker per line. Each line may or may not start with an icon name in parentheses; unless you set the "icons" attribute, legal icon names are the upper-case letters of the alphabet. The line should then have the latitude, then a comma, optionally a space, then the longitude, then a comma, then a label for the point. The label can include wiki mark-up (and commas). These are all legal:
<googlemap lat="42.711618" lon="-73.205112" zoom="2" controls="small"> <nowiki>42.711618,-73.205112,the fabulous, famous [[Sawyer Library]] 42.711618, -73.205112, the fabulous, famous [[Sawyer Library]] (S) 42.711618, -73.205112, the fabulous, famous [[Sawyer Library]] </googlemap></nowiki> Because the "icons" attribute defaults to "http://maps.google.com/mapfiles/marker{label}.png", that last marker will use the icon Check out Mapki's collection of icon images for a bunch of icons you can use. |