Help:Editing

From Sandbox

Contents

Official Guides

Sandbox page

Take a look at the Sandbox page. This is a page to play with. Don't be shy and edit something. Nothing bad could happen.

Press edit at the top of the page.

Change something, then click preview.

If you are satisfied with your changes press save or cancel otherwise.

Starting a new page

To start a new Sandbox Wiki page you can

  • Add the new internal inexistent link (using double square brackets)

to an existing page adding for example

This is where I'm including my [[new page]].

and you'll see a red link indicating that the page has not yet been created. Follow the link and the creation page form is presented, where you can edit and the save contents.

  • Creating a new page directly using the new URL
http://sandbox.codtech.com/index.php/New_page

Personal page

You have a personal page (perhaps not yet created) User:<you-user-name>. This is a very good place to start editing pages. To do this, enter the URL (replacing <your-user-name> by your actual user name)

http://sandbox.codtech.com/index.php/User:<your-user-name>

Assigning a category

To ease wiki navegation add one or more categories to a page adding the tags

[[Category:My category]]

Word formatting

Emphasize

This are three different levels of emphasis

''Emphasize'', '''strongly''', '''''very strongly'''''

The result is

Emphasize, strongly, very strongly

HTML tags

You can use the following HTML tags.

Typewriter

Typewriter font, equaly spaced, for technical terms

<tt>monospace text</tt>

The result is

monospace text

Small text

<small>small text</small>

The result is

small text

Strikethru text

To delete something but leaving it there to be noticed that it was removed

<s>strike out deleted material</s>

The result is

strike out deleted material

Headings

same as headlines/chapters/sections First, second, third and fourth level headings

=New section=
==Subsection== 
===Sub-subsection=== 
====Sub-sub-subsection====

A first level heading is for example the "Word formatting" heading on this page.

The "Emphasize" heading on this page is an example of a 2nd level heading.

The "Table of contents" box you see at the top of this page will appear automatically when you have used 4 or more headings.

First level headings are shown as x, 2nd level as x.x and so on.

Internal linking

When you are writing the text of a page or article, you can include

[[Main Page]]

and it will become a link to the Main Page of this Wiki.

[[TCO Reduction|Advantages]]

Becomes a link to the TCO Reduction page but Advantages is written instead like this: Advantages

A postfix added right after a normal internal link is added to the written word in the final document, but links to the page without the postfix.

[[Boot Loader]]s

Becomes: Boot Loaders

Linking to a headline at a wiki page

You can link to a headline on another wiki page, that is instead of the normal link that leaves you at the top of the target page you can jump to a headline that is in the middle of the target page.

[[Sandbox Wiki tour#Interact and communicate]]

Becomes at link to the headline "Interact and communicate" at the "Sandbox Wiki tour" page like this (try it): Sandbox Wiki tour#Interact and communicate

You can also replace the text written on the final page.

[[Sandbox Wiki tour#Interact and communicate|Communicate]]

Becomes: Communicate

External linking

Remember to start with "http://".

Bare URL

http://codtech.com/

Becomes http://codtech.com/

Named link

[http://codtech.com COD Technologies Ltd.]

Becomes COD Technologies Ltd.

Image linking to a page

 {{clickpic|TITLE OF TARGET PAGE|PATH OF IMAGE FILE}}

Becomes 48px-COD-Color-247x300.gif

PATH OF IMAGE FILE is the real path of the image, not the Mediawiki name. So, render the image of the desired size with

 [[Image:image.png|48px]]

preview the page containing the image and selecting Left-button->Properties see the full path and copy it.

For instructions a further details see http://meta.wikimedia.org/wiki/User:CharlesC/Template_for_navigational_images_on_Mediawiki_websites.

Lists

Bullet lists

You can make bullet lists with "*". * First level list object ** Second level list object *** Third level list object * Another first level list object

  • First level list object
    • Second level list object
      • Third level list object
  • Another first level list object

Numbered lists

You can make numbered lists with "#". # First level list object ## Second level list object ### Third level list object # Another first level list object

  1. First level list object
    1. Second level list object
      1. Third level list object
  2. Another first level list object

Mixed lists

You can even make mixed lists like this.

  • You can even do mixed lists
    1. and nest them
      • like this
  • You can even do mixed lists
    1. and nest them
      • like this

Definition lists

When you need to a list of terms and its definitions this construction can be used

;item1 
: the item1's definition

;item2
: the item2's definition
item1
the item1's definition
item2
the item2's definition

Images

You can insert images using the syntax:

[[Image:filename|options|caption text]]

The last item added will always be considered the caption text.

Stans alone image

[[Image:Desktop.jpg]]

Image:Desktop.jpg

Stans alone image with alt-text

You add "|caption text" after the image link. This is the text most browsers will show when you hover over the image with the mouse.

[[Image:Desktop.jpg|Fractal]]

Fractal

Image options

Fractal
Enlarge
Fractal
thumbnail, thumb
Generates an automatically resized thumbnail image (either reduced or enlarged).
Caption text is displayed directly underneath.
An "enlarge" icon is added.
If you do not specify where the image should be place it will be places to the right.
Example to the right (in this example the image is reduced because it is large):
[[Image:Desktop.jpg|thumb|Fractal]]
right
Makes the image right-aligned.
left
Same as above, but left aligned.
center
Same as above, but centered.
none
The image will be rendered inline, even if the thumbnail-option is set.
Local Desktop
Local Desktop
frame
The image will have a frame, regardless of whether it is a thumb, and the caption text will be included as a visible caption.
Example to the right:
sizepx 
Renders a version of the image that's [size] pixels wide (e.g. '128px').
Height is computed to keep the aspect ratio (i.e. the shape of the image).
This allows both size reduction and enlargement.
Combining options
You can combine the options as you like. Example (as you see below resizing is often not very good):
[[Image:Desktop.jpg|128px|left|none|Fractal]]
Fractal
[[Image:Desktop.jpg|none|frame|Fractal]]
Fractal
Fractal

Tables

{| border="1" cellpadding="5" cellspacing="3"
| 1 || 2
|-
| 3 || 4
|-
| 5 || 6
|}
1 2
3 4
5 6

See also #Templates.

See also WikiMedia table guide

Discussions

In discussion pages always use ~~~~ to precede you comments with your username and date. Dtmilano 13:31, 5 Jul 2005 (PDT) And indent your comment using : Dtmilano 13:31, 5 Jul 2005 (PDT)

This is my comment

Templates

Some templates have been made available to simplify some common editing cases.

Important

To include a message that should outstand as IMPORTANT you should use

{{Important|This is my important message}}

Important

Image:Important.png This is my important message

Table Header

Table header could be declared

{{Table Header|My Header}}
My Header 1 My Header 2
1 2

Pretty table

Pretty table can also be combined with Table header and they give a more pleasent look.

<nowiki<{| {{prettytable}}</nowiki>
My Header 1 My Header 2
1 2
Image:Tip.png Image:Important.png

Under Construction

Warns that a page is not finished yet.

{{Under construction}}

 Under construction

Additional hints

You can avoid that the wiki system proccessing the text (to avoid unwanted formatting) by putting

<nowiki></nowiki>

around the text you want to parse directly.

Getting help

If you need help to work with the wiki you can do the following:

  • Send an email to wikimaster _at_ codtect _do_ com