Forum:Link color

How do you make it so that when a template is added to a page, all links to that page are a different color? Gamma Metroid 00:54, 28 April 2009 (UTC)


 * If i understand this correctly, you are hoping that the CSS file will know on wich page you added a perticular template ? That can't be.
 * Or, if you want links in the template to be differents, maybe because the background is dark or something, that could be done adding class="something" to the top most element in the template and putting the CSS rule in mediawiki:common.css — TulipVorlax 16:09, 28 April 2009 (UTC)


 * Javascript? Or, there are also extensions such as this one that does that. -- ko イsuru ( talk ) 16:29, 28 April 2009 (UTC)