|
|
Line 1: |
Line 1: |
| {{Infobox
| | <noinclude> |
| | italic title= {{{italic_title|<noinclude>no</noinclude>}}}
| | This is the form to create a new Song article. Enter the name of the song below to get started. |
| | bodyclass = vevent haudio
| |
|
| |
|
| | aboveclass = summary album
| | If a song with the same name already exists, you will be sent to a form to edit that song. |
| | abovestyle = font-style: italic; background-color: {{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki|{{Infobox album/color}}|{{Infobox album/color|{{{type|}}} }} }}
| |
| | above = {{#if:{{{name|}}}|{{{name}}}|<includeonly><span style="font-style: normal">Untitled</span></includeonly>}}
| |
|
| |
|
| | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#switch:{{{image|{{{cover|}}}}}}|blank=|???=Nocover.png|#default={{{image|{{{cover|}}}}}}}}|border={{{border|}}}|alt={{{alt|}}}}}
| | {{#forminput:form=New song}} |
| | caption = {{{caption|}}}
| |
|
| |
|
| | headerstyle = background-color: {{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki|{{Infobox album/color}}|{{Infobox album/color|{{{type|}}}}}}} | | </noinclude><includeonly><templatestyles src="Form:New song/styles.css" /> |
| | headerclass = description | | <div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div> |
| | {{{for template|Infobox song|label=Infobox}}} |
| | {| class="formtable" |
| | ! '''Name''': {{input-required}} |
| | | style="padding-left:10px" | {{{field|name|label=Name|default= {{PAGENAME}} }}} |
| | |- |
| | ! Type: |
| | | style="padding-left:10px" | {{{field|type|mandatory|cargo table=songs|cargo field=type|show on select=cover=>original_artist;single=>cover;single=>discogs;single=>musicbrainz;promo=>cover;promo=>discogs;promo=>musicbrainz}}} |
| | |- id="cover" |
| | ! Cover artwork: |
| | | style="padding-left:10px" | {{{field|cover|cargo table=songs|cargo field=cover}}} |
| | |- |
| | ! Artist: {{input-required}} |
| | | style="padding-left:10px" | {{{field|artist|mandatory|input type=text with autocomplete|cargo table=songs|cargo field=artist}}} |
| | |- id="original_artist" |
| | ! Original artist: |
| | | style="padding-left:10px" | {{{field|original_artist|cargo table=songs|cargo field=original_artist}}} |
| | |- |
| | ! Album: |
| | | style="padding-left:10px" | {{{field|album|input type=text with autocomplete|cargo table=songs|cargo field=main_album}}} |
| | |- |
| | ! Release date: |
| | | style="padding-left:10px" | {{{field|released|input type=datepicker|date format=yy-mm-dd}}} |
| | |- |
| | ! Length: |
| | | style="padding-left:10px" | {{{field|length|input type=regexp|regexp=/^(?:(?:\d{1,2}:)?\d{1,2}:\d{2})?$/}}} |
| | |- |
| | ! Writer(s): {{input-required}} |
| | | style="padding-left:10px" | {{{field|writer|mandatory|input type=text with autocomplete|cargo table=songs|cargo field=writer}}} |
| | |- |
| | ! Producer(s): |
| | | style="padding-left:10px" | {{{field|producer|input type=text with autocomplete|cargo table=albums|cargo field=producer}}} |
| | |- |
| | ! Spotify ID: |
| | | style="padding-left:10px" | {{{field|spotify}}} |
| | |- id="discogs" |
| | ! Discogs master ID: |
| | | style="padding-left:10px" | {{{field|discogs}}} |
| | |- id="musicbrainz" |
| | ! MusicBrainz release-group ID: |
| | | style="padding-left:10px" | {{{field|musicbrainz}}} |
| | |} |
| | {{{end template}}} |
|
| |
|
| | header1 = <includeonly>{{Infobox album/link|{{{type|}}} }}</includeonly>{{#if:{{{longtype|}}}| {{{longtype|}}}}}{{#if:{{{artist|}}}| by <div class="contributor" style="display:inline">{{{artist|}}}</div> }}
| | '''Introduction:''' |
| | label2 = Released
| |
| | data2 = {{{released|}}}
| |
| | class2 = published
| |
| | label3 = Recorded
| |
| | data3 = {{{recorded|}}}
| |
| | class3 = plainlist
| |
| | label4 = Venue
| |
| | data4 = {{{venue|}}}
| |
| | label5 = [[:Category:Albums by studio|Studio]]
| |
| | data5 = {{{studio|}}}
| |
| | class5 = plainlist
| |
| | label6 = Genre
| |
| | data6 = {{{genre|}}}
| |
| | class6 = category hlist
| |
| | label7 = Length
| |
| | data7 = {{#invoke:hms|main|duration={{{length|}}}}}
| |
| | label8 = Language
| |
| | data8 = {{{language|}}}
| |
| | class8 = category
| |
| | label9 = [[:Category:Albums by record label|Label]]
| |
| | data9 = {{{label|}}}
| |
| | class9 = hlist
| |
| | label10 = Director
| |
| | data10 = {{{director|}}}
| |
| | class10 = hlist
| |
| | label11 = [[:Category:Albums by producer|Producer]]
| |
| | data11 = {{{producer|}}}
| |
| | class11 = hlist
| |
| | label12 = Compiler
| |
| | data12 = {{{compiler|}}}
| |
| | class12 = hlist
| |
|
| |
|
| | header13 = {{#if:{{{last_album|}}}{{{next_album|}}}{{{prev_title|}}}{{{next_title|}}}|{{#if:{{{chronology|}}}|{{{chronology|}}}|{{#invoke:String2 | ucfirst |{{{artist|}}}}}}} chronology}}
| | {{{standard input|free text|rows=10|editor=visualeditor|default="'''{{PAGENAME}}'''" is a song by [[The Smashing Pumpkins]] …}}} |
| | data14 = {{#if:{{{last_album|}}}{{{next_album|}}}{{{prev_title|}}}{{{next_title|}}}| | | |
| {{(!}} style="background: transparent; width: 100%; min-width: 100%; border-collapse: collapse"
| | ==Lyrics== |
| {{!}}- style="line-height: 1.4em;"
| | {{{section|Lyrics|level=2|hidden}}}{{{for template|lyrics}}}{{{field|1|input type=textarea}}} |
| {{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0" {{!}} {{#if:{{{prev_title|}}}|''{{{prev_title}}}''{{#if:{{{prev_year|}}}|<br />({{{prev_year}}})}}|{{{last_album|}}}<span style="display:none">{{#if:{{{last_album|}}}|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{last_album|}}}|2=^''([^<]+)''%s*< ?/? ?[Bb][Rr] ?/? ?>|nomatch={{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{last_album|}}}|2=^<div class="plainlist"><ul><li>''([^<]+)''</li>}}}}{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{last_album|}}}|2=< ?/? ?[Bb][Rr] ?/? ?>%s*%((%d+)%)|nomatch={{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{last_album|}}}|2=<li>%((%d+)%)</li></ul></div>}}}}}}</span> }}
| | |
| {{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em" {{!}} {{{this_album|'''''{{{name|{{PAGENAMEBASE}}}}}'''''}}}{{#if:{{{next_year|}}}{{{prev_year|}}}|<br />({{{year|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|{{{released|}}}|%d%d%d+}}}}})}}
| | {{{end template}}} |
| {{!}} style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em" {{!}} {{#if:{{{next_title|}}}|''{{{next_title}}}''{{#if:{{{next_year|}}}|<br />({{{next_year}}})}}|{{{next_album|}}}<span style="display:none">{{#if:{{{next_album|}}}|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{next_album|}}}|2=^''([^<]+)''%s*< ?/? ?[Bb][Rr] ?/? ?>|nomatch={{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{next_album|}}}|2=^<div class="plainlist"><ul><li>''([^<]+)''</li>}}}}{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{next_album|}}}|2=< ?/? ?[Bb][Rr] ?/? ?>%s*%((%d+)%)|nomatch={{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{next_album|}}}|2=<li>%((%d+)%)</li></ul></div>}}}}}}</span> }}
| | |
| {{!)}}
| | {{{for template|Availability}}}{{{end template}}} |
| }}
| | |
| | below = {{{misc|}}}
| | ---- |
| }}<includeonly>[[Category:Albums]]{{#if:{{{artist|}}}|[[Category:{{delink|{{{artist}}}}} albums]]}}{{#if:{{{type|}}}|[[Category:{{{type}}} albums]]}}</includeonly>{{#if:{{#ifeq:{{str left|{{{last_album|}}}|22}}|<div class="plainlist"|1|}}{{#ifeq:{{str left|{{{this_album|}}}|22}}|<div class="plainlist"|1|}}{{#ifeq:{{str left|{{{next_album|}}}|22}}|<div class="plainlist"|1|}}|[[Category:Pages using infobox chronology parameters with plainlists]]}}{{#ifeq:{{{type|}}}||[[Category:Pages using infobox album with empty type parameter]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox album with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox album]] with unknown parameter "_VALUE_"|ignoreblank=y|italic_title |type |name |image |cover |border |alt |caption |longtype |artist |released |recorded |venue |studio |genre |length |language |label |director |producer |compiler |prev_title|prev_year|next_title|next_year|chronology|year|misc}}{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{prev_title|}}}{{{last_album|}}}{{{prev_year|}}}{{{next_title|}}}{{{next_album|}}}{{{next_year|}}}{{{italic_title|}}}{{{italic title|}}}{{{type|}}}{{{name|}}}{{{image|}}}{{{cover|}}}{{{border|}}}{{{alt|}}}{{{caption|}}}{{{longtype|}}}{{{artist|}}}{{{released|}}}{{{recorded|}}}{{{venue|}}}{{{studio|}}}{{{genre|}}}{{{length|}}}{{{language|}}}{{{label|}}}{{{director|}}}{{{producer|}}}{{{compiler|}}}{{{chronology|}}}{{{this_album|}}}{{{year|}}}x|2=</?t[drh][ >]|nomatch=}}|{{main other|[[Category:Music infoboxes with malformed table placement|A]]}}}}{{main other|{{#if:{{{length|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{#invoke:hms|main|duration={{{length|}}}}}|2=class="duration"|plain=true|nomatch=}}|[[Category:Articles with hAudio microformats]]}}}}}}<noinclude>
| | |
| {{Documentation}}
| | {{{standard input|summary}}} |
| <!-- Add categories to the /doc subpage, not here. --> | | |
| </noinclude>
| | {{{standard input|minor edit}}} {{{standard input|watch}}} |
| | |
| | {{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}} |
| | </includeonly> |