Template guidelines
From Wikia Templates
Contents |
As templates can often be fairly complex and depend on various external factors, this page outlines some guidelines for inclusion on Wikia Templates.
[edit] Rules
[edit] Code
- Templates should be self contained, and avoid calling other templates (unless absolutely necessary).
- Templates which include CSS calls in their design should mention so. Generally it's best avoided, unless the CSS classes exist as standard.
- Use images sparingly.
[edit] Usage
- Templates should have usage and modification instructions.
- Templates should aim to be easy to read and understand even without usage instructions.
[edit] Inputs
- Don't try and make the most extensible template ever: don't make everything a variable for the user to provide. e.g. alignment of boxes: just pick an alignment and hard-code it, or make it the default choice.
[edit] Layout
For details about how to layout the template pages, see Template layout.
[edit] See also
- Template repository on MediaWiki.org
