Template:Song: Difference between revisions

From JamiroWiki
Jump to navigation Jump to search
(Created page with "{| class="infobox" style="width:300px; font-size:90%;" ! colspan="2" style="text-align:center; font-size:125%; font-weight:bold;" | {{{name|}}} |- | colspan="2" style="text-align:center;" | [[File:{{{cover|}}}|250px]] |- ! Artist | {{{artist|}}} |- ! Album | {{{album|}}} |- ! Released | {{{released|}}} |- ! Genre | {{{genre|}}} |- ! Length | {{{length|}}} |- ! Label | {{{label|}}} |- ! Songwriter | {{{writer|}}} |- ! Producer | {{{producer|}}} |}")
 
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:300px; font-size:90%;"
{| class="songInfobox"
! colspan="2" style="text-align:center; font-size:125%; font-weight:bold;" |
! colspan="2" | {{{name|}}}
{{{name|}}}
 
|-
|-
| colspan="2" style="text-align:center;" |
| colspan="2" | [[File:{{{cover|}}}|250px]]
[[File:{{{cover|}}}|250px]]
 
|-
|-
! Artist
! Artist
| {{{artist|}}}
| {{{artist|}}}
|-
|-
! Album
! Album
| {{{album|}}}
| {{{album|}}}
|-
|-
! Released
! Released
| {{{released|}}}
| {{{released|}}}
|-
|-
! Genre
! Genre
| {{{genre|}}}
| {{{genre|}}}
|-
|-
! Length
! Length
| {{{length|}}}
| {{{length|}}}
|-
|-
! Label
! Label
| {{{label|}}}
| {{{label|}}}
|-
|-
! Songwriter
! Songwriter
| {{{writer|}}}
| {{{writer|}}}
|-
|-
! Producer
! Producer
| {{{producer|}}}
| {{{producer|}}}
|}
|}
<templatedata>
{
  "description": "Infobox for a single",
  "params": {
    "name": {
      "label": "Song name",
      "description": "The title of the song",
      "type": "string",
      "required": true
    },
    "cover": {
      "label": "Cover image",
      "description": "File name of the cover image",
      "type": "wiki-file-name"
    },
    "artist": {
      "label": "Artist",
      "description": "Artist who performed the song",
      "type": "string",
      "required": true
    },
    "album": {
      "label": "Album",
      "description": "Album the song appears on",
      "type": "string"
    },
    "released": {
      "label": "Release date",
      "type": "date"
    },
    "genre": {
      "label": "Genre",
      "type": "string"
    },
    "length": {
      "label": "Length",
      "description": "Song duration",
      "type": "string"
    },
    "label": {
      "label": "Record label",
      "type": "string"
    },
    "writer": {
      "label": "Songwriter",
      "type": "string"
    },
    "producer": {
      "label": "Producer",
      "type": "string"
    }
  }
}
</templatedata>

Revision as of 21:39, 25 February 2026

[[File:|250px]]
Artist
Album
Released
Genre
Length
Label
Songwriter
Producer

Infobox for a single

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Song namename

The title of the song

Stringrequired
Cover imagecover

File name of the cover image

Fileoptional
Artistartist

Artist who performed the song

Stringrequired
Albumalbum

Album the song appears on

Stringoptional
Release datereleased

no description

Dateoptional
Genregenre

no description

Stringoptional
Lengthlength

Song duration

Stringoptional
Record labellabel

no description

Stringoptional
Songwriterwriter

no description

Stringoptional
Producerproducer

no description

Stringoptional