Template talk:User

From Game Editor

Jump to: navigation, search

Makslane, or maybe anyone else: I want to use {{#if ... }} or something like that to make a kind of checking in templates. For example, if a screenshot exists, it show it but if it doesn't exists, it will write "no screenshot". How can I do that?

--asmodeus


I've no idea :-(

--Makslane


maybe anybody else know how to do it

--asmodeus 17:01, 4 September 2008 (UTC)


Maybe this can help you, makslane: http://www.mediawiki.org/wiki/Extension:ConditionalTemplate. I don't know what you can do with wiki as the admin, so maybe you know what to do.

--asmodeus 11:48, 5 September 2008 (UTC)


The conditional template extension was installed!

--Makslane


That's great! But I can't figure out how to use it correctly now :(

--asmodeus 13:58, 6 September 2008 (UTC)


Maybe you have to install some additional things. I copied this from another wiki:

{{#if:{{{NAME|}}}|{{{NAME}}}|{{PAGENAME}}

I think, in case of the argument "NAME=" exists, this should be displayed there, otherwise the title of the site. It shows this: {{#if:|{{{NAME}}}|User

--asmodeus 14:04, 6 September 2008 (UTC)


This is the problem of install some extensions.

--Makslane