ผลต่างระหว่างรุ่นของ "แม่แบบ:ASIN"

จากวิกิพีเดีย สารานุกรมเสรี
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Mibilove (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
Tiemianwusi (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
 
บรรทัด 1: บรรทัด 1:
<!--
[http://www.{{{1}}}/exec/obidos/ASIN/{{{2}}} {{{3}}}]
-->{{hide in print
|[[Amazon Standard Identification Number|ASIN]]&nbsp;[http://www.amazon<!--
-->{{#if:{{{country|}}}
|{{#ifeq:{{{country|}}}|uk|.co}}.{{{country}}}
|.com
}}/dp/{{1x|1={{{1}}} }} {{{1}}}]<!--
-->{{#if:{{{title|<noinclude>x</noinclude>}}}
|, ''{{{title}}}''
}}<!--
-->{{#if:{{{date|<noinclude>x</noinclude>}}}
|&nbsp;({{{date}}})
}}<!--
-->}}<!--
-->{{only in print
|ASIN{{#if:{{{country|}}}|&nbsp;({{lc:amazon{{#ifeq:{{{country|}}}|uk|.co}}.{{{country|}}}}})}}:&nbsp;{{{1}}}<!--
-->{{#if:{{{title|<noinclude>x</noinclude>}}}
|, ''{{{title}}}''
}}<!--
-->{{#if:{{{date|<noinclude>x</noinclude>}}}
|&nbsp;({{{date}}})
}}<!--
-->}}<!--
--><noinclude>
{{documentation}}
</noinclude>

รุ่นแก้ไขปัจจุบันเมื่อ 05:23, 8 เมษายน 2555

ASIN {{{1}}}, {{{title}}} ({{{date}}})

Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

Usage[แก้]

{{ASIN
| asin_id_from_Amazon
| country=
| title=
| date=
}}

The usage structure above is written for easy reading. Note that for some reason you can't use neither linebreaks nor spaces between the parameters.

If the ASIN begins with a number, it is a standard ISBN; please use "ISBN xxxxxxxxxx" instead of ASIN xxxxxxxxxx, as this will allow us to link to other sites as well as Amazon.

Examples[แก้]

  • {{ASIN|B00086U61Y}}
ASIN B00086U61Y
(note it uses amazon.com by default)
  • Add country=uk/de/fr/etc., in order to use their local Amazon sites (uk gets an automated co. added before it):
    • {{ASIN|B000F8S4A0|country=uk}}
    ASIN B000F8S4A0
    (note this time it uses amazon.co.uk)
    • {{ASIN|B000F8S4A0|country=fr}}
    ASIN B000F8S4A0
    (note this time it uses amazon.fr)
  • And here's an item with a supplied title:
{{ASIN|B00086U61Y|title=Item's Title}}
ASIN B00086U61Y, Item's Title
  • Here's an item with a supplied date:
{{ASIN|B00086U61Y|date=2000-12-24}}
ASIN B00086U61Y (2000-12-24)
  • Here's an item with a supplied title and date:
{{ASIN| B00086U61Y|title=Item's Title|date=2000-12-24}}
ASIN B00086U61Y, Item's Title (2000-12-24)
  • Here's an item from the UK with a supplied title and date:
{{ASIN|B00086U61Y|country=uk|title=Item's Title|date=2000-12-24}}
ASIN B00086U61Y, Item's Title (2000-12-24)