On Wed, Sep 22, 2010 at 00:27, orschiro@googlemail.com wrote: ...
Nonetheless I'd be interested what you mean by comparing the namespace with a parser function. Is there any documentation on this topic?
Platonides is talking about the {{#ifeq ...}} parser function (which is provided by the ParserFunctions extension –http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions).
Here's a brief example using #ifeq that would include a page called SiteNotice if the current page isn't part of a namespace.
{{#ifeq: {{NAMESPACE}} | | {{SiteNotice}} | <!-- This page is part of a namespace. Do nothing --> }}
For a list of additional magic words (like {{NAMESPACE}} that are available, read:
http://www.mediawiki.org/wiki/Help:Magic_words