Help:Wiki Structure

From STOwiki

Jump to: navigation, search

Wiki Structure will introduce categories and templates. Categories and templates are used to give a uniform appearance and organization to a wiki.


Contents


Categories

A category page automatically lists, in alphabetical order, pages and sub-categories that belong to it.


NEED: Good example of a category page with articles and sub-categories


To add a page to a category, place a link to the category. The link can be placed anywhere, however, please place them at the bottom of the page for convenience.


The example below adds this page to the category "Help".
Code:

[[Category:Stowiki Help]]

You can see the result by scrolling down to the bottom of the page, where you will a box that contain the words "Categories: Stowiki Help". Click on Stowiki Help and you will be brought to the categories page for STOwiki Help.


A category page does not exist until it is created. Several articles might belong to a category even though the category page has not been created.


The indexing of articles and sub-categories is automatic, you just need to write a few words about the category.


Sub-Categories

Eg:

  • Ships - Main Category
    • Federation - Sub-Category
    • Klingon - Sub-Category


To make the "Federation" category a subcategory of "Ships," add a link to the "Ships" category on the "Federation" category page.


Eg:

  • Ships - Separate Category
  • Federation - Separate Category


Add [[Category:Ship]] to Federation Page


  • Ships - Category
    • Federation - Sub-Category


Linking to a Category Page

To make a link to a category page, add a colon before the word category.

Code: [[:Category:Stowiki Help]]
Result: Category:Stowiki Help


Templates

Most templates are pre-formatted messages that you can place on relevant Wiki pages. Maintenance Templates contains many common templates. A list of templates can be found at List of Templates


We are going to use the help section you saw on the Main Page as an example.


Code:

 {{help}} 
Result:


Some templates such as the Main article template requires parameters to be passed in.


Syntax:

 {{TemplateName|Parameter1|Parameter2|...}}

Code:

 {{Main|List of Templates}} 

Result:

Main article: List of Templates


A list of the templates available for use on STOwiki can be found here: List of Templates.


Some of the most common templates are used by the categories Stubs and Maintenance.


Stubs

Let's start with a definition for stubs:
From Common Terms
Stubs are articles that does not yet cover enough information to be considered as a completed article.


Stubs are basically infant articles. They're just waiting for knowledgeable users to come along and nurse them into adulthood.


Place {{stubs}} on a page to let people know that the article needs some tender loving care! :P

For a list of stub articles, please see Category:Stub.

Maintenance

Maintenance templates are used for various purposes. Mainly, they are used to pass on a message for editors.


They can be used to inform other users of your actions:

  • Inuse - article is being majorly edited, please refrain from editing!


They can also be used to pass a message on to potential editors:

  • Technical Attention - articles that need users who have knowledge on the subject
  • Editorial Attention - articles that just need good editors who can clean up the article (grammar, code, organization, etc.)
  • CatNeeded - article need to be categorized


Only sysop users will have reason to use the following:

  • Protected - page protected until dispute on talk page is solved
  • vprotected - page protected to keep vandals away
Personal tools