Forum Moderators: coopster

Message Too Old, No Replies

mediawiki #if help

not working

         

PokeTech

5:11 pm on Jan 4, 2009 (gmt 0)

10+ Year Member



Well I recently installed wiki on my server and I've created a template thing for one of my tables. Example:

{{Gametable
¦name=Wii
}}

I wanted to use this:

{{ #if: {{{name¦}}} ¦ name is defined and non-empty ¦ name is undefined or empty}}

which I got from their site but it doesn't seem to be working. I assume there's a variable or something I have to set to true but I can't find it.

Wasn't sure which forum to post it in, but it uses PHP so...

Any help would be great!

[edited by: PokeTech at 5:12 pm (utc) on Jan. 4, 2009]

wheelie34

6:52 pm on Jan 5, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I run a wiki with mediawiki, probably a dumb question but I take it you HAVE created the tempalte page called 'Gametable'?

Sent you a sticky with a link