Template:Amazon author page
Appearance
Books by {{{name}}} at Amazon.com
This template uses the Wikidata property:
- Amazon author ID (P4862) (see uses)
This template uses Lua: |
Template:Amazon author page displays an external link to an author's works on Amazon.com.
Usage
[edit]- Unnamed parameters
{{Amazon author page | ID }}
{{Amazon author page | ID | NAME }}
- Named parameters
{{Amazon author page | id= ID }}
{{Amazon author page | id= ID | name= NAME }}
- Using Wikidata property Amazon author ID (P4862)
{{Amazon author page}}
{{Amazon author page | name= NAME }}
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Amazon author page in articles based on its TemplateData.
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" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: B001HP97UG is the ID portion of 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 "name" parameter (or unnamed parameter "2") may be used to specify 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]- Category:Amazon author page different from Wikidata (0)
- Category:Amazon author page not in Wikidata (2)
Templates and modules used
[edit]- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck