aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2018-04-06 13:17:23 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2018-04-06 13:17:23 -0400
commit21b9f1bfe216450db5c1844d5f70d73de2bfe1d1 (patch)
tree05586b894e508fab04480f0f2d71a74bc9392faf /README.md
parent90a4f1acb38340590a72345da1bc70f87b8f1efa (diff)
downloadlibctemplates-21b9f1bfe216450db5c1844d5f70d73de2bfe1d1.tar.gz
libctemplates-21b9f1bfe216450db5c1844d5f70d73de2bfe1d1.tar.bz2
libctemplates-21b9f1bfe216450db5c1844d5f70d73de2bfe1d1.zip
Added "if to check for existance" to readme.
Added documentation that explains how to use TMPL_IF and TMPL_ELSEIF to check for a variable's existance.
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index c9f46ab..f23ad85 100644
--- a/README.md
+++ b/README.md
@@ -114,7 +114,7 @@ Prints the variable named "variable\_name" in it's place, if no variable named "
Branching statements, checks if a variable is equal to a constant value.
-Checks if the variable "variable\_name" contains the string "check\_value". There is currently no way to check if two variables are equal. Elseif and Else clauses are optional. All `TMPL_IF` statements must be closed with `TMPL_END`.
+Checks if the variable "variable\_name" contains the string "check\_value". There is currently no way to check if two variables are equal. Elseif and Else clauses are optional. All `TMPL_IF` statements must be closed with `TMPL_END`. You can use `TMPL_IF` and `TMPL_ELSEIF` to check for a variable's existance by not specifying a `value` parameter.
<TMPL_LOOP name="loop_name">
: