Last modified: 2006-07-04 17:53:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2643, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 643 - Allow conditional inclusion of templates
Allow conditional inclusion of templates
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.wikia.com/wiki/index.php/F...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-10-04 21:27 UTC by Angela
Modified: 2006-07-04 17:53 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Angela 2004-10-04 21:27:12 UTC
The forums on Wikia have 11 subpages. I want to include these in one page so
people can see an overview. Each forum has a template with a menu. I don't want
this menu to appear 11 times (or 5) on the overview page. I only want it to
appear once on the overview.

I want to be able to do something like this in [[Template:Forums]]:

#include if cur_title != Forums/overview
*[[Policy]]
*[[Editing]]
*[[Keywords]]...
Comment 1 Rob Church 2006-07-04 17:53:44 UTC
You should be able to use parser functions to do this.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links