= DWiki Global Variables As TemplateSyntax discusses, one can use global variables in templates in several ways. However, it helps to know what global variables are available. Thus this incomplete listing. First, all ConfigurationFile directives are available as global variables. Then, during request processing DWiki internally defines a number of additional global variables: |_. _page_ | The current page's full path, in DWiki form. | _abspage_ | The current page's full path, including a '_/_' at the start. | _pagename_ | The page's name; its last path component. | _pagetype_ | The type of the page, usually 'file' or 'dir'. | _view-format_ | The current view being processed. | _relname_ | In blog::blog, the name of the current page relative to the blog directory being displayed. | _basepage_ | In a VirtualDirectory context, the full path of the non-virtual directory. Otherwise the same as _page_. | _:wikitext:title_ | After a piece of wikitext has been rendered (more exactly after any wikitext template renderer has been used, including _wikitext:cache_), this is its title if any exists. The 'title' of a piece of wikitext is the text of the header that is at the start of the text, if there is one. This is the same as the _wikitext:title_ template renderer but may be more convenient to use. | _:wikitext:title:nohtml_ | This is the title but without any HTML markup, making it useful for eg a