Alexis Moinet wrote:
{{ #ifeq: {{PAGENAME}} | Main Page | <todo if
equal> | <to do if not
equal> }}
Does anyone know about a variable for Main Page (something like
{{MAINPAGE}}) ?
There is [[MediaWiki:Mainpage]] (it is used in the default
[[MediaWiki:Sidebar]] for example), the contents of which can be
inserted into a page or into your #ifeq parameter with
{{MediaWiki:Mainpage}}. So:
{{ #ifeq: {{MediaWiki:Mainpage}} | Main Page | <todo if equal> | <to do
if not equal> }}
I think... forgive me if I've mixed something up...
--
Roger Chrisman :-)
http://Wikigogy.org <-- to share lesson plans