TSSwiki:Editing

From TSSwiki

Jump to: navigation, search

Contents

Creation of sections

Sections are created by creating their headers, as below:

==Section==

===Subsection===

====Sub-subsection====

Please do not use only one equals sign on a side (=text here=); this causes a title the size of the page name; which is taken care of automatically.


Putting an item in a category

A page in any namespace can be put in a category by adding a category tag to the page (by convention, at the end of the page), e.g.:

[[Category:Category name]]


Wikilinks

A wikilink or internal link links a page to another page within the same project. These links are in the form [[page name|link name]], where the link name is optional. For example, [[Main Page]] becomes Main Page, and [[Main Page|index]] becomes index. Links with parameters (the link name) are said to be "piped" because of the pipe symbol used ('|').

External links

External links use absolute URLs to link directly to any webpage. These links have the associated CSS class "external". External links are in the form [http://www.example.org link name] (resulting in link name), with the link name separated from the URL by a space. Links without link names will be numbered: [http://www.example.org] becomes [1]. Links with no square brackets will be displayed in their entirety: http://www.example.org .

Section linking

Links in the form #anchor_name will link to any anchor named "anchor_name" on the page. This may be either a heading named "anchor_name", or an arbitrary position. #top is a reserved name that links to the top of a page.

Lists

How to do Lists

Embedding internal images

In brief, the syntax for displaying an image is:

[[Image:{name}|{type}|{location}|{size}|{caption}]]

Only [[Image:{name}]] is required. Most images should use [[Image:{name}|thumb|Example image caption]]. The other details are optional and can be placed in any order.


Type 
'thumb' / 'thumbnail' or 'frame'. Causes image to be displayed with specific formatting (see below).
Location 
'right', 'left', 'center' or 'none'. Determines placement of the image on the page.
Size 
{width}px (e.g. 50px), scales the image to the given width, keeping its aspect ratio.
Caption 
Any element which cannot be identified as one of the above is assumed to be caption text.


Only images proper can be automatically presented, sound is not automatically played.

[[image:firefox.gif|firefox]] givesfirefox

[[image:firefox.gif|50px|firefox]] gives firefox

[[image:firefox.gif|50px|firefox]] gives
firefox
firefox
Personal tools