Help:Wiki syntax

From Wiki4Games
Jump to: navigation, search
This page is based on (or is a copy of) metawikipedia:Help:Editing

Here are the most frequently used types of wiki markup. If you need more help see Wikitext examples.

Contents

Daily-use syntax


What it looks like What you type

You can italicize text by putting 2 apostrophes on each side.

3 apostrophes will embolden the text.

5 apostrophes will embolden and italicize the text.

(4 apostrophes don't do anything special -- there's just 'one left over'.)

You can ''italicize text'' by putting 2 
apostrophes on each side. 

3 apostrophes will embolden '''the text'''. 

5 apostrophes will embolden and italicize 
'''''the text'''''.

(4 apostrophes don't do anything
special -- there's just ''''one left
over''''.)

You should "sign" your comments on talk pages:

  • Three tildes give your user name: Patheticcockroach (talk)
  • Four tildes give your user name plus date/time: Patheticcockroach (talk) 15:55, 27 March 2008 (UTC)
  • Five tildes give the date/time alone: 15:55, 27 March 2008 (UTC)
You should "sign" your comments 
on talk pages:
* Three tildes give your user
name: ~~~
* Four tildes give your user 
name plus date/time: ~~~~
* Five tildes give the 
date/time alone: ~~~~~
Section headings

Headings organize your writing into sections. The Wiki software can automatically generate a table of contents from them.

Subsection

Using more equals signs creates a subsection.

A smaller subsection

Don't skip levels, like from two to four equals signs.

Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title.

== Section headings ==

''Headings'' organize your writing into sections.
The Wiki software can automatically generate
a table of contents from them.

=== Subsection ===

Using more equals signs creates a subsection.

==== A smaller subsection ====
Don't skip levels, 
like from two to four equals signs.

Start with 2 equals signs not 1 
because 1 creates H1 tags
which should be reserved for page title.
  • Unordered lists are easy to do:
    • Start every line with a star.
      • More stars indicate a deeper level.
    Previous item continues.
    • Another item

A new line in a list marks the end of the list.

  • Of course you can start again.
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
*: Previous item continues.
** Another item
A new line in a list marks the end of the list.
* Of course you can start again.
  1. Numbered lists are:
    1. Very organized
    2. Easy to follow

A new line marks the end of the list.

  1. New numbering starts with 1.
# ''Numbered lists'' are:
## Very organized
## Easy to follow
A new line marks the end of the list.
# New numbering starts with 1.
A colon (:) indents a line or paragraph.

A newline starts a new paragraph.
Often used for discussion on talk pages.

We use 1 colon to indent once.
We use 2 colons to indent twice.
3 colons to indent 3 times, and so on.
: A colon (:) indents a line or paragraph.
A newline starts a new paragraph. <br>
Often used for discussion on talk pages.
: We use 1 colon to indent once.
:: We use 2 colons to indent twice.
::: 3 colons to indent 3 times, and so on.


Here's a link to the Main Page.

But be careful - capitalization counts!

Here's a link to the [[Main Page]].

The weather in London is a page that doesn't exist yet. You could create it by clicking on the link.

[[The weather in London]] is 
a page that doesn't exist
yet. You could create it by 
clicking on the link.

You can link to a page section by its title:

If multiple sections have the same title, add a number. #Example section 3 goes to the third section named "Example section".

You can link to a page section by its title:

* [[Postal 2: A Week In Paradise#Final cheats]].

If multiple sections have the same title, add
a number. [[#Example section 3]] goes to the
third section named "Example section".

Tables

{| class="wikitable"
! Title1 !! Title2 !! Title3
|-
| Line1 content1 || Line1 content2 || Line1 content3
|-
| Line2 content1 || Line2 content2 || Line2 content3
|}

Will output:

Title1 Title2 Title3
Line1 content1 Line1 content2 Line1 content3
Line2 content1 Line2 content2 Line2 content3
Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox