Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以在同上占位符中使用变量吗?例如
[!Ditto? &tpl=`TPL-jc` &display=$myVar]
代替
[!Ditto? &tpl=`TPL-jc` &display=`10`]
您可以在同上占位符内使用另一个元素,例如
[!Ditto? &tpl=`TPL-jc` &display=`[+myVar+]`]
(即 myVar 作为占位符)
[!Ditto? &tpl=`TPL-jc` &display=`[myVar]`]
(即 myVar 作为 Snippet 输出您想要的值)
[!Ditto? &tpl=`TPL-jc` &display=`[*myVar*]`]
(即 myVar 作为模板变量)