1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-29 21:49:07 +00:00

Updated templateN to new syntax

- Explicitly mentioned the use of [[ and ]]
This commit is contained in:
Nelis Oostens 2015-07-27 08:08:50 +00:00
parent d07c9368cb
commit b5e4056b9d

View File

@ -3707,12 +3707,12 @@
whitespace. Also simple nesting of templates is
possible this way.</para>
<para>Here are some examples of template
definitions:</para>
definitions, note they are placed between [[ ... ]] instead of ' ... ':</para>
<simplelist>
<member>template0 $\1\2</member>
<member>template1 \1: ${fs_used \2} / ${fs_size
\2}</member>
<member>template2 \1 \2</member>
<member>template0 = [[$\1\2]]</member>
<member>template1 = [[\1: ${fs_used \2} / ${fs_size
\2}]]</member>
<member>template2 = [[\1 \2]]</member>
</simplelist>
<para>The following list shows sample usage of the
templates defined above, with the equivalent syntax