Template:SoundcloudPlayer/doc

From Pizza Tower Wiki
Revision as of 17:25, 5 February 2024 by Legroom (talk | contribs) (Created page with "; Description : JS based template which inserts a SoundCloud embed player; copy of [https://dev.fandom.com/wiki/SoundcloudPlayer SoundcloudPlayer] from FANDOM. Script is at MediaWiki:Common.js. ; Syntax <pre> {{SoundcloudPlayer |url = |width = |height = |color = }}</pre> * <code>width</code> and <code>height</code> are in <code>px</code> but must be only numbers * <code>color</code> can be any CSS color value ; Usage example : Code: <pre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Description
JS based template which inserts a SoundCloud embed player; copy of SoundcloudPlayer from FANDOM. Script is at MediaWiki:Common.js.
Syntax
{{SoundcloudPlayer
|url = 
|width = 
|height = 
|color = 
}}
  • width and height are in px but must be only numbers
  • color can be any CSS color value
Usage example
Code:
{{SoundcloudPlayer
|url = https://soundcloud.com/clascyjitto/funiculi-holiday
|width = 300
|height = 70}}
Result:

See also