Template:Track listing: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=releases
<noinclude>{{#cargo_declare:_table=track_listings
| work = Page(mandatory=1)
| headline = String
| catalog_id = List (,) of String
| format = List (,) of String
| country = String(size=20)
| label = List (,) of String
| released = Date
| discogs = Integer
| musicbrainz = String(size=50)
}}{{#cargo_declare:_table=track_listings
| song = String(mandatory=1)
| song = String(mandatory=1)
| song_page_title = String(mandatory=1)
| work = String(mandatory=1)
| work = String(mandatory=1)
| headline = String
| listing_id = Integer
| main_listing = Boolean
| track = Integer
| track = Integer
| source = Page
| length = String
| length = String
}}</noinclude><includeonly>{{#if:{{{released1|{{{label1|{{{catalog_id1|{{{format1|{{{country1|}}}}}}}}}}}}}}}|
}}</noinclude>{{#invoke:Track listing|main|headline={{{headline|}}}|main_listing={{{main_listing|0}}}|listing_id={{{listing_id|}}}}}<noinclude>
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id1|}}} | released = {{{released1|}}} | format = {{{format1|}}} | label = {{{label1|}}} | country = {{{country1|}}} | discogs = {{{discogs1|}}} | musicbrainz = {{{musicbrainz1|}}}
{{documentation}}</noinclude>
}}}}{{#if:{{{released2|{{{label2|{{{catalog_id2|{{{format2|{{{country2|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id2|}}} | released = {{{released2|}}} | format = {{{format2|}}} | label = {{{label2|}}} | country = {{{country2|}}} | discogs = {{{discogs2|}}} | musicbrainz = {{{musicbrainz2|}}}
}}}}{{#if:{{{released3|{{{label3|{{{catalog_id3|{{{format3|{{{country3|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id3|}}} | released = {{{released3|}}} | format = {{{format3|}}} | label = {{{label3|}}} | country = {{{country3|}}} | discogs = {{{discogs3|}}} | musicbrainz = {{{musicbrainz3|}}}
}}}}{{#if:{{{released4|{{{label4|{{{catalog_id4|{{{format4|{{{country4|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id4|}}} | released = {{{released4|}}} | format = {{{format4|}}} | label = {{{label4|}}} | country = {{{country4|}}} | discogs = {{{discogs4|}}} | musicbrainz = {{{musicbrainz4|}}}
}}}}{{#if:{{{released5|{{{label5|{{{catalog_id5|{{{format5|{{{country5|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id5|}}} | released = {{{released5|}}} | format = {{{format5|}}} | label = {{{label5|}}} | country = {{{country5|}}} | discogs = {{{discogs5|}}} | musicbrainz = {{{musicbrainz5|}}}
}}}}{{#if:{{{released6|{{{label6|{{{catalog_id6|{{{format6|{{{country6|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id6|}}} | released = {{{released6|}}} | format = {{{format6|}}} | label = {{{label6|}}} | country = {{{country6|}}} | discogs = {{{discogs6|}}} | musicbrainz = {{{musicbrainz6|}}}
}}}}{{#if:{{{released7|{{{label7|{{{catalog_id7|{{{format7|{{{country7|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id7|}}} | released = {{{released7|}}} | format = {{{format7|}}} | label = {{{label7|}}} | country = {{{country7|}}} | discogs = {{{discogs7|}}} | musicbrainz = {{{musicbrainz7|}}}
}}}}{{#if:{{{released8|{{{label8|{{{catalog_id8|{{{format8|{{{country8|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id8|}}} | released = {{{released8|}}} | format = {{{format8|}}} | label = {{{label8|}}} | country = {{{country8|}}} | discogs = {{{discogs8|}}} | musicbrainz = {{{musicbrainz8|}}}
}}}}{{#if:{{{released9|{{{label9|{{{catalog_id9|{{{format9|{{{country9|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id9|}}} | released = {{{released9|}}} | format = {{{format9|}}} | label = {{{label9|}}} | country = {{{country9|}}} | discogs = {{{discogs9|}}} | musicbrainz = {{{musicbrainz9|}}}
}}}}{{#if:{{{released10|{{{label10|{{{catalog_id10|{{{format10|{{{country10|}}}}}}}}}}}}}}}|
{{#cargo_store:_table=releases| work = {{{work|}}} | headline = {{{headline|}}} | catalog_id = {{{catalog_id10|}}} | released = {{{released10|}}} | format = {{{format10|}}} | label = {{{label10|}}} | country = {{{country10|}}} | discogs = {{{discogs10|}}} | musicbrainz = {{{musicbrainz10|}}}
}}}}{{#if:{{{work|}}}||[[Category:Track listings missing work name]]}}{{#if:{{{headline|}}}||[[Category:Track listings missing headline]]}}</includeonly>{{#invoke:Track listing|main}}<noinclude>
{{documentation}}
</noinclude>

Latest revision as of 05:43, 29 December 2023

This template defines the table "track_listings". View table.

No.TitleLength
Template documentation[view] [edit] [history] [purge]

Tracking categories:

No description.

[Edit template data]

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Headlineheadline

Shown as bold text above the track listing, and is also shown as "Notes" in the {{availability}} template

Stringoptional
Main listingmain_listing

Set this to yes to indicate that this is the "main" track listing for an album (as opposed to alternative track listings foreign pressings, etc.)

Booleanoptional
Listing IDlisting_id

Give this a unique integer value, starting with 1 for the first track listing, 2 for the second, and so on. These numbers get referenced in the release history entries to indicate which release contained which tracks.

Numberoptional
Sourcesource_column

Defines the heading text for the "Source" column. For each track, you'll have "source1 = [[The Smashing Pumpkins 1993-03-03]]" for instance to indicate the source of the track, be it a show or a studio session. Use the value "hidden" for the source_column parameter to still be able to set values for the source, but hide them from view.

Stringoptional
All writingall_writing

Enter text here will hide "Writers" column and attribute tracks to that writer. You can override it on a per-track level, too, in which case the "Writers" column will be visible again.

Example
Billy Corgan, except where noted
Stringsuggested