diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-05-09 00:31:49 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-05-09 00:31:49 +0000 |
commit | 127bceef5b4799e58cb068043e49ed16a3ec840d (patch) | |
tree | 0f1f82d37fb8fca14410578ed00892534ad2584c /doc/templates | |
parent | e1c54fef3da56ad9bb94fc7e187a56106a59f8cb (diff) | |
download | ikiwiki-127bceef5b4799e58cb068043e49ed16a3ec840d.tar ikiwiki-127bceef5b4799e58cb068043e49ed16a3ec840d.tar.gz |
* Add all=no option to conditional, can be used to form conditionals that do
not need to examine every page in the wiki.
* Use this to simplify the goodstuff detection in the plugin template.
Diffstat (limited to 'doc/templates')
-rw-r--r-- | doc/templates/plugin.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index cb67902ea..b8421fafb 100644 --- a/doc/templates/plugin.mdwn +++ b/doc/templates/plugin.mdwn @@ -3,7 +3,7 @@ Plugin: <TMPL_VAR name><br /> Author: <TMPL_VAR author><br /> Included in ikiwiki: [[if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]<br /> Enabled by default: <TMPL_IF core>yes<TMPL_ELSE>no</TMPL_IF><br /> -Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff) and glob(plugins/<TMPL_VAR name>) and !sourcepage(plugins/contrib/*)" then="""yes""" else="""no"""]]<br /> +Included in [[/plugins/goodstuff]]: [[if test="backlink(plugins/goodstuff)" all=no then="""yes""" else="""no"""]]<br /> Currently enabled: [[if test="enabled(<TMPL_VAR name>)" then="yes" else="no"]]<br /> </span> [[if test="sourcepage(plugins/contrib/*)" then="""[[meta title="<TMPL_VAR name> (third party plugin)"]]"""]] |