Template:Song: Difference between revisions

From JamiroWiki
Jump to navigation Jump to search
mNo edit summary
m (Add more description)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="songInfobox" style="float:right; clear:right; margin:0 15px 15px 0; width:270px; border:1px solid #aaa; background:#f9f9f9;"
{| class="infobox"
! colspan="2" style="text-align:center; font-size:125%; font-weight:bold;" | "{{{name|Song Name}}}"
! colspan="2" class="infoboxTitle" | "{{{name|Song Name}}}"
|-
|-
| colspan="2" style="text-align:center;" | [[File:{{{cover|Placeholder buffy.png}}}|250px]]
| colspan="2" class="center" | [[File:{{{cover|Placeholder buffy.png}}}|250px]]
|-
|-
| colspan="2" style="text-align:center;" | {{#if:{{{isSingle|}}} |
| colspan="2" class="center" | <hr>{{#if:{{{isSingle|}}} |
Single by {{{artist|}}} {{#if:{{{album|}}} | from the album {{{album}}} }}
Single by {{{artist|}}} {{#if:{{{album|}}} | from the album {{{album}}} }}
  |
  |
Line 11: Line 11:
--><hr>{{#if:{{{bside|}}} | <br>
--><hr>{{#if:{{{bside|}}} | <br>
{{!}}-  
{{!}}-  
! B-Side  
! class="infoboxLabel" {{!}} B-Side  
{{!}} {{{bside|}}} }}<!--  
{{!}} class="infoboxValue" {{!}} {{{bside|}}} }}<!--  


-->{{#if:{{{released|}}} | <br>
-->{{#if:{{{released|}}} | <br>
{{!}}-  
{{!}}-  
! Released  
! class="infoboxLabel" {{!}} Released  
{{!}} {{{released|}}} }}<!--  
{{!}} class="infoboxValue" {{!}} {{{released|}}} }}<!--
 
-->{{#if:{{{recorded|}}} | <br>
{{!}}-
! class="infoboxLabel" {{!}} Recorded
{{!}} class="infoboxValue" {{!}} {{{recorded|}}} }}<!--
 
-->{{#if:{{{playedLive|}}} | <br>
{{!}}-
! class="infoboxLabel" {{!}} Played Live 
{{!}} class="infoboxValue" {{!}} {{{playedLive|}}} }}<!--
 
-->{{#if:{{{studio|}}} | <br>
{{!}}-
! class="infoboxLabel" {{!}} Studio
{{!}} class="infoboxValue" {{!}} {{{studio|}}} }}<!--  


-->{{#if:{{{genre|}}} | <br>
-->{{#if:{{{genre|}}} | <br>
{{!}}-  
{{!}}-  
! Genre  
! class="infoboxLabel" {{!}} Genre  
{{!}} {{{genre|}}} }}<!--  
{{!}} class="infoboxValue" {{!}} {{{genre|}}} }}<!--  


-->{{#if:{{{length|}}} | <br>
-->{{#if:{{{length|}}} | <br>
{{!}}-  
{{!}}-  
! Length  
! class="infoboxLabel" {{!}} Length  
{{!}} {{{length|}}} }}<!--  
{{!}} class="infoboxValue" {{!}} {{{length|}}} }}<!--  


-->{{#if:{{{label|}}} | <br>
-->{{#if:{{{label|}}} | <br>
{{!}}-  
{{!}}-  
! Label  
! class="infoboxLabel" {{!}} Label  
{{!}} {{{label|}}} }}<!--  
{{!}} class="infoboxValue" {{!}} {{{label|}}} }}<!--  


-->{{#if:{{{writer|}}} | <br>
-->{{#if:{{{writer|}}} | <br>
{{!}}-  
{{!}}-  
! Writer  
! class="infoboxLabel" {{!}} Writer  
{{!}} {{{writer|}}} }}<!--  
{{!}} class="infoboxValue" {{!}} {{{writer|}}} }}<!--  


-->{{#if:{{{producer|}}} | <br>
-->{{#if:{{{producer|}}} | <br>
{{!}}-  
{{!}}-  
! Producer  
! class="infoboxLabel" {{!}} Producer  
{{!}} {{{producer|}}} }}<!--  
{{!}} class="infoboxValue" {{!}} {{{producer|}}} }}<!--  


-->{{#if:{{{bpm|}}} | <br>
-->{{#if:{{{bpm|}}} | <br>
{{!}}-  
{{!}}-  
! BPM  
! class="infoboxLabel" {{!}} BPM  
{{!}} {{{bpm|}}} }}<!--  
{{!}} class="infoboxValue" {{!}} {{{bpm|}}} }}<!--  


-->{{#if:{{{key|}}} | <br>
-->{{#if:{{{key|}}} | <br>
{{!}}-  
{{!}}-  
! Key  
! class="infoboxLabel" {{!}} Key  
{{!}} {{{key|}}} }}
{{!}} class="infoboxValue" {{!}} {{{key|}}} }}
|}
|}


Line 63: Line 78:
"required": true,
"required": true,
"label": "Name",
"label": "Name",
"description": "The name of the song/album",
"description": "The name of the song",
"example": "Feel So Good"
"example": "Feel So Good"
},
},
Line 70: Line 85:
"default": "PlaceholderBuffy",
"default": "PlaceholderBuffy",
"label": "Cover Photo",
"label": "Cover Photo",
"description": "Cover Photo of the single/album (defaults to placeholder image)"
"description": "Cover Photo of the single (or album of the song if not a single) (defaults to a placeholder image)"
},
},
"artist": {
"artist": {
Line 76: Line 91:
"required": true,
"required": true,
"label": "Artist",
"label": "Artist",
"description": "The artist of the song/album"
"description": "The artist of the song/album",
"example": "Jamiroquai (or [[Jamiroquai]] to add link)"
},
},
"album": {
"album": {
Line 82: Line 98:
"label": "Album",
"label": "Album",
"description": "The name of the album, if part of an album",
"description": "The name of the album, if part of an album",
"example": "A Funk Odyssey"
"example": "A Funk Odyssey (or [[A Funk Odyssey]] to add link)"
},
},
"released": {
"released": {
"type": "date",
"type": "date",
"label": "Release Date",
"label": "Release Date",
"description": "When was the song/album released",
"description": "When was the song/single released",
"example": "September 3, 2001"
"example": "September 3, 2001"
},
},
Line 93: Line 109:
"type": "string",
"type": "string",
"label": "Genre",
"label": "Genre",
"description": "The genres of the song/album",
"description": "The genres of the song",
"example": "Funk, Acid Jazz"
"example": "Funk, Acid Jazz"
},
},
Line 99: Line 115:
"type": "string",
"type": "string",
"label": "Length",
"label": "Length",
"description": "The length of the song(minutes:seconds) / album (amount of tracks) ",
"description": "The length of the song (minutes:seconds)",
"example": "5:21 or 13 tracks"
"example": "5:21"
},
},
"label": {
"label": {
"type": "string",
"type": "string",
"label": "Label",
"label": "Label",
"description": "The label the song/album was released under",
"description": "The label the song/single was released under",
"example": "Epic Records"
"example": "Epic Records (or [[Epic Records]] to add link)"
},
},
"writer": {
"writer": {
"type": "string",
"type": "string",
"label": "Writer",
"label": "Writer",
"description": "Who wrote the song/album",
"description": "Who wrote the song",
"example": "Jay Kay & Toby Smith"
"example": "Jay Kay & Toby Smith (or \"[[Jay Kay]] & [[Toby Smith]]\" to add link)"
},
},
"producer": {
"producer": {
"type": "string",
"type": "string",
"label": "Producer",
"label": "Producer",
"description": "Who produced the song/album",
"description": "Who produced the song",
"example": "Rick Pope"
"example": "Rick Pope (or [[Rick Pope]] to add link)"
},
},
"bside": {
"bside": {
Line 139: Line 155:
"isSingle": {
"isSingle": {
"label": "Is single",
"label": "Is single",
"description": "True if the song was released as a single, false if it wasn't",
"description": "Write True or Y if it's a single, leave empty if not",
"example": "True",
"example": "Y",
"type": "boolean"
"type": "boolean"
},
"recorded": {
"label": "Recorded",
"description": "What period of time was it recorded",
"example": "31 May 1972 - 9 February 1973",
"type": "string"
},
"studio": {
"label": "Studio",
"description": "What studio was it recorded in",
"example": "Chillington Studios  (or [[Chillington Studios]] to add link)",
"type": "string"
},
"playedLive": {
"label": "Played Live",
"description": "Has this been played live, and how many times",
"example": "\"Yes\" or \"15 times\"",
"type": "string"
}
}
}
},
"paramOrder": [
"cover",
"name",
"artist",
"album",
"isSingle",
"bside",
"released",
"recorded",
"playedLive",
"studio",
"length",
"label",
"genre",
"writer",
"producer",
"bpm",
"key"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 22:30, 27 February 2026

"Song Name"

Song by


No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Cover Photocover

Cover Photo of the single (or album of the song if not a single) (defaults to a placeholder image)

Default
PlaceholderBuffy
Fileoptional
Namename

The name of the song

Example
Feel So Good
Stringrequired
Artistartist

The artist of the song/album

Example
Jamiroquai (or [[Jamiroquai]] to add link)
Stringrequired
Albumalbum

The name of the album, if part of an album

Example
A Funk Odyssey (or [[A Funk Odyssey]] to add link)
Stringoptional
Is singleisSingle

Write True or Y if it's a single, leave empty if not

Example
Y
Booleanoptional
B-Sidebside

If a single, what songs are on the b-side

Example
Feel So Good (Knee Deep Remix)
Stringoptional
Release Datereleased

When was the song/single released

Example
September 3, 2001
Dateoptional
Recordedrecorded

What period of time was it recorded

Example
31 May 1972 - 9 February 1973
Stringoptional
Played LiveplayedLive

Has this been played live, and how many times

Example
"Yes" or "15 times"
Stringoptional
Studiostudio

What studio was it recorded in

Example
Chillington Studios (or [[Chillington Studios]] to add link)
Stringoptional
Lengthlength

The length of the song (minutes:seconds)

Example
5:21
Stringoptional
Labellabel

The label the song/single was released under

Example
Epic Records (or [[Epic Records]] to add link)
Stringoptional
Genregenre

The genres of the song

Example
Funk, Acid Jazz
Stringoptional
Writerwriter

Who wrote the song

Example
Jay Kay & Toby Smith (or "[[Jay Kay]] & [[Toby Smith]]" to add link)
Stringoptional
Producerproducer

Who produced the song

Example
Rick Pope (or [[Rick Pope]] to add link)
Stringoptional
BPMbpm

The beats per minutes of the song

Example
120
Numberoptional
Keykey

The key the song is in

Stringoptional