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.

Difference between revisions of "Lylat Wiki:Template Standards"

From Lylat Wiki, your source on Star Fox information. By Fans, for Fans.
Jump to navigationJump to search
updated
(fixed template link)
(updated)
 
(3 intermediate revisions by the same user not shown)
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: {{t|auto-cat2}}. With this template, a page automatically becomes a member of two templates with each one serving as the others sortkey. For more on this, see [[Help:Categories]].
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 Example of template categories you may consider putting your template under:  
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}}{{user-take-a-look|tacopill}}</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.  
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 102: Line 102:
=== Maintenance ===
=== Maintenance ===


{{Usage Pages}}
 
[[Category:Template Pages|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
8,161

edits

Navigation menu