Template:Amazon/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
__NOTOC__
__NOTOC__


This template creates an external link to the '''Amazon.co.jp''' website. It is to be used on CD pages.
This template is used on CD pages to create an external link to the '''Amazon.co.jp''' website.


== Usage ==
== Usage ==
* {{tji|Amazon|Unique Identifier}}
* {{tji|Amazon|Unique Identifier}}
{{br}}
* {{tji|Amazon|Unique Identifier|Special text}}
: Allows for the adding of special text. The link name will look like {{code|Amazon.co.jp (Special text)}}


== Parameter ==
== Parameter ==
Line 27: Line 30:
"type": "string",
"type": "string",
"example":"B004IWQY06",
"example":"B004IWQY06",
"required": true
},
"2": {
"label": "Special Text",
"description": "To add special text to the link label.",
"type": "string",
"example":"Special Edition",
"required": true
"required": true
}
}

Revision as of 02:07, 3 July 2023

Light bulb.png }}
It contains usage information, categories and other content that is not part of the original template page.


This template is used on CD pages to create an external link to the Amazon.co.jp website.

Usage

  • {{Amazon|Unique Identifier}}


  • {{Amazon|Unique Identifier|Special text}}
Allows for the adding of special text. The link name will look like Amazon.co.jp (Special text)

Parameter

The only parameter is the unique identifier in the url. Do not include any other part of the url, it is built into the template.

  • https://www.amazon.co.jp/dp/B004IWQY06/ → B004IWQY06
  • https://www.amazon.co.jp/dp/B001IVU7DA/ → B001IVU7DA

See Also

TemplateData

Creates an external link to the Amazon.co.jp website.

Template parameters

ParameterDescriptionTypeStatus
Unique Number1

The unique identifier in the url.

Example
B004IWQY06
Stringrequired
Special Text2

To add special text to the link label.

Example
Special Edition
Stringrequired