Template:Amazon author page/doc
Jump to navigation
Jump to search
| 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 source]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 source]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 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 source]- Category:Amazon author page different from Wikidata (0)
- Category:Amazon author page not in Wikidata (1)
Templates and modules used
[edit source]- {{PAGENAMEBASE}} and {{First word}}, implemented with Module:String
- {{EditAtWikidata}}, implemented with Module:EditAtWikidata
- {{WikidataCheck}}, implemented with Module:WikidataCheck