Page MenuHomePhabricator

Allow conditional inclusion of templates
Closed, ResolvedPublic

Description

Author: beesley

Description:
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]]...


Version: unspecified
Severity: enhancement
URL: http://www.wikia.com/wiki/index.php/Forums/Overview

Details

Reference
bz643

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:56 PM
bzimport set Reference to bz643.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

You should be able to use parser functions to do this.

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:20 AM