Difference between revisions of "Template:Bandcamp"
Jump to navigation
Jump to search
imported>Mwtoews |
imported>Zyxw (If Wikidata property has multiple values, only use first one. Update tracking category.) |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{1<includeonly>|</includeonly>}}}{{{id|}}}{{#property:P3283}} | + | {{#if: {{{1<includeonly>|</includeonly>}}} {{{id|}}} {{#property:P3283}} |
| − | |[https://{{ | + | |
| − | |<span class="error">{{[[Template:Bandcamp|Bandcamp]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Bandcamp template missing ID]]}} | + | | [https://{{#if: {{{1|{{{id<includeonly>|</includeonly>}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P3283}}|sep=,}} }}.bandcamp.com/ {{#if: {{{2|{{{name<includeonly>|</includeonly>}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] on [[Bandcamp]]<includeonly>{{EditAtWikidata|pid=P3283|{{{1|{{{id|}}}}}}}}</includeonly> |
| + | |||
| + | | <span class="error">{{[[Template:Bandcamp|Bandcamp]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Bandcamp template missing ID and not in Wikidata]]}} | ||
| + | |||
}}<noinclude> | }}<noinclude> | ||
| − | {{Documentation}} | + | {{Documentation}}<!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> |
| − | <!-- Please add categories to the /doc subpage & add interwikis to Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:01, 7 April 2019
| The external links guideline recommends avoiding links to external websites unless the profile is an official account, "controlled by the subject (organization or individual person) of the Wikipedia article" and when the links to Bandcamp "provide the reader with unique content and are not prominently linked from other official websites". Wikipedia is not a directory for helping Bandcamp users find pages on Bandcamp. |
Contents
Usage
Unnamed parameters:
{{Bandcamp | ID }}{{Bandcamp | ID | NAME }}
Named parameters:
{{Bandcamp | id= ID }}{{Bandcamp | id= ID | name= NAME }}
Using Wikidata property Template:Property:
{{Bandcamp}}{{Bandcamp | name= NAME }}
Examples
Unnamed parameters
URL:
Usage:
* {{Bandcamp | amandapalmer | Amanda Palmer }}
Output:
- Amanda Palmer on BandcampScript error: No such module "EditAtWikidata".
Named parameters
URL:
Usage:
* {{Bandcamp | id= cuneiformrecords | name= Cuneiform Records }}
Output:
- Cuneiform Records on BandcampScript error: No such module "EditAtWikidata".
No parameters and Wikidata property not defined
Usage:
* {{Bandcamp}}
Output:
- Template:PAGENAMEBASE on BandcampScript error: No such module "EditAtWikidata".
Tracking category
| The above documentation is transcluded from Template:Bandcamp/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |