Help:Editing

From Peckham Vision
Revision as of 10:53, 5 May 2008 by Admin (talk | contribs)
Jump to navigation Jump to search

Wiki syntax

Headers

To add a header type the text of the header and then place some equal signs (=) around the text depending on what level header you want.

Header level 2 ==Header level 2==
Header level 3 ===Header level 3===
Header level 4 ====Header level 4====

Level 2 headers are the top-most headers on a page (they have the line beneath them), then below that come level 4 headers, etc. The contents page at the top is automatically generated once more than 3 headers are on a page.

Etc.

Links

Internal links

To link to another page just surround the text that you want to use as the link with two square brackets ([[PAGE_TITLE]]). This will then link to the page that is the same text as the text between the brackets. The names of the page are the bit after http://www.peckhamvision.org/wiki/ (so the Cross-River Tram page is at http://www.peckhamvision.org/wiki/Cross-River Tram). The names of pages are case-sensitive, so that 'Visions for Peckham' is a different page to 'Visions for peckham' E.g. to link to the Cross-River Tram page just insert [[Cross-River Tram]].

To link to a page which is different to the text to be shown use [[PAGE_TITLE|TEXT]]. E.g. to link to the Cross-River Tram page but just displaying the text 'click here' enter the following text: [[Cross-River Tram|click here]].

External links

To link to an external page just put in the web address, it will be linked to automatically. eg. http://www.peckhamvision.org (http://www.peckhamvision.org, the http:// is required). To display different text to the address of the external site (eg the site's name) leave a space after the address and enter the text to be shown, surrounding the whole lot in a single set of brackets: Peckham Vision ([http://www.peckhamvision.org/ Peckham Vision]). External links have a small image after them, showing a box with coming out of arrow it.

To link to an email address it is the same as linking to an external link, but you need to put mailto: before the email address:

[mailto:info@peckhamvision.org info@peckhamvision.org] or [mailto:info@peckhamvision.org Email us] comes out as info@peckhamvision.org or Email us.

Images

See also Wikipedia's help article on images

To add an image add [[Image:IMAGENAME]] where you want it to be. Images can be aligned to the left, right, or centre. They should be resized to be easy to see, 300px is a good size. They can either be displayed on their own, or can have a border put around them (this is usually best), to do this add 'thumb' to the syntax. Thumb borders also display text which should be entered too. For example: [[Image:Rye Lane Station 1880.jpg|thumb|right|250px|The station as it was c. 1880.]] generates:

The station as it was c. 1880.


It doesn't matter which order the stuff (thumb, width, alignment etc) is in. The most important ones are size, and align. Align uses either left, right or center (not US spelling).

You can also put images in galleries if you need to show several images together. This is done by putting the images between <gallery> tags:

<gallery>
Image:Rye Lane Station 1880.jpg|Rye Lane Station
Image:Rye Lane Station 1880.jpg|Rye Lane Station
</gallery>

creates

Templates

In some cases some templates exist which are better then using other images inputs. Use two curly brackets around the name of the template to use it. Use the Template:Download template for download links and the Template:PicBox for images - see the template pages for usage. Template:Seealso is added to the top of all pages to link to pages that might be relevant. Template:Main is designed to go underneath a heading which has another page, such as on the Visions for Peckham page, for the Rye Lane Station heading.

Text formatting

  • To make text bold surround it with three apostrophes '''. Eg '''Bold''' = Bold
  • To make text italicised surround it with two apostrophes ''. Eg. ''Italics'' = Italics

To make a line indented start the line with a colon (:). Eg:

This line is indented
:This line is indented

To make a line a small header, which does not show in the contents bos put a semi-colon (;) at the beginning of the line. Eg:

This is a small header
;This is a small header

To create a list put each item on a new row starting with a star (*). Eg:

  • List item 1
  • List item 2
  • List item 3
*List item 1
*List item 2
*List item 3

To create a list subitem just add two stars or three, or four etc. Eg.

  • List item 1
    • Sublist item 1
    • Sublist item 2
  • List item 2
*List item 1
**Sublist item 1
**Sublist item 2
*List item 2


To create a numbered list use hashes (#) instead of starts (*). Eg.

  1. List item 1
  2. List item 2
  3. List item 3
#List item 1
#List item 2
#List item 3

Tables

See also Wikipedia's help article on tables

Tables allow you to arrange text and images in rows and columns. The syntax for tables is:

{| border="1"
|-
|Top left
|Top right
|-
|Bottom left
|Bottom right
|}

This would create a table like this (tables by default do not have borders, so the border="1" is needed to show up the cells, normally this isn't wanted, so can be left out):

Top left Top right
Bottom left Bottom right
  • The {| starts a new table and the |} closes it.
  • |- starts a new row
  • | starts a new cell in that row

For more table syntax, such as table headers, formatting within tables, etc see Wikipedias help article on tables (PV uses the same software). Not all things mentioned on the Wikipedia article are available here (eg sortable tables).