Template:QR code/doc
Appearance
![]() | This is a documentation subpage for Template:QR code. It may contain usage information, categories and other content that is not part of the original template page. |
Usage[edit]
{{QR code}} {{QR code|Article name}} {{QR code|Article name|Link title}}
Parameters[edit]
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.
Examples[edit]
{{QR code}}
provides Generate QR code for this page{{QR code|Elephant}}
produces Elephant QR{{QR code|Data matrix (computer)|Data matrix}}
provides Data matrix matrix (computer) QR{{QR code|Elephant|size=80}}
produces Elephant QR