1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-30 14:46:19 +00:00
TiddlyWiki5/plugins/tiddlywiki/qrcode/MakeWifiQR.tid

29 lines
1.1 KiB
Plaintext
Raw Normal View History

title: $:/plugins/tiddlywiki/qrcode/MakeWifiQR
tags: $:/tags/MakeQR
caption: Wifi
\define wifi-url()
2018-06-23 09:18:39 +00:00
WIFI:T:WPA;S:SSID;P:password;;
\end
\define image(network,encryption,ssid,password)
2018-06-23 09:18:39 +00:00
<img src=<<makeqr text:"""WIFI:T:$encryption$;S:$ssid$;P:$password$;;""" size:"350">>/>
\end
! Enter the details of your wifi network
Encryption: <$select tiddler="$:/config/plugins/tiddlywiki/qrcode/wifi/encryption" default="none">
<option value="none">None</option>
<option value="WEP">WEP</option>
<option value="WPA">WPA</option>
<option value="WPA2">WPA2</option>
</$select>
SSID: <$edit-text tiddler="$:/config/plugins/tiddlywiki/qrcode/wifi/ssid" tag="input" default=""/>
Password: <$edit-text tiddler="$:/config/plugins/tiddlywiki/qrcode/wifi/password" tag="input" default=""/>
! Here is your QR code
<$macrocall $name="image" network={{$:/config/plugins/tiddlywiki/qrcode/wifi/network}} encryption={{$:/config/plugins/tiddlywiki/qrcode/wifi/encryption}} ssid={{$:/config/plugins/tiddlywiki/qrcode/wifi/ssid}} password={{$:/config/plugins/tiddlywiki/qrcode/wifi/password}}/>