Form:New song: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 11: Line 11:
{| class="formtable"
{| class="formtable"
! '''Name''':
! '''Name''':
| {{{field|name|label=Name|default= {{PAGENAME}} }}}
| style="padding-left:10px" | {{{field|name|label=Name|default= {{PAGENAME}} }}}
|-
|-
! Type:
! Type:
| {{{field|type|mandatory|cargo table=songs|cargo field=type}}}
| style="padding-left:10px" | {{{field|type|mandatory|cargo table=songs|cargo field=type}}}
|-
|-
! Artist:
! Artist:
| {{{field|artist|mandatory|input type=text with autocomplete|cargo table=songs|cargo field=artist}}}
| style="padding-left:10px" | {{{field|artist|mandatory|input type=text with autocomplete|cargo table=songs|cargo field=artist}}}
|-
|-
! Album:
! Album:
| {{{field|album|input type=text with autocomplete|cargo table=songs|cargo field=main_album}}}
| style="padding-left:10px" | {{{field|album|input type=text with autocomplete|cargo table=songs|cargo field=main_album}}}
|-
|-
! Release date:
! Release date:
| {{{field|released|input type=datepicker|date format=MMMM d, yy}}}
| style="padding-left:10px" | {{{field|released|input type=datepicker|date format=MMMM d, yy}}}
|-
|-
! Length:
! Length:
| {{{field|length}}}
| style="padding-left:10px" | {{{field|length}}}
|-
|-
! Writer(s):
! Writer(s):
| {{{field|writer|mandatory|input type=text with autocomplete|cargo table=songs|cargo field=writer}}}
| style="padding-left:10px" | {{{field|writer|mandatory|input type=text with autocomplete|cargo table=songs|cargo field=writer}}}
|-
|-
! Producer(s):
! Producer(s):
| {{{field|producer|input type=text with autocomplete|cargo table=albums|cargo field=producer}}}
| style="padding-left:10px" | {{{field|producer|input type=text with autocomplete|cargo table=albums|cargo field=producer}}}
|-
|-
! Spotify ID:  
! Spotify ID:  
| {{{field|spotify}}}
| style="padding-left:10px" | {{{field|spotify}}}
|}
|}
{{{end template}}}
{{{end template}}}

Revision as of 04:51, 16 January 2021

This is the form to create a new Song article. Enter the name of the song below to get started.

If a song with the same name already exists, you will be sent to a form to edit that song.