Template:Amazon/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
This template is used on CD pages to create an external link to the '''Amazon.co.jp''' website.
This template is used on CD pages to create an external link to the '''Amazon.co.jp''' website.


== Usage ==
== Syntax ==
* {{tji|Amazon|Unique Identifier}}
* {{tji|Amazon|Unique Identifier}}
{{br}}
{{bi|To add special text, the link name will look like {{code|Amazon.co.jp (Special text)}}}}
* {{tji|Amazon|Unique Identifier|Special text}}
* {{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 16: Line 15:
* <nowiki>https://www.amazon.co.jp/dp/B001IVU7DA/</nowiki> {{Rarr}} {{code|B001IVU7DA}}
* <nowiki>https://www.amazon.co.jp/dp/B001IVU7DA/</nowiki> {{Rarr}} {{code|B001IVU7DA}}


== See Also ==
== See also ==
* {{tl|Animate}}
* {{tl|Animate}}
* {{tl|Company link}}
* {{tl|Company link}}
* {{tl|DLsite}}
* {{tl|Pokedora}}
* {{tl|Pokedora}}
* {{tl|Store link}}


== TemplateData ==
== TemplateData ==
Line 25: Line 26:
{
{
"description": "Creates an external link to the Amazon.co.jp website.",
"description": "Creates an external link to the Amazon.co.jp website.",
    "format": "inline",
"params": {
"params": {
"1": {
"1": {
Line 48: Line 50:


<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Templates]]
[[Category:External link templates]]
[[Category:General Use Templates]]
}}}}</includeonly>
}}}}</includeonly>

Latest revision as of 03:42, 16 December 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.

Syntax

  • {{Amazon|Unique Identifier}}
To add special text, the link name will look like Amazon.co.jp (Special text)
  • {{Amazon|Unique Identifier|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

This template prefers inline formatting of 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