Template:Songkick
{{{name}}} tour dates at Songkick
| This template uses Lua: |
Template:Songkick generates an external link to a page at Songkick.
Usage
[edit source]- One parameter
{{Songkick | ID }}{{Songkick | id= ID }}
- Two parameters
{{Songkick | ID | NAME }}{{Songkick | id= ID | name= NAME }}
- Using Wikidata property
{{Songkick}}{{Songkick | name= NAME }}
Examples
[edit source]One parameter
[edit source]This parameter will be the ID number in the URL at Songkick. When one parameter is used, the link text is the title of the Wikipedia article where the template is used, without any disambiguation such as (singer).
- Usage in Roy Harper (singer)
{{Songkick | 300195 }}{{Songkick | id= 300195 }}- Output
- Roy Harper tour dates at Songkick
- URLs
https://www.songkick.com/artists/300195(redirect to URL below)https://www.songkick.com/artists/300195-roy-harper
Two parameters
[edit source]The first parameter will be the ID number in the URL at Songkick. The second parameter will be used as the link text.
- Usage
{{Songkick | 508989 | Future Islands }}{{Songkick | id= 508989 | name= Future Islands }}- Output
- Future Islands tour dates at Songkick
- URLs
https://www.songkick.com/artists/508989(redirect to URL below)https://www.songkick.com/artists/508989-future-islands
No parameters
[edit source]When used without an "id" parameter, this template will call data from Wikidata, if available. If none is available, an error message will be displayed.
- Usage
{{Songkick}}- Output
- Songkick tour dates at SongkickLua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
TemplateData
[edit source]TemplateData for Songkick
This template generates an external link to a page at Songkick.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID portion of the URL, such as 508989 in https://www.songkick.com/artists/508989. This parameter is optional if Wikidata property P3478 exists, but required if not.
| Number | optional |
| Name | name 2 | The link text. This parameter is optional; it defaults to the Wikipedia article name, without disambiguation.
| String | optional |