Changes for page 05 Lua Script

Last modified by Hunter on 2026/10/21 11:55

From version 28.4
edited by Hunter
on 2026/10/21 10:08
Change comment: There is no comment for this version
To version 28.6
edited by Hunter
on 2026/10/21 10:21
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -871,8 +871,20 @@
871 871  (% style="text-align:center" %)
872 872  [[image:wechatTempalte.png]]
873 873  
874 -4. Enter the title and content, the content must follow this format: text: ~{~{text.DATA}}
874 +4. Enter the title and content, then click submission, the content must follow this format: text: ~{~{text.DATA}}
875 875  
876 -If
876 +For example, use Alarm: ~{~{Alarm.DATA}}. For multiple lines, format the content as follows:
877 877  
878 +{{code language="lua"}}
879 +Device: {{Device.DATA}}
880 +Alarm: {{Alarm.DATA}}
881 +Time: {{Time.DATA}}
882 +{{/code}}
883 +
884 +(% style="text-align:center" %)
885 +[[image:wechatTempalteConten2.png]]
886 +
887 +5. After the template is created,
888 +
889 +
878 878  [[Download link>>https://ftp.we-con.com.cn/Download/WIKI/PI%20HMI/Demo/Lua%20Script/WechatOfficialAccount.zip]]
wechatTempalteConten.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +46.9 KB
Content
wechatTempalteConten2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Hunter
Size
... ... @@ -1,0 +1,1 @@
1 +48.4 KB
Content