Template documentationedit documentation

Use this template to generate QR codes.

Examples[edit source]

  • {{QR code}} - Generate QR code for the current page URL
  • {{QR code|https://example.com/}} - Generate QR code for the given URL or text
  • {{QR code|text=https://www.youtube.com/watch?v=t1MJFsKeaqo}} - When the text contains = signs, make the text parameter explicit to avoid confusing the parser

Template data[edit source]

Use this template to generate QR codes.

Template parameters

ParameterDescriptionTypeStatus
Texttext

Text to encode

Example
https://www.youtube.com/watch?v=t1MJFsKeaqo
Stringoptional
Formatformat

Format of the QR code

Suggested values
png svg
Default
svg
Example
png
Stringoptional
Sizesize

Size of the QR code

Default
6
Example
4
Numberoptional
Cookies help us deliver our services. By using our services, you agree to our use of cookies.