| This page is an archive. Please do not edit the contents of this page.
No reason for archiving given.
|
Streamlining Code
To all coders - can we please have some sort of policy, even informal between ourselves, about where code should go?
For example, this template has some code in itself, and some in MediaWiki:Common.css. Is there a reason that some of it has to be in the css, and some in the template?
(If I don't know what I'm talking about, and there's something I'm totally missing here, please tell me. Thanks.)
Jag 04:29, April 5, 2012 (UTC)
- Usually if the code's only going to be used once for one template, it would just go on the template, but if it's going to be used for multiple templates, it would go into a class and the templates would just be put into that class (that's what I thought anyway) NightblazeSaber(talk) 05:32, April 5, 2012 (UTC)
|