type parameter is used to specify a data type. Possible to use the next values:
- article - to encode a link to an article in a QR code
- event - to encode calendar event in a QR code
- contact - to encode contact details in a QR code
- email - to encode an email in a QR code
- geo - to encode a geo location in a QR code
- phone - to encode a phone number in a QR code
- plain - to encode a plain text in a QR code
- sms - to encode an SMS in a QR code
- link - to encode a link in a QR code
- wifi - to encode a Wi-Fi network in a QR code
- youtube - to encode a link to a YouTube video in a QR code
Samples
- Encode an email in a QR code.
[qrcode type="email"]test@domain.com[/qrcode]
Joomla! article
Set
type parameter to
article if it is desired to encode a link to an article. Enter article ID in
id parameter of
[qrcode] tag or between
[qrcode] and
[/qrcode] tags.
Samples
- Encode a link to the article with ID = 5.
[qrcode type="article" id="5"]
or
[qrcode type="article"]5[/qrcode]
Calendar event
Set
type parameter to
event if it is desired to encode a calendar event. Enter event name in
name parameter of
[qrcode] tag or between
[qrcode] and
[/qrcode] tags. It is possible to use the following parameters for calendar event:
-
name parameter is used to specify event name.
Samples
-
[qrcode type="event" name="Sample event" start="2013-01-10 10:30" end="2013-02-04 11:00" location="New York" description="Description of the event" size="150"][/qrcode]
-
[qrcode type="event" allday="1" start="2013-01-10" end="2013-02-04" location="New York" size="150"]Sample event[/qrcode]
-
allday parameter is used to specify all day event. Possible to use 1 or 0 value.
-
start parameter is used to specify start date of event.
-
end parameter is used to specify end date of event.
-
description parameter is used to specify event description.
-
location parameter is used to specify event location.
Contact details
Set
type parameter to
contact if it is desired to encode contact details. Enter a contact name between
[qrcode] and
[/qrcode] tags. It is possible to use the following parameters for contact details:
-
encoding parameter is used to specify contact details format. The parameter accepts
vcard and
mecard values.
Samples
- Encode contact details in vCard format.
[qrcode type="contact" encoding="vcard" firstname="John" lastname="Smith" company="J-Plant" site="http://www.j-plant.com" size="150"]
J-Plant contact
[/qrcode]
- Encode contact details in MECARD format.
[qrcode type="contact" encoding="mecard" company="J-Plant" firstname="John" lastname="Smith" site="http://www.j-plant.com" size="150"][/qrcode]
-
firstname parameter is used to specify a first name.
-
lastname parameter is used to specify a last name.
-
company parameter is used to specify a company name.
-
phone parameter is used to specify a phone number.
-
mobile parameter is used to specify a mobile phone number.
-
email parameter is used to specify an email.
-
address parameter is used to specify an address line 1.
-
address2 parameter is used to specify an address line 2.
-
site parameter is used to specify a site.
-
memo parameter is used to specify comments to a contact.
Samples
- Encode contact details
[qrcode type="contact" encoding="vcard" company="ACME, Inc" phone="+111-555-1212" email="test@domain.com" address="100 Waters Edge,Baytown,LA,30314,United States of America" site="http://www.test.com" note="sample contact"]
Test contact
[/qrcode]
Email
Set
type parameter to
email if it is desired to encode an email. Enter an email between
[qrcode] and
[/qrcode] tags.
Samples
- Encode an email.
[qrcode type="email"]test@domain.com[/qrcode]
Geo location
Set
type parameter to
geo if it is desired to encode a geo location. It is possible to use the following parameters for a geo location:
Samples
- Encode a geo location.
[qrcode type="geo" longtitude="14.420460" latitude="50.087811"][/qrcode]
or
[qrcode type="geo"]14.420460;50.087811[/qrcode]
Phone number
Set
type parameter to
phone if it is desired to encode an phone number. Enter a phone number between
[qrcode] and
[/qrcode] tags.
Samples
- Encode a phone number.
[qrcode type="phone"]+420-5-55-55-55-55[/qrcode]
It is possible to enter phone in different formats. For example:
+42055555-55-55
+420555555555
and etc.
Plain text
Set
type parameter to
plain if it is desired to encode a plain text. Enter a text between
[qrcode] and
[/qrcode] tags.
Samples
- Encode a text.
[qrcode type="plain"]QRCode Plant[/qrcode]
SMS
Set
type parameter to
sms if it is desired to encode an sms. Enter an sms text between
[qrcode] and
[/qrcode] tags and a phone number in
phone parameter of
[qrcode] tag.
Samples
- Encode an sms.
[qrcode type="sms" phone="+420-5-55-55-55-55"]Call me please[/qrcode]
Link
Set
type parameter to
link if it is desired to encode a link. Enter a link between
[qrcode] and
[/qrcode] tags.
Samples
- Encode a link.
[qrcode type="link"]http://www.j-plant.com[/qrcode]
- Encode a link of the current page.
[qrcode type="link"][/qrcode]
Wi-Fi network
Set
type parameter to
wifi if it is desired to encode Wi-Fi credentials. Enter an SSID between
[qrcode] and
[/qrcode] tags. It is possible to use the following parameters for Wi-Fi credentials:
Samples
- Encode Wi-Fi credentials.
[qrcode type="wifi" net="wpa" pass="123456"]Wi-Fi HotSpot[/qrcode]
YouTube
Set
type parameter to
youtube if it is desired to encode a link to a YouTube video. Enter a video ID between
[qrcode] and
[/qrcode] tags. It is possible to use the following parameters for YouTube type:
-
linkType parameter is used to specify link type. Possible to use the next values:
- mobile - to specify mobile link type
- desktop - to specify desktop link type
Samples
- Encode a link to a YouTube video.
[qrcode type="youtube" linkType="mobile"]cAufYW9SBm8[/qrcode]