8,161
edits
Welcome to the Lylat Wiki, all about the Star Fox series! If you'd like to help out, please take a look at our community portal.
(fix link) |
(updated) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{shortcuts | | {{shortcuts|LW:TS}} | ||
{{Standards}} | {{Standards}} | ||
{{draft-policy | {{draft-policy}} | ||
Templates are used to make it easier on a page to store information, as some of the information is stored elsewhere. Templates are used to make it easier on the editors, as to provide a common content and save time instead of placing the exact same content in different locations. Templates are also used as tools to help direct community involvement for the maintenance of an article. But what makes a "Good Template"? | Templates are used to make it easier on a page to store information, as some of the information is stored elsewhere. Templates are used to make it easier on the editors, as to provide a common content and save time instead of placing the exact same content in different locations. Templates are also used as tools to help direct community involvement for the maintenance of an article. But what makes a "Good Template"? | ||
Line 26: | Line 26: | ||
Which category does this template belong to? Will it play well with similar templates, sorting itself into place? | Which category does this template belong to? Will it play well with similar templates, sorting itself into place? | ||
Typically, one template will be a member of two templates, both of which are an [[LW:Area|area of the wiki]]. To help decide what the template should be sorted under, we've come up with the template: {{ | Typically, one template will be a member of two templates, both of which are an [[LW:Area|area of the wiki]]. To help decide what the template should be sorted under, we've come up with the template: {{t|cat}}. With this template, a page automatically becomes a member of up to five categories, each one serving as the others sortkey. For more information, see [[Help:Categories]]. | ||
Here are some | Here are some examples of template categories you may consider putting your template under: | ||
* [[:Category:Article Templates]] | * [[:Category:Article Templates]] | ||
Line 45: | Line 45: | ||
Each template should have some kind of documentation telling you how to use it. | Each template should have some kind of documentation telling you how to use it. | ||
In order to generate a documentation page, place <nowiki><noinclude>{{doc | In order to generate a documentation page, place <nowiki><noinclude>{{doc}}</noinclude></nowiki> at the very bottom of the template, and a <code>/doc</code> red link will show up when you save. Click this link to go to the documentation subpage. | ||
On the actual documentation page, we recommend you put the following: | On the actual documentation page, we recommend you put the following: | ||
Line 94: | Line 94: | ||
<noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude></pre> | <noinclude>[[Category:Documentation|{{PAGENAME}}]]</noinclude></pre> | ||
== Discussions == | == Discussions == | ||
Line 107: | Line 102: | ||
=== Maintenance === | === Maintenance === | ||
[[Category: | [[Category:Templates|{{PAGENAME}}]] |
edits