Style Guide: Difference between revisions

From CATUG wiki
Jump to navigation Jump to search
(First draft covering formatting, headings, TOC, dates and categories)
 
m (→‎Categories: explain more)
Line 33: Line 33:


==Categories==
==Categories==
New pages are added into relevant categories by including the category codes at the end of the page. This one has <nowiki>[[Category:CMUG]]</nowiki> at the end of the page.  
New pages are added into one or more relevant categories by including the category codes at the end of the page. This one has <nowiki>[[Category:CMUG]]</nowiki>. It doesn't display that code on the page, but linka to the categories appear below the end of the article. This gives readers another way to navigate between similar articles.  




[[Category:CMUG]]
[[Category:CMUG]]

Revision as of 19:07, 4 March 2010


This page gives guidance to editors to achieve a consistent look and feel for this website.

How to do formatting

For a cheat sheet that summarises the main ways to do formatting, see the Wikipedia page WP:CHEAT as this Wiki uses the same software.

Headings

The title for the page should be entered at the top, enclosed like this: {{title|Style Guide for this wiki}} .

This is different from Wikipedia and means that the title can be different from the name of the page. For instance, the title of this page is longer, to add clarity. However, so that the indexing does not confuse readers, it should be similar and start with the same word(s).

Section headings should be enclosed by double == characters.

Where relevant, the following standard headings should appear at the end of the page, in this sequence:

  • Credits
  • See also
  • External links

Sub-sections

To create sub-sections, use more = characters, e.g. the heading above this line has three = signs at each end.

Table of contents

If there are four or more headings, a Table of Contents will appear automatically at the top. Use the code __TOC__ at the end of the first section to make it appear there. If a page is so short that it doesn't need a table of contents, use __NOTOC__ to suppress the automatic one.

Dates

Dates should be written in one of these patterns:

  • Mar 4, 2010
  • March 4, 2010

Do not use only numbers, as 3/4/10 means March 4th in the US but 3rd April in the UK.

Categories

New pages are added into one or more relevant categories by including the category codes at the end of the page. This one has [[Category:CMUG]]. It doesn't display that code on the page, but linka to the categories appear below the end of the article. This gives readers another way to navigate between similar articles.