Extension talk:ConditionalTemplate

From mediawiki.org
Latest comment: 16 years ago by Eep in topic Examples?

How to use this extension?[edit]

I'm just about to try this extension, but unfortunately I don't know how to use it. :(

I've got a template (name: Image Template), and a page (name: Image Template Test), and depending on eg. the group the current user is belonging to I want to call the template with different parameters.

When using

{{#template:Image Template | 1 = 1
| Image Name=Hallo.jpg
}}

[[Category:Sandbox]]

I receive

Conditional Template

The database did not find the text of a page that it should have found, named "Image Template".

This is usually caused by following an outdated diff or history link to a page that has been deleted.

If this is not the case, you may have found a bug in the software. Please report this to an administrator, making note of the URL.

Category: Sandbox

88.116.231.210 11:03, 20 June 2007 (UTC)Reply

I have added a new version of the extension + some usage notes. [user:jldupont] 13:34, 20 June 2007 (UTC)Reply

Examples?[edit]

Please add some example usage of this extension. -Eep² 05:30, 26 July 2007 (UTC)Reply