Template:Amazon/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} This template creates an external link to the '''Amazon.co.jp''' website. It is to be used on CD pages. == Usage == * {{tji|Amazon|Unique Identifier}} == Parameter == The only parameter is the unique identifier in the url. Do {{fcb|red|not}} include any other part of the url, it is built into the template. * <nowiki>https://www.amazon.co.jp/dp/B004IWQY06/</nowiki> {{Rarr}} {{code|B004IWQY06}} * <nowiki>https://www.amazon.co.jp/dp/B001IVU7DA/...")
 
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
__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 ==
== Syntax ==
* {{tji|Amazon|Unique Identifier}}
* {{tji|Amazon|Unique Identifier}}
{{bi|To add special text, the link name will look like {{code|Amazon.co.jp (Special text)}}}}
* {{tji|Amazon|Unique Identifier|Special text}}


== Parameter ==
== Parameter ==
Line 12: 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|Store link}}


== TemplateData ==
== TemplateData ==
Line 20: 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 26: Line 33:
"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
}
}
Line 36: 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 04: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