User:Twz/sandbox

From JumbaWiki

Jump to: navigation, search
new ideas for Help:Editing (using current page as a base)

This page is not a complete reference, but explains most of the things you will need to know when editing JumbaWiki pages.

Contents

General

Anyone can edit the pages of the wiki. To edit a page, click on the "edit" link at the top of the page. This will bring you to a page with a text box containing the wikitext: the editable source code from which the server produces the webpage.

All changes are logged and archived, so if you make a mistake, you (or anyone else) will be able to fix it.


After adding to or changing the wikitext it is useful to press "Show preview", which produces the corresponding webpage in your browser but does not make it publicly available yet (not until you press "Save page"). Errors in formatting, links, tables, etc., are often much easier to discover from the rendered page than from the raw wikitext.

If you are not satisfied you can make more changes and preview the page as many times as necessary. Then write a short edit summary in the small text field below the edit-box and when finished press "Save page".

You may find it more convenient to copy and paste the text first into your favorite text editor, edit and spell check it there, and then paste it back into your web browser to preview. This way, you can also keep a local backup copy of the pages you have edited. It also allows you to make changes offline, but before you submit your changes, please make sure nobody else has edited the page since you saved your local copy (by checking the page history), otherwise you may accidentally revert someone else's edits. If someone has edited it since you copied the page, you'll have to merge their edits into your new version (you can find their specific edits by using the "diff" feature of the page history). These issues are handled automatically by the MediaWiki software if you edit the page in your web browser.

Minor edits

When editing a page, you have, the option of flagging the edit as a "minor edit". This feature is important, because users can choose to hide minor edits in their view of the Recent Changes page, to keep the volume of edits down to a manageable level.

When to use this is somewhat a matter of personal preference. The rule of thumb is that an edit of a page that consists of spelling corrections, formatting, and minor rearranging of text should be flagged as a "minor edit". A major edit is basically something that makes the entry worth revisiting for somebody who wants to watch the article rather closely. So any "real" change, even if it is a single word, should be flagged as a "major edit".

Talk pages

When adding comments to a Talk page, use --~~~~ to add your username and the current date and time. You can also do this by clicking the Image:Edit_signature.png icon above the edit area.

The wiki markup

Sections and headings

A section heading is created by typing a line with equals signs ( = ) like this:

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

Do not use a single equals like this: =Heading= because this heading level is reserved for the page title.

Paragraphs

A single
newline
has no
effect on the
layout.

But an empty line
starts a new paragraph.

A single newline has no effect on the layout.

But an empty line starts a new paragraph.


<p> disables this paragraphing until </p> or the end of the section

Indenting

Indenting is primarily for displayed material, but is also used for discussion on Talk pages.

:A colon at the start indents a line or paragraph.
::More colons will indent further
A colon at the start indents a line or paragraph.
More colons will indent further

Fixed width font

IF a line of plain text starts with a space THEN
  it will be formatted exactly
    as typed;
  in a fixed-width font;
  lines won't wrap;
ENDIF
this is useful for:
  * pasting preformatted text;
  * algorithm descriptions;
  * program source code
  * ASCII art;

WARNING If you make it too wide, you force the whole page to be wide and hence less readable. Never start ordinary lines with spaces.


Character formatting

Bold and italics are achieved with double and triple apostrophes (this is not the same as double quotes)

For '''bold text''' use triple apostrophes.

For bold text use triple apostrophes.

For ''italic text'' use double apostrophes.

For italic text use double apostrophes.

For '''''bold and italic text''''' use five apostrophes!

For bold and italic text use five apostrophes!

A typewriter font is done <tt>like this</tt>.

A typewriter font is done like this.

You can use <small>small text</small> for captions.

You can use small text for captions.

You can <strike>strike out deleted material</strike>

You can strike out deleted material

and <u>underline new material</u>.

and underline new material.

You can also use subscript: x<sub>2</sub> and superscript: x<sup>2</sup>

You can also use subscript: x2 and superscript: x2

Lists

Bulleted lists are made by starting each line with a star. More stars means deeper levels.

* Main list item 1
** sub-item 1-1
** sub-item 1-2
*Main list item 2
**another sub-item
***and make a sub-sub item like this
  • Main list item 1
    • sub-item 1-1
    • sub-item 1-2
  • Main list item 2
    • another sub-item
      • and make a sub-sub item like this


Numbered lists are made by starting each line with a hash. More hashes means deeper levels.

# List item
## this is a sub-item
## another sub-item
# Another item
  1. List item
    1. this is a sub-item
    2. another sub-item
  2. Another item
* You can even do '''mixed lists'''
*# and nest them
*#* like this<br>and break lines<br>inside lists
  • You can even do mixed lists
    1. and nest them
      • like this
        and break lines
        inside lists


Definition lists are made by starting the line with a semi-colon, and separating the term and definition with a colon.

; Definition one : this is the first definition
; Another term : and this is the second definition
Definition one 
this is the first definition
Another term 
and this is the second definition

Horizontal dividing lines

A horizontal dividing line: above
----
and below. 

A horizontal dividing line: above


and below.

However, in most cases a section header is more useful. The horizontal dividing line should only be used if what follows is logically part of the same section; otherwise that part would be hidden in the table of contents.


Links, URLs

Links to other wiki pages are done with double square brackets

Please start at the [[Main Page]].

Please start at the Main Page.

The first letter of target is automatically capitalized. Internally spaces are automatically represented as underscores (typing an underscore has the same effect as typing a space, but is not recommended). Thus the link above is to http://wiki.jumba.com.au/wiki/Main_Page, which is the page with the name "Main Page".

You can also link to a specific section within a page, e.g.

[[Help:Editing#Minor_edits]]

Help:Editing#Minor_edits


You can make the link label different from the link target by using a pipe character ( | )

Please refer to the [[Main Page|home page]] or if you prefer, [[Main Page|here]].

Please refer to the home page or if you prefer, here.

External links will be created automatically, 
eg http://www.google.com.au. Or you can change the 
link label by enclosing the URL in square brackets 
and adding a space before the desired label like 
this: [http://www.google.com.au Try Google!]

External links will be created automatically, eg http://www.google.com.au. Or you can change the link label by enclosing the URL in square brackets and adding a space before the desired label like this: Try Google!


Suppressing wiki markup

Use <nowiki> to suppress interpretation of wiki markup, but interpret character references and remove newlines and multiple spaces:

Use <pre> to suppress interpretation of wiki markup and keep newlines and multiple spaces, and get typewriter font, but interpret character references:

arrow      →

''italics''
[[link]]

Use leading space on each line to keep newlines and multiple spaces, and get typewriter font:

arrow      →
italics
link

Use typewriter font:

arrow →

italics link

Adding invisible comments

Sometimes it is useful to leave comments in a page for future editors. Comments are not shown on the page normally, but will only be visible when editing the page.

<!-- comment here -->


Categorizing

Usually added at bottom of page code. Use:

[[category:name of category]]

For multiple categories, list each category separately:

[[category:name of category1]] [category:name of category 2]] ...

Speedy Deletion

If you want to propose a page for speedy deletion, insert {{Delete|reason}} at the top of the page. This places the page in Category:Deleteme.

Criteria for speedy deletion could include:

  1. No meaningful content or history. This includes test edits (eg, "asdf" or "Can I really create a page here?"), obvious nonsense, corrupt images, legitimately blanked pages, or simple vandalism.
  2. Reposted content previously deleted according to this deletion policy, unless it was significantly rewritten in a manner that calls into question the deletion reason.
  3. Redundant: A page that is identical to another, with no significant differences between them.
  4. Copyright violation: Content which is a clear and proven copyright violation, or content previously deleted as a copyright violation.
  5. Author's request: Deletion per request of the author, if the author is the only significant contributor, the request is not in bad faith, and the content is not to the benefit of the Wiki.
  6. Pages clearly irrelevant to Jumba, unless they have some other redeeming value acceptable to Jumba.

See also

External Links

Personal tools
Australian Photographs | Unique Views of Reality | Daedalus