Template: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