模板:QR code link/doc

概要

产生一个可生成连结到特定条目之QR码的外部链接。如需产生一个QR码图像,可使用{{QR}} (编辑 讨论 说明  信息 链入 历史({{QR code}})。

使用方法

{{QR code link}}
{{QR code link|Article name}}
{{QR code link|Article name|Link title}}

参数

If used without parameters then the current page the template is on is linked to a QR image for that page.

1 - The first parameter provides a Wikipedia article name to provide a link to the article followed by a link to the QR code image page (service provided by Google).
2 - If a second parameter is included, then this is treated as an alternative name for the Wikipedia article if desired.
size - The default image size is 200x200 pixels, a parameter of size may be added giving a alternative width (and the identical height) in pixels.

范例

  1. {{QR code link}} provides 由此产生QR码
  2. {{QR code link|大象}} produces 大象 QR
  3. {{QR code link|Data_Matrix|Data matrix}} provides Data matrix QR
  4. {{QR code link|大象|size=80}} produces 大象 QR

参见