模板:QR code link
外观
概要
[编辑]产生一个可生成链接到特定条目之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.
示例
[编辑]{{QR code link}}
provides 由此产生QR码{{QR code link|大象}}
produces 大象 QR{{QR code link|Data_Matrix|Data matrix}}
provides Data matrix QR{{QR code link|大象|size=80}}
produces 大象 QR