The following pages are available in this directory: %{listdir}
while the the _dir/dirempty.tmpl_ template is: >This directory is empty.
The _%{listdir}_ in dirconts.tmpl makes the entire template empty if the _listdir_ renderer returns nothing (ie, the directory is empty). Then the _#{|..|..}_ sees that the first template is empty and goes on to use diremtpy.tmpl. If there are files in the directory, the dirconts.tmpl template has content and dirempty.tmpl does not get used. == Available renders For convenience (mostly [[People/ChrisSiebenmann]]'s), here is the canonical list of all available renderers. This is generated by the code itself, so is is guaranteed to be 100% accurate (at least for names; your mileage may vary for documentation): {{DocAll:renderers}} For quite a lot of these, the best real documentation is to see how they are used in the default DWiki template set. (Which is unfortunately a bit of a dark twisted maze at the moment.) Renderers normally produce things about or from the current page, although some of them (for use in peculiar context) operate on other things. Unless otherwise specified, all renderers are silent if they can't produce something appropriate, which is handy for use in _%{....}_ or just in general.