Difference between revisions of "Template:Infobox concert/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 71: Line 71:
 
}}</pre>
 
}}</pre>
 
{{Clear}}
 
{{Clear}}
 +
=== Example ===
 +
{{Infobox concert
 +
| concert_name = Popmart Tour
 +
| image        = placeholder.png
 +
| artist      = [[U2]]
 +
| type        = Charity
 +
| album        = ''[[Pop (U2 album)|Pop]]''
 +
| last_concert = [[Zoo TV Tour]]<br>(1992-1993)
 +
| this_concert = Popmart Tour<br>(1997-1998)
 +
| next_concert = [[Elevation Tour]]<br>(2001)
 +
}}
 +
<pre style="overflow: auto;">{{Infobox concert
 +
| concert_name = Popmart Tour
 +
| image        = placeholder.png
 +
| artist      = [[U2]]
 +
| type        = Charity
 +
| album        = ''[[Pop (U2 album)|Pop]]''
 +
| last_concert = [[Zoo TV Tour]]<br>(1992-1993)
 +
| this_concert = Popmart Tour<br>(1997-1998)
 +
| next_concert = [[Elevation Tour]]<br>(2001)
 +
}}</pre>
  
 +
== Parameters ==
 +
; concert_name ''or'' concert_tour_name
 +
: name of the concert/tour
 +
; image
 +
: an image link in the following form: <code>'''<nowiki>[[Image:MyImage.jpg|250px]]</nowiki>'''</code>
 +
; image_size
 +
: the image size should only be specified if the image is smaller than 220 pixels width. Enter the width in pixels without "px", for example <code>150</code>. Size for landscape images should be 250.
 +
; landscape
 +
: set to <code>yes</code> when using wide, short images. The image height (rather than width) will be limited to 200 pixels.
 +
; border
 +
: inserting <code>yes</code> here will result in a 1px grey border around the image, useful for instances where the image and the background will blend together (such as a concert poster with a white background). If no border is necessary, this parameter should not be used.
 +
; alt
 +
: [[WP:ALT|alternative text]] for the image, for visually impaired and other readers who cannot see the image.
 +
; caption
 +
: a caption for the image
 +
; type
 +
: type of tour with capital letter; entry will be followed by the word "tour" (ex: World, Free, Benefit, Festival, Promotional, Revival, Reunion, etc.)
 +
; artist
 +
: artist or organization holding the concert
 +
; location
 +
: The location(s) of where the tour took place (ex: cities, states, countries, continents). Avoid unnecessarily long lists: If a tour covered multiple continents, or many cities across the same continent, simply name the continents (ex: North America, Europe, Australia). If it covered just a few countries or states, name them (ex: United States, United Kingdom ''or'' California, Arizona). Only list specific cities for very short tours covering only a few cities.
 +
; venue
 +
: venue of where the concert took place
 +
; album
 +
: If the tour is associated with a specific album, then name the album. Use a wikilink to link to the album's article.
 +
; start_date
 +
: the date when the tour began, usually the date of the first performance of the tour. Use <code><nowiki>{{Start date|YYYY|MM|DD}}</nowiki></code>, replacing <code>YYYY</code> with the year, <code>MM</code> with the numerical month, and <code>DD</code> with the day (ex: <code><nowiki>{{Start date|2010|08|13}}</nowiki></code>).
 +
; end_date
 +
: the date when the tour ended, usually the date of the final performance of the tour. Use <code><nowiki>{{End date|YYYY|MM|DD}}</nowiki></code>.
 +
; number_of_legs
 +
: some tours have multiple "legs", often separated by gaps of time (ex: a West coast leg and an East coast leg, or a North American leg and a European leg). If so, enter the number of legs. If the tour consisted of one continuous string of dates, leave this field blank.
 +
; number_of_shows
 +
: the total number of shows on the entire tour.
 +
; website ''or'' URL
 +
: the ''single'' web address for the tour's primary ''official'' website. Use {{Tl|URL}} as <nowiki>{{URL|example.com}}</nowiki>.
 +
; budget
 +
: the budget for the tour, if known. Use templates to link to specific currencies, for example {{tl|US$}}
 +
; gross
 +
: the total gross revenue for the tour, if known
 +
; last_concert ''or'' last_tour
 +
: the artist or organization's previous concert, followed by a <code><nowiki><br></nowiki></code> and the concert's year in parenthesis (type <code>N/A</code> if none)
 +
; this_concert ''or'' this_tour
 +
: the artist or organization concert in which the infobox is about in bold text, followed by a <code><nowiki><br></nowiki></code> and the concert's year in parenthesis
 +
; next_concert ''or'' next_tour
 +
: the artist or organization's next concert, followed by a <code><nowiki><br></nowiki></code> and the concert's year in parenthesis (type <code>...</code> if a future tour may occur; type <code>N/A</code> if there will be no future tour)
 +
; misc1..4
 +
: {{tl|Extra tour chronology}} may be used here for tours featuring various artists
 
== TemplateData ==
 
== TemplateData ==
 
{{TemplateData header}}
 
{{TemplateData header}}
Line 140: Line 208:
 
}
 
}
 
</templatedata>
 
</templatedata>
 
=== Example ===
 
{{Infobox concert
 
| concert_name = Popmart Tour
 
| image        = placeholder.png
 
| artist      = [[U2]]
 
| type        = Charity
 
| album        = ''[[Pop (U2 album)|Pop]]''
 
| last_concert = [[Zoo TV Tour]]<br>(1992-1993)
 
| this_concert = Popmart Tour<br>(1997-1998)
 
| next_concert = [[Elevation Tour]]<br>(2001)
 
}}
 
<pre style="overflow: auto;">{{Infobox concert
 
| concert_name = Popmart Tour
 
| image        = placeholder.png
 
| artist      = [[U2]]
 
| type        = Charity
 
| album        = ''[[Pop (U2 album)|Pop]]''
 
| last_concert = [[Zoo TV Tour]]<br>(1992-1993)
 
| this_concert = Popmart Tour<br>(1997-1998)
 
| next_concert = [[Elevation Tour]]<br>(2001)
 
}}</pre>
 
 
== Parameters ==
 
; concert_name ''or'' concert_tour_name
 
: name of the concert/tour
 
; image
 
: an image link in the following form: <code>'''<nowiki>[[Image:MyImage.jpg|250px]]</nowiki>'''</code>
 
; image_size
 
: the image size should only be specified if the image is smaller than 220 pixels width. Enter the width in pixels without "px", for example <code>150</code>. Size for landscape images should be 250.
 
; landscape
 
: set to <code>yes</code> when using wide, short images. The image height (rather than width) will be limited to 200 pixels.
 
; border
 
: inserting <code>yes</code> here will result in a 1px grey border around the image, useful for instances where the image and the background will blend together (such as a concert poster with a white background). If no border is necessary, this parameter should not be used.
 
; alt
 
: [[WP:ALT|alternative text]] for the image, for visually impaired and other readers who cannot see the image.
 
; caption
 
: a caption for the image
 
; type
 
: type of tour with capital letter; entry will be followed by the word "tour" (ex: World, Free, Benefit, Festival, Promotional, Revival, Reunion, etc.)
 
; artist
 
: artist or organization holding the concert
 
; location
 
: The location(s) of where the tour took place (ex: cities, states, countries, continents). Avoid unnecessarily long lists: If a tour covered multiple continents, or many cities across the same continent, simply name the continents (ex: North America, Europe, Australia). If it covered just a few countries or states, name them (ex: United States, United Kingdom ''or'' California, Arizona). Only list specific cities for very short tours covering only a few cities.
 
; venue
 
: venue of where the concert took place
 
; album
 
: If the tour is associated with a specific album, then name the album. Use a wikilink to link to the album's article.
 
; start_date
 
: the date when the tour began, usually the date of the first performance of the tour. Use <code><nowiki>{{Start date|YYYY|MM|DD}}</nowiki></code>, replacing <code>YYYY</code> with the year, <code>MM</code> with the numerical month, and <code>DD</code> with the day (ex: <code><nowiki>{{Start date|2010|08|13}}</nowiki></code>).
 
; end_date
 
: the date when the tour ended, usually the date of the final performance of the tour. Use <code><nowiki>{{End date|YYYY|MM|DD}}</nowiki></code>.
 
; number_of_legs
 
: some tours have multiple "legs", often separated by gaps of time (ex: a West coast leg and an East coast leg, or a North American leg and a European leg). If so, enter the number of legs. If the tour consisted of one continuous string of dates, leave this field blank.
 
; number_of_shows
 
: the total number of shows on the entire tour.
 
; website ''or'' URL
 
: the ''single'' web address for the tour's primary ''official'' website. Use {{Tl|URL}} as <nowiki>{{URL|example.com}}</nowiki>.
 
; budget
 
: the budget for the tour, if known. Use templates to link to specific currencies, for example {{tl|US$}}
 
; gross
 
: the total gross revenue for the tour, if known
 
; last_concert ''or'' last_tour
 
: the artist or organization's previous concert, followed by a <code><nowiki><br></nowiki></code> and the concert's year in parenthesis (type <code>N/A</code> if none)
 
; this_concert ''or'' this_tour
 
: the artist or organization concert in which the infobox is about in bold text, followed by a <code><nowiki><br></nowiki></code> and the concert's year in parenthesis
 
; next_concert ''or'' next_tour
 
: the artist or organization's next concert, followed by a <code><nowiki><br></nowiki></code> and the concert's year in parenthesis (type <code>...</code> if a future tour may occur; type <code>N/A</code> if there will be no future tour)
 
; misc1..4
 
: {{tl|Extra tour chronology}} may be used here for tours featuring various artists
 
 
 
== Microformat ==
 
== Microformat ==
 
{{UF-hcal}}
 
{{UF-hcal}}

Revision as of 23:56, 8 August 2017

Usage

Template:Parameter names example

Basic usage

{{Infobox concert
| concert_name      = 
| image             = 
| caption           = 
| artist            = 
| type              = 
| date              =
| venue             =
| tour              = 
| album             = <!-- or | albums = -->
| number_of_shows   = 
| duration          = 
| support_act       = <!-- or | support_acts = -->
| attendance        = 
| gross             = 
| website           = 
| last_concert      = 
| this_concert      = 
| next_concert      = 
}}

Orchestral concerts

{{Infobox concert
| concert_name      = 
| image             = 
| caption           = 
| orchestra         =
| choir             =
| conductor         =
| composer          = <!-- or | composers = -->
| arranger          = <!-- or | arrangers = -->
| date              =
| venue             =
| guests            = 
| support_act       = <!-- or | support_acts = -->
| recording         = <!-- or | recordings = -->
| chronology        = Concert chronology
| last_concert      = 
| this_concert      = 
| next_concert      = 
}}

Concert tour

Template:Parameter names example

{{Infobox concert
| concert_tour_name = 
| image             = 
| landscape         = 
| alt               = 
| caption           = 
| artist            = 
| location          = 
| type              = 
| album             = 
| start_date        = <!-- {{Start date|YYYY|MM|DD}} -->
| end_date          = <!-- {{End date|YYYY|MM|DD}} -->
| number_of_legs    = 
| number_of_shows   = 
| website           = <!-- {{URL|example.com}} -->
| last_tour         = 
| this_tour         = 
| next_tour         = 
| misc              = 
}}

Example

Script error: No such module "If empty".
Charity concert by U2
Placeholder.png
Associated albumScript error: No such module "If empty".
U2 concert chronology
{{Infobox concert 
| concert_name = Popmart Tour
| image        = placeholder.png
| artist       = [[U2]]
| type         = Charity
| album        = ''[[Pop (U2 album)|Pop]]''
| last_concert = [[Zoo TV Tour]]<br>(1992-1993)
| this_concert = Popmart Tour<br>(1997-1998)
| next_concert = [[Elevation Tour]]<br>(2001)
}}

Parameters

concert_name or concert_tour_name
name of the concert/tour
image
an image link in the following form: [[Image:MyImage.jpg|250px]]
image_size
the image size should only be specified if the image is smaller than 220 pixels width. Enter the width in pixels without "px", for example 150. Size for landscape images should be 250.
landscape
set to yes when using wide, short images. The image height (rather than width) will be limited to 200 pixels.
border
inserting yes here will result in a 1px grey border around the image, useful for instances where the image and the background will blend together (such as a concert poster with a white background). If no border is necessary, this parameter should not be used.
alt
alternative text for the image, for visually impaired and other readers who cannot see the image.
caption
a caption for the image
type
type of tour with capital letter; entry will be followed by the word "tour" (ex: World, Free, Benefit, Festival, Promotional, Revival, Reunion, etc.)
artist
artist or organization holding the concert
location
The location(s) of where the tour took place (ex: cities, states, countries, continents). Avoid unnecessarily long lists: If a tour covered multiple continents, or many cities across the same continent, simply name the continents (ex: North America, Europe, Australia). If it covered just a few countries or states, name them (ex: United States, United Kingdom or California, Arizona). Only list specific cities for very short tours covering only a few cities.
venue
venue of where the concert took place
album
If the tour is associated with a specific album, then name the album. Use a wikilink to link to the album's article.
start_date
the date when the tour began, usually the date of the first performance of the tour. Use {{Start date|YYYY|MM|DD}}, replacing YYYY with the year, MM with the numerical month, and DD with the day (ex: {{Start date|2010|08|13}}).
end_date
the date when the tour ended, usually the date of the final performance of the tour. Use {{End date|YYYY|MM|DD}}.
number_of_legs
some tours have multiple "legs", often separated by gaps of time (ex: a West coast leg and an East coast leg, or a North American leg and a European leg). If so, enter the number of legs. If the tour consisted of one continuous string of dates, leave this field blank.
number_of_shows
the total number of shows on the entire tour.
website or URL
the single web address for the tour's primary official website. Use {{URL}} as {{URL|example.com}}.
budget
the budget for the tour, if known. Use templates to link to specific currencies, for example {{US$}}
gross
the total gross revenue for the tour, if known
last_concert or last_tour
the artist or organization's previous concert, followed by a <br> and the concert's year in parenthesis (type N/A if none)
this_concert or this_tour
the artist or organization concert in which the infobox is about in bold text, followed by a <br> and the concert's year in parenthesis
next_concert or next_tour
the artist or organization's next concert, followed by a <br> and the concert's year in parenthesis (type ... if a future tour may occur; type N/A if there will be no future tour)
misc1..4
{{Extra tour chronology}} may be used here for tours featuring various artists

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox concert

Syntax error in JSON.

Microformat

Template:UF-hcal