Difference between revisions of "Template:Amazon author page"

From blackwiki
Jump to navigation Jump to search
blackwiki>Vahurzpu
(Create template)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 13:09, 20 October 2020

Books by {{{name}}} at Amazon.com Template:WikidataCheck

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Template:Amazon author page displays an external link to an author's works on Amazon.com.

Usage

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 Template:Property
{{Amazon author page}}
{{Amazon author page | name= NAME }}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Amazon author page

This template displays an external link to an author's works on Amazon.com

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P4862
Stringoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

Templates and modules used