(Created page with "<noinclude> {{Documentation|content= ... <templatedata> { "description": "", "params": { "1": { "label": "Theme Song File", "descriptio...") |
Spiderjjr45 (talk | contribs) No edit summary |
||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
==Description== |
|||
<noinclude> |
|||
This template is used to add a single auto-playing song to a page. (Do not add more than one song per page, they WILL all play at once.) |
|||
{{Documentation|content= |
|||
... |
|||
==Syntax== |
|||
<templatedata> |
|||
Type <code><nowiki>{{Theme Song}}</nowiki></code> somewhere. Or just type <nowiki>{{</nowiki> in the visual editor and search for `Theme Song` |
|||
{ |
|||
"description": "", |
|||
==Samples== |
|||
"params": { |
|||
<code><nowiki>{{Theme Song|filename=Music_You_Uploaded.mp3}}</nowiki></code> |
|||
"1": { |
|||
"label": "Theme Song File", |
|||
or <code><nowiki>{{Theme Song|url=www.website.com/Music_You_Found.mp3}}</nowiki></code> |
|||
"description": "Either a short name of a file uploaded (Theme.mp3) or a URL (www.website.com/theme.mp3)", |
|||
"type": "string" |
|||
results in... |
|||
} |
|||
} |
|||
{{Theme Song|default}} |
|||
} |
|||
</templatedata> |
|||
<includeonly>Any categories for the template itself</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
|||
</noinclude> |
Latest revision as of 16:07, 28 September 2021
Description[edit source]
This template is used to add a single auto-playing song to a page. (Do not add more than one song per page, they WILL all play at once.)
Syntax[edit source]
Type {{Theme Song}}
somewhere. Or just type {{ in the visual editor and search for `Theme Song`
Samples[edit source]
{{Theme Song|filename=Music_You_Uploaded.mp3}}
or {{Theme Song|url=www.website.com/Music_You_Found.mp3}}
results in...