Template:Amazon author page/doc
| This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
| 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 }}
TemplateData[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Amazon author page
<templatedata> {
"description": "This template displays an external link to an author's works on Amazon.com",
"params": {
"id": {
"label": "id",
"aliases": ["1"],
"description": "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.",
"type": "string",
"required": false,
"default": "Wikidata property P4862"
},
"name": {
"label": "name",
"aliases": ["2"],
"description": "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)\".",
"type": "string",
"required": false,
"default": "Amazon author page/doc"
}
},
"paramOrder": [
"id",
"name"
]
} </templatedata>
Tracking categories[edit]
- Category:Amazon author page different from Wikidata (0)
- Category:Amazon author page not in Wikidata (0)
Templates and modules used[edit]
- Template:First word, implemented with Module:String
- Module:EditAtWikidata
- Module:WikidataCheck