Help:Extensions: Difference between revisions

Help page
(added mp3 extension example)
Line 1: Line 1:
== Audio ==
<tt><nowiki><flashmp3 id="filename">filename.mp3|parameter=value|...</flashmp3></nowiki><br/>
<nowiki><flashmp3>mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes</flashmp3></nowiki></tt><br/>
[http://www.mediawiki.org/wiki/Extension:FlashMP3#Base_Syntax Base Syntax and how to add multiple players]
<flashmp3 id="kIII_example-070512">kIII_example-070512.mp3</flashmp3>
== Videoflash ==
== Videoflash ==
<tt>
<tt>
<nowiki><videoflash type=vimeo>6752514|437|236</videoflash></nowiki> </tt><br/>
 
<nowiki><videoflash type=vimeo>6752514|437|236</videoflash></nowiki> </tt><br/>
<videoflash type=vimeo>6752514|437|236</videoflash><br clear="all"/>
<videoflash type=vimeo>6752514|437|236</videoflash><br clear="all"/>


Line 10: Line 20:




<nowiki><flash>file=construction.swf|width=437|height=236|bgcolor=#eeeeee|scale=exactfit|quality=best</flash><br clear="all"/></nowiki>   </tt><br/>
 
<nowiki><flash>file=construction.swf|width=437|height=236|bgcolor=#eeeeee|scale=exactfit|quality=best</flash><br clear="all"/></nowiki>   </tt><br/>
See [http://www.mediawiki.org/wiki/Extension:Flash mediawiki/Extension:Flash]<br/>
See [http://www.mediawiki.org/wiki/Extension:Flash mediawiki/Extension:Flash]<br/>
<flash>file=construction.swf|width=437|height=236|bgcolor=#eeeeee|scale=exactfit|quality=best</flash><br clear="all"/>
<flash>file=construction.swf|width=437|height=236|bgcolor=#eeeeee|scale=exactfit|quality=best</flash><br clear="all"/>
Line 17: Line 28:
== Random Image ==
== Random Image ==
<tt>
<tt>
<nowiki><randomimage size="432" float="left" /></nowiki> </tt> oder:<br/>
 
<nowiki><randomimage size="432" float="left" /></nowiki> </tt> oder:<br/>
<tt>
<tt>
<nowiki><randomimage size="432" float="left" choices="Test1.jpg,Test2.jpg" /></nowiki> </tt><br/>
 
<nowiki><randomimage size="432" float="left" choices="Test1.jpg,Test2.jpg" /></nowiki> </tt><br/>
<randomimage size="432" float="left" />
<randomimage size="432" float="left" />
<br clear="all"/>
<br clear="all"/>
Line 27: Line 40:
== Image Gallery ==
== Image Gallery ==


<tt><nowiki><gallery></nowiki>   <br/>
<tt>
<nowiki><gallery></nowiki>   <br/>
File:Robiboter.jpg |Item 1<br/>
File:Robiboter.jpg |Item 1<br/>
File:Robiboter.jpg <nowiki>|a link to [[Help:Contents]]</nowiki> <br/>
File:Robiboter.jpg  
<nowiki>|a link to [[Help:Contents]]</nowiki>   <br/>
File:Robiboter.jpg<br/>
File:Robiboter.jpg<br/>
File:Robiboter.jpg<br/>
File:Robiboter.jpg<br/>
File:Robiboter.jpg <nowiki>| ''italic caption''</nowiki> <br/>
File:Robiboter.jpg  
File:Robiboter.jpg <nowiki>|on page "{{PAGENAME}}"</nowiki> <br/>
<nowiki>| ''italic caption''</nowiki>   <br/>
<nowiki></gallery></nowiki> </tt>
File:Robiboter.jpg  
<nowiki>|on page "{{PAGENAME}}"</nowiki> <br/>
 
<nowiki></gallery></nowiki> </tt>


<gallery>
<gallery>
Line 49: Line 67:
'''OpenStreetMap Simple Map'''<br/>
'''OpenStreetMap Simple Map'''<br/>
<tt>
<tt>
<nowiki><map lat="50.977169" lon="11.328642" zoom="16" w="437" h="300" format="jpeg" /></nowiki> </tt><br/><br/>
 
<nowiki><map lat="50.977169" lon="11.328642" zoom="16" w="437" h="300" format="jpeg" /></nowiki> </tt><br/><br/>
<map lat="50.977169" lon="11.328642" zoom="16" w="437" h="300" format="jpeg" /><br clear="all"/>
<map lat="50.977169" lon="11.328642" zoom="16" w="437" h="300" format="jpeg" /><br clear="all"/>
<br/><br/>
<br/><br/>
Line 56: Line 75:
'''OpenStreetMap Slippy Map'''<br/>
'''OpenStreetMap Slippy Map'''<br/>
<tt>
<tt>
<nowiki><slippymap lat="50.977169" lon="11.328642" zoom="16" w="437" h="300"/></nowiki> </tt><br/>
 
<nowiki><slippymap lat="50.977169" lon="11.328642" zoom="16" w="437" h="300"/></nowiki> </tt><br/>
<slippymap lat="50.977169" lon="11.328642" zoom="16" w="437" h="300"/><br clear="all"/>
<slippymap lat="50.977169" lon="11.328642" zoom="16" w="437" h="300"/><br clear="all"/>


Line 62: Line 82:
'''Google Maps'''<br/>
'''Google Maps'''<br/>
Click the "Make A Map"-button in the upper edit bar when editing the content - or use this code:<br/>
Click the "Make A Map"-button in the upper edit bar when editing the content - or use this code:<br/>
<tt><nowiki><googlemap version="0.9" lat="50.977169" lon="11.328642" type="map" zoom="16" width="437" height="300">(D) 50.977169, 11.328642, M5</googlemap></nowiki> </tt><br/>
<tt>
<nowiki><googlemap version="0.9" lat="50.977169" lon="11.328642" type="map" zoom="16" width="437" height="300">(D) 50.977169, 11.328642, M5</googlemap></nowiki> </tt><br/>
<googlemap version="0.9" lat="50.977169" lon="11.328642" type="map" zoom="16" width="437" height="300">(D) 50.977169, 11.328642, M5</googlemap><br clear="all"/>
<googlemap version="0.9" lat="50.977169" lon="11.328642" type="map" zoom="16" width="437" height="300">(D) 50.977169, 11.328642, M5</googlemap><br clear="all"/>
<br/><br/>
<br/><br/>

Revision as of 22:33, 12 December 2009

Audio

<flashmp3 id="filename">filename.mp3|parameter=value|...</flashmp3>
<flashmp3>mymp3.mp3,yourmp3.mp3|autostart=yes|loop=yes</flashmp3>

Base Syntax and how to add multiple players

<flashmp3 id="kIII_example-070512">kIII_example-070512.mp3</flashmp3>


Videoflash

<videoflash type=vimeo>6752514|437|236</videoflash>
<videoflash type=vimeo>6752514|437|236</videoflash>


Flash


<flash>file=construction.swf|width=437|height=236|bgcolor=#eeeeee|scale=exactfit|quality=best</flash><br clear="all"/>
See mediawiki/Extension:Flash
<flash>file=construction.swf|width=437|height=236|bgcolor=#eeeeee|scale=exactfit|quality=best</flash>


Random Image

<randomimage size="432" float="left" /> oder:

<randomimage size="432" float="left" choices="Test1.jpg,Test2.jpg" />
<randomimage size="432" float="left" />


Image Gallery

<gallery>
File:Robiboter.jpg |Item 1
File:Robiboter.jpg |a link to [[Help:Contents]]
File:Robiboter.jpg
File:Robiboter.jpg
File:Robiboter.jpg | ''italic caption''
File:Robiboter.jpg |on page "{{PAGENAME}}"

</gallery>

Maps

OpenStreetMap Simple Map

<map lat="50.977169" lon="11.328642" zoom="16" w="437" h="300" format="jpeg" />

<map lat="50.977169" lon="11.328642" zoom="16" w="437" h="300" format="jpeg" />



OpenStreetMap Slippy Map

<slippymap lat="50.977169" lon="11.328642" zoom="16" w="437" h="300"/>
<slippymap lat="50.977169" lon="11.328642" zoom="16" w="437" h="300"/>


Google Maps
Click the "Make A Map"-button in the upper edit bar when editing the content - or use this code:
<googlemap version="0.9" lat="50.977169" lon="11.328642" type="map" zoom="16" width="437" height="300">(D) 50.977169, 11.328642, M5</googlemap>
<googlemap version="0.9" lat="50.977169" lon="11.328642" type="map" zoom="16" width="437" height="300">(D) 50.977169, 11.328642, M5</googlemap>