Difference between revisions of "Template:Bandcamp/doc"
Jump to navigation
Jump to search
imported>Zyxw (add link and category) |
imported>Zyxw (update link, misc formatting) |
||
Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
− | + | Unnamed parameters: | |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' }}</code> | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' }}</code> | ||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' }}</code> | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' }}</code> | ||
− | + | Named parameters: | |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code> | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' }}</code> | ||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code> | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code> | ||
− | + | Using [[Wikidata]] property {{Property|3283}}: | |
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | ||
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | name= ''NAME'' }}</code> | : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | name= ''NAME'' }}</code> | ||
Line 21: | Line 21: | ||
=== Unnamed parameters === | === Unnamed parameters === | ||
− | + | ''URL:'' | |
: <kbd>[https://amandapalmer.bandcamp.com https://{{Hilite|amandapalmer}}.bandcamp.com]</kbd> | : <kbd>[https://amandapalmer.bandcamp.com https://{{Hilite|amandapalmer}}.bandcamp.com]</kbd> | ||
− | + | ''Usage:'' | |
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | amandapalmer | Amanda Palmer }}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | amandapalmer | Amanda Palmer }}</code> | ||
− | + | ''Output:'' | |
:* {{{{BASEPAGENAME}} | amandapalmer | Amanda Palmer }} | :* {{{{BASEPAGENAME}} | amandapalmer | Amanda Palmer }} | ||
=== Named parameters === | === Named parameters === | ||
+ | ''URL:'' | ||
: <kbd>[https://cuneiformrecords.bandcamp.com https://{{Hilite|cuneiformrecords}}.bandcamp.com]</kbd> | : <kbd>[https://cuneiformrecords.bandcamp.com https://{{Hilite|cuneiformrecords}}.bandcamp.com]</kbd> | ||
− | + | ''Usage:'' | |
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= cuneiformrecords | name= Cuneiform Records }}</code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= cuneiformrecords | name= Cuneiform Records }}</code> | ||
− | + | ''Output:'' | |
:* {{{{BASEPAGENAME}} | id= cuneiformrecords | name= Cuneiform Records }} | :* {{{{BASEPAGENAME}} | id= cuneiformrecords | name= Cuneiform Records }} | ||
=== No parameters and Wikidata property not defined === | === No parameters and Wikidata property not defined === | ||
− | + | ''Usage:'' | |
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | ||
− | + | ''Output:'' | |
:* {{ {{BASEPAGENAME}} }} | :* {{ {{BASEPAGENAME}} }} | ||
== Tracking category == | == Tracking category == | ||
− | * {{clc|Bandcamp template missing ID}} | + | * {{clc|Bandcamp template missing ID and not in Wikidata}} |
− | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
[[Category:Social media external link templates]] | [[Category:Social media external link templates]] |
Latest revision as of 17:04, 7 April 2019
![]() | This is a documentation subpage for Template:Bandcamp. It contains usage information, categories and other content that is not part of the original template page. |
![]() | 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