模板: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
参见
编辑上述文档嵌入自Template:QR code link/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |