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.5
edited by Hunter
on 2026/10/21 10:15
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -873,6 +873,16 @@
873 873  
874 874  4. Enter the title and content, 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:wechatTempalteConten.png]]
886 +
887 +
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