diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-21 12:32:31 +0100 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-21 12:32:31 +0100 |
commit | 47d179802d5f78365fa7077ae64de35f2892a1e4 (patch) | |
tree | 3015f658f1068847a555597783759c20a54c1e00 /doc/templates | |
parent | 121d0f34560ec49d259d5e9b19f4426bba08cf4c (diff) |
Migrate everything else via prefix_directives
This is a partial commit of:
egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition
prefix_directives
Diffstat (limited to 'doc/templates')
-rw-r--r-- | doc/templates/plugin.mdwn | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/templates/plugin.mdwn b/doc/templates/plugin.mdwn index d29e721a9..c1d1974d6 100644 --- a/doc/templates/plugin.mdwn +++ b/doc/templates/plugin.mdwn @@ -1,13 +1,13 @@ <span class="infobox"> Plugin: <TMPL_VAR name><br /> Author: <TMPL_VAR author><br /> -Included in ikiwiki: [[if test="sourcepage(plugins/contrib/*)" then="""no""" else="""yes"""]]<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)" all=no then="""yes""" else="""no"""]]<br /> -Currently enabled: [[if test="enabled(<TMPL_VAR name>)" 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)"]]"""]] -<TMPL_IF core>[[tag plugins/type/core]]</TMPL_IF> +[[!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"> This template is used to create an infobox for an ikiwiki plugin. It uses these parameters: |