Template:MusicPlayer: Difference between revisions
Appearance
Copied from The New Norm Wiki |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| align="left" style="border:solid 1px black; width:100%;box-shadow: rgb(1,1,0,0.5) 0px 5px 20px; background-color: {{{bg|#8800bb}}}; border-radius: 10px" | {| align="left" style="border:solid 1px black; width:100%;box-shadow: rgb(1,1,0,0.5) 0px 5px 20px; background-color: {{{bg|#8800bb}}}; border-radius: 10px; margin: 30px" | ||
{{#if:{{{3|}}}|{{!}}[[File:{{{3|}}}|100px|link=]]}} | {{#if:{{{3|}}}|{{!}}[[File:{{{3|}}}|100px|link=]]}} | ||
|{{Color|{{#ifeq:{{{4|}}}|true|white|black}}|<small>Now playing:</small> <big>{{{2|Music Name}}}</big><br>}} | |{{Color|{{#ifeq:{{{4|}}}|true|white|black}}|<small>Now playing:</small> <big>{{{2|Music Name}}}</big><br>}} | ||
Revision as of 08:20, 17 March 2026
Use this when adding music to the top of pages
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Music file | 1 music audio | no description | File | required |
| Title | 2 title name | no description | Line | required |
| Image | 3 image img cover | no description | File | suggested |
| Color the text white? | 4 whitetext white | no description | Boolean | suggested |
| Background colour | bg background-color background-colour background bg-color bg-colour | no description | Unknown | optional |
| Autoplay? | 5 | no description
| Boolean | required |
= Template Documentation =
You can create the documentation at Template:MusicPlayer/Documentation.
(no documentation)