Template:Amazon author page/doc
| This is a documentation subpage for Template:Amazon author page. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
Template:Amazon author page displays an external link to an author's works on Amazon.com.
Usage
[edit]Omit the ID to use the Wikidata property.
- Article name as link text
{{Amazon author page | ID }}{{Amazon author page | id= ID }}
- Parameter as link text
{{Amazon author page | ID | NAME }}{{Amazon author page | id= ID | name= NAME }}
TemplateData
[edit]TemplateData for Amazon author page
This template displays an external link to an author's works on Amazon.com
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| ID | id 1 | The ID portion of the URL, such as B001HP97UG in https://amazon.com/wd/e/B001HP97UG. This parameter is optional if Wikidata property P4862 exists, but required if not.
| String | optional |
| Name | name 2 | The link text, which should be the name of the author. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(author)".
| String | optional |
Tracking categories
[edit]Templates and modules used
[edit]- {{PAGENAMEBASE}} and {{First word}}, implemented with Module:String
- {{Edit at Wikidata}}, implemented with Module:EditAtWikidata
- {{Wikidata check}}, implemented with Module:WikidataCheck