Template:Musichead/doc: Difference between revisions

From Pizza Tower Wiki
Content deleted Content added
Created page with "; 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: <code><nowiki>{{level header|<1>|<2>|<3>}}</nowiki></code>, and fill the parameters: * <code>1</code> - image file name with f..."
 
m fix
Line 4: Line 4:


; Syntax
; Syntax
: Type: <code><nowiki>{{level header|<1>|<2>|<3>}}</nowiki></code>, and fill the parameters:
: Type: <code><nowiki>{{level header|<1>|<2>}}</nowiki></code>, and fill the parameters:
* <code>1</code> - image file name with file format (<code>.png</code>)
* <code>1</code> - image file name with file format (<code>.png</code>)
* <code>2</code> - full URL of (single) track's page on SoundCloud
* <code>2</code> - full URL of (single) track's page on SoundCloud

Revision as of 08:17, 15 September 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: {{level header|<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|Levelicon1.png|https://soundcloud.com/peppino-pizza/unearthly-blues}}
Result:

Template:SCheader