Forum:SH Archive/Technical note: Suppressing template-provided categories

Forums &gt; Senate Hall &gt; 

It has been a long-standing problem that subpages of Template messages were added to all categories that the displayed templates dictated.

However, as a side-effect of the random choice tag (currently used on the Main Page to alternate between the "sky" and "water" styles), any categories that appear inside the options are stripped.

Therefore, to discard template-provided categories, one can use this syntax:

I changed Template messages/Maintenance as an example. Unfortunately, it can't be done within parameterized templates, as parameters between the tags are not substituted. So, we have to use  instead of just   for every template showcased.

I'd like to know if it's acceptable before I deploy Artoo to fix the other pages. - Sikon 17:10, 11 January 2007 (UTC)