mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
|
title: $:/plugins/tiddlywiki/qrcode/MakeWifiQR
|
||
|
tags: $:/tags/MakeQR
|
||
|
caption: Wifi
|
||
|
|
||
|
\define wifi-url()
|
||
|
WIFI:wifi name;T:WPA;S:SSID;P:password;
|
||
|
\end
|
||
|
|
||
|
\define image(network,encryption,ssid,password)
|
||
|
<img src=<<makeqr text:"""WIFI:$network$;T:$encryption$;S:$ssid$;P:$password$;""" size:"350">>/>
|
||
|
\end
|
||
|
|
||
|
! Enter the details of your wifi network
|
||
|
|
||
|
Name of wifi network: <$edit-text tiddler="$:/config/plugins/tiddlywiki/qrcode/wifi/network" tag="input" default=""/>
|
||
|
|
||
|
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}}/>
|