Category:Templates: Difference between revisions
expanding explanation of use, categorization
(creating this category, subcategories welcome) |
(expanding explanation of use, categorization) |
||
Line 1: | Line 1: | ||
These are all available templates for use in the Kingdom Hearts Wiki. No special permission is needed to create a template; simply make one you feel useful. Don't forget to share it with others so it can be used across the wiki! | These are all available templates for use in the Kingdom Hearts Wiki. No special permission is needed to create a template; simply make one you feel will be useful. Don't forget to share it with others so it can be used across the wiki! | ||
When you create a new template, add <nowiki>"<noinclude>[[Category:Templates]]</noinclude>" to it to categorize it with other templates. You may add additional categories if needed, of course. </nowiki> | |||
When editing templates that already exist, take care to edit in a way that is sure to benefit the template, and make sure your edits reflect some sort of consensus. If high-use templates are subjected to heavy vandalism, they may be protected. | When editing templates that already exist, take care to edit in a way that is sure to benefit the template, and make sure your edits reflect some sort of consensus. If high-use templates are subjected to heavy vandalism, they may be protected. | ||
===Using templates=== | |||
Including templates in a page is easy. Just put the name of the template in two pairs of braces, like so: <nowiki>{{templatename}}</nowiki>. To link to a template, use <nowiki>{{tname|templatename}}</nowiki>. For example: {{tname|infobox}}. | |||
===Categorizing=== | |||
When [[Special:Categories|categorizing]] templates, use <nowiki><noinclude> tags around the category/categories, or else every page the template is used on will have those categories. </nowiki> |