Wiki source for LastFMActionInfo


Show raw source

=====[[LastFMAction | LastFM]] Action Documentation=====
//Not included in Wikka//

>>**See also**
Development: LastFMAction.>>This is the documentation page for the [[LastFMAction | LastFM]] action, version 1.1.x .::c::

===Documentation===

==Short description==
Embed the widgets of last.fm .

==Parameters==
""<table cellspacing="0" cellpadding="2" border="1">
<thead>
<tr><th scope="col">name</th><th scope="col">type</th><th scope="col">required?</th><th scope="col">default</th><th scope="col">description</th></tr>
</thead>
<tbody>
<tr><td>src</td><td>chart|radio|plist|quilt</td><td>yes</td><td>-</td><td>Set which widget you want to have displayed.</td></tr>
<tr><td>user</td><td>string</td><td>yes</td><td></td><td>Set which user you want as data source (lastfm-username!).</td></tr>
<tr><td>float</td><td>left|right</td><td>optional</td><td>left</td><td>Where should your box appear?</td></tr>
<tr><td>style</td><td>red|blue|black|grey</td><td>optional</td><td>grey</td><td>Set the skin of the widgets.</td></tr>
<tr><td>width</td><td>number of pixel</td><td>optional</td><td>the lastfm proposal</td><td>The width of the widget.</td></tr>
<tr><td>height</td><td>number of pixel</td><td>optional</td><td>the lastfm probosal</td><td>The height of the widget.</td></tr>
<tr><td>size</td><td>[small|medium|large] (quilt)<br />[regular|mini] (radio&playlist)</td><td>optional</td><td>medium<br />regular</td><td>Set the widgets size to a lastfm proposal. If you set this, setting of height or width is ignored.</td></tr>
<tr><td>autostart</td><td>true|false</td><td>optional</td><td>false</td><td><b>Only radio & playlist</b> Set wether the radio should start on load or not.</td></tr>
<tr><td>orient</td><td>hori|vert</td><td>optional</td><td>vert</td><td><b>Only quilt</b> Choose if you want to have the quilt <u>hori</u>zontal or <u>vert</u>ical. If you set this, setting of height or width is ignored.</td></tr>
<tr><td>type</td><td>1) [recently|otracks|oartists|wtracks|wartists]<br />2) [album|artist]</td><td>yes, if src = [chart|quilt]</td><td></td><td>1) <b>Only chart</b> Choose which charts the chart-widget should display<br />2) <b>Only quilt</b> Choose which pix the quilt should display.</td></tr>
</tbody>
</table>""
==Long description==
Embed last.fm widgets into your wiki. May be usefull on ""UserPages"".

Usage:
%%{{lastfm src="chart" user="#####" OPTIONS (see above)}}%%
Examples:
%%
{{lastfm src="chart" user="testuser" type="oartists" float="left" style="grey" width="184" height="140" }}
{{lastfm src="radio" user="testuser" autostart="false" float="right" style="black" size="mini" }}
{{lastfm src="plist" user="testuser" autostart="true" float="left" style="red" size="mini" }}
{{lastfm src="quilt" user="testuser" type="album|artist" float="right" style="blue" size="large" orient="hori" }}
%%
==Author==
CimNine
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki