Star Trek Online Wiki
Advertisement

This is the base category for templates. All templates available in STOWiki should be categorized in a sub-category here, to make them easier to find for people that might also need them!

Please try an appropriate category for templates, in preference to this category.

There are also sub pages that get pulled into another page just like templates, but are not really useful to anyone else; perhaps they've just been split off to make it easier to edit. Sub pages like that do not have to be categorized as templates at all.

To put a template in Category:Templates:

  • Use <noinclude>[[Category:Templates]]</noinclude>. The "<noinclude>" tags are necessary because without them, you end up categorizing all pages using the template in the template category!
  • If your template is meant to be used in-line, make sure that there are no line feeds after </noinclude>. If there are, it may work in flowing text, but it will misbehave in bullet lists. You can have as many line feeds as you like between the noinclude tags though:
<noinclude>[[Category:Templates]]
</noinclude>Text or graphic that is meant to be used in-line
  • Alternatively, if the template has a documentation subpage, you can place the category there inside <includeonly> tags instead. For example:

...Template documentation...
<includeonly>
[[Category:Templates]]

</includeonly>
This is often the preferable approach, because:
  1. There's no danger of accidentally categorizing pages that use the template. Template documentation is automatically wrapped in <noinclude> tags for display on the template page.
  2. Although templates may have to be protected to prevent vandalism or disruption to the wiki (since a template coding error can affect every article that uses the template), template documentation is far less often subject to edit restrictions. Even protected templates can be categorized by any user who's able to edit the template documentation.
  • Remember that a template can be put in multiple categories if it belongs to them all!
  • Or, if this is not quite the right category, go back to Category:Templates and try to find a better suited subcategory.

Subcategories

This category has the following 20 subcategories, out of 20 total.

Pages in category "Templates"

The following 123 pages are in this category, out of 123 total.

Advertisement