aboutsummaryrefslogtreecommitdiff
path: root/doc/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-05 21:08:41 -0400
committerJoey Hess <joey@kitenet.net>2010-05-05 21:10:40 -0400
commitf52f395437a946478da2a126015c05e3e0afdc1f (patch)
treef98f451642691cc9d6aef6a0a7e524347eb7c72e /doc/templates
parent11937595687df86aa93502d2e895f747a6262c4c (diff)
downloadikiwiki-f52f395437a946478da2a126015c05e3e0afdc1f.tar
ikiwiki-f52f395437a946478da2a126015c05e3e0afdc1f.tar.gz
consistently drop NAME= in templates
also add template syntax smoke test
Diffstat (limited to 'doc/templates')
-rw-r--r--doc/templates/gitbranch.mdwn2
-rw-r--r--doc/templates/note.mdwn2
-rw-r--r--doc/templates/plugin.mdwn2
-rw-r--r--doc/templates/popup.mdwn2
4 files changed, 4 insertions, 4 deletions
diff --git a/doc/templates/gitbranch.mdwn b/doc/templates/gitbranch.mdwn
index fcce925d9..962420940 100644
--- a/doc/templates/gitbranch.mdwn
+++ b/doc/templates/gitbranch.mdwn
@@ -3,7 +3,7 @@ Available in a [[!taglink /git]] repository.<br />
Branch: <TMPL_VAR branch><br />
Author: <TMPL_VAR author><br />
</span>
-<TMPL_UNLESS NAME="branch">
+<TMPL_UNLESS branch>
This template is used to create an infobox for a git branch. It uses
these parameters:
diff --git a/doc/templates/note.mdwn b/doc/templates/note.mdwn
index 4cc323c0e..9ef5ad942 100644
--- a/doc/templates/note.mdwn
+++ b/doc/templates/note.mdwn
@@ -1,7 +1,7 @@
<div class="notebox">
<TMPL_VAR text>
</div>
-<TMPL_UNLESS NAME="text">
+<TMPL_UNLESS text>
Use this template to insert a note into a page. The note will be styled to
float to the right of other text on the page. This template has one
parameter:
diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn
index c1d1974d6..322c49445 100644
--- a/doc/templates/plugin.mdwn
+++ b/doc/templates/plugin.mdwn
@@ -8,7 +8,7 @@ Currently enabled: [[!if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<
</span>
[[!if test="sourcepage(plugins/contrib/*)" then="""[[!meta title="<TMPL_VAR name> (third party plugin)"]]"""]]
<TMPL_IF core>[[!tag plugins/type/core]]</TMPL_IF>
-<TMPL_UNLESS NAME="name">
+<TMPL_UNLESS name>
This template is used to create an infobox for an ikiwiki plugin. It uses
these parameters:
<ul>
diff --git a/doc/templates/popup.mdwn b/doc/templates/popup.mdwn
index b355daa2e..92455eb21 100644
--- a/doc/templates/popup.mdwn
+++ b/doc/templates/popup.mdwn
@@ -1,4 +1,4 @@
-<TMPL_UNLESS NAME="mouseover">
+<TMPL_UNLESS mouseover>
Use this template to create a popup window that is displayed when the mouse
is over part of the page. This template has two parameters:
<ul>