Jump to content

Template:QR code/doc

From Wikipedia, the free encyclopedia

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]
  1. {{QR code}} provides Generate QR code for this page
  2. {{QR code|Elephant}} produces Elephant QR
  3. {{QR code|Data matrix (computer)|Data matrix}} provides Data matrix matrix (computer) QR
  4. {{QR code|Elephant|size=80}} produces Elephant QR