Template:Musichead/doc: Difference between revisions
From Pizza Tower Wiki
Content deleted Content added
m fix |
m image link fix |
||
Line 10: | Line 10: | ||
; Usage example |
; Usage example |
||
: Code ([[John Gutter]]): |
: Code ([[John Gutter]]): |
||
<pre>{{SCheader| |
<pre>{{SCheader|PTWiki-levelicon1.png|https://soundcloud.com/peppino-pizza/unearthly-blues}}</pre> |
||
:Result: |
:Result: |
||
{{SCheader| |
{{SCheader|PTWiki-levelicon1.png|https://soundcloud.com/peppino-pizza/unearthly-blues}} |
||
<noinclude>[[Category:Template documentation]]</noinclude> |
<noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 17:04, 1 November 2023
- Description
- This template creates a level article header with music player; it's based on older Template:Level header, but instead of Template:Bandcamp it uses Template:SoundcloudPlayer.
- Template uses Extension:TemplateStyles, see Template:SCheader/styles.css for styling.
- Syntax
- Type:
{{SCheader|<1>|<2>}}
, and fill the parameters:
1
- image file name with file format (.png
)2
- full URL of (single) track's page on SoundCloud
- Usage example
- Code (John Gutter):
{{SCheader|PTWiki-levelicon1.png|https://soundcloud.com/peppino-pizza/unearthly-blues}}
- Result: