Difference between revisions of "Editing Basics - Mediawiki"

From Help Wiki
(Most frequent wiki markup explained)
Line 1: Line 1:
 +
__NOTOC__
 
==Most frequent wiki markup explained==
 
==Most frequent wiki markup explained==
 
<!--It is intended to be brief, or as an overview. Otherwise why we separate the materials into different pages? Thus it's best NOT to add new materials or expand here. Add more examples or expand in other areas like Wikitext examples. Thanks!-->
 
<!--It is intended to be brief, or as an overview. Otherwise why we separate the materials into different pages? Thus it's best NOT to add new materials or expand here. Add more examples or expand in other areas like Wikitext examples. Thanks!-->
Line 87: Line 88:
 
|
 
|
 
* ''Unordered lists'' are easy to do:
 
* ''Unordered lists'' are easy to do:
** Start every line with a star.
 
*** More stars indicate a deeper level.
 
*: Previous item continues.
 
** A newline
 
* in a list 
 
marks the end of the list.
 
*Of course you can start again.
 
|<pre>
 
* ''Unordered lists'' are easy to do:
 
** Start every line with a star.
 
*** More stars indicate a deeper level.
 
*: Previous item continues.
 
** A newline
 
* in a list 
 
marks the end of the list.
 
* Of course you can start again.
 
</pre>
 
|-
 
|
 
# ''Numbered lists'' are:
 
## Very organized
 
## Easy to follow
 
A newline marks the end of the list.
 
# New numbering starts with 1.
 
 
|<pre>
 
# ''Numbered lists'' are also good:
 
## Very organized
 
## Easy to follow
 
A newline marks the end of the list.
 
# New numbering starts with 1.
 
</pre>
 
|-
 
|
 
Here's a link to a page named [[Official position]].
 
You can even say [[official position]]s
 
and the link will show up correctly.
 
|<pre>
 
Here's a link to a page named
 
[[Official position]].
 
You can even say
 
[[official position]]s
 
and the link will show up
 
correctly.
 
</pre>
 
|-
 
|
 
[[The weather in Moscow]] is a page that doesn't exist
 
yet. You could create it by clicking on the link.
 
|<pre>
 
[[The weather in Moscow]] is
 
a page that doesn't exist
 
yet. You could create it by
 
clicking on the link.
 
</pre>
 
|-
 
|
 
You can link to a page section by its title:
 
 
*[[List of cities by country#Morocco]].
 
 
If multiple sections have the same title, add
 
a number. [[#Example section 3]] goes to the
 
third section named "Example section".
 
|<pre>
 
 
You can link to a page section by its title:
 
 
*[[List of cities by country#Morocco]].
 
 
If multiple sections have the same title, add
 
a number. [[#Example section 3]] goes to the
 
third section named "Example section".
 
|<pre>
 
You can link to a page
 
section by its title:
 
 
*[[List of cities by
 
country#Morocco]].
 
 
If multiple sections have
 
the same title, add
 
a number.
 
[[#Example section 3]] goes
 
to the
 
third section named
 
"Example section".
 
</pre>
 
|}
 
 
 
[[category:Mediawiki]]
 
 
== 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.
 
</pre>
 
|- id="lists"
 
|
 
* ''Unordered [[Help:List|list]]s'' are easy to do:
 
 
** Start every line with a star.
 
** Start every line with a star.
 
*** More stars indicate a deeper level.
 
*** More stars indicate a deeper level.

Revision as of 09:42, 8 October 2007

Most frequent wiki markup explained

Here are the 6 most frequently used wiki markups. For more help see:

Mediawiki Editor Help

What it looks like What you type

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

3 apostrophes will bold the text.

5 apostrophes will bold 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 bold '''the text'''. 

5 apostrophes will bold 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 gives your user name: Karl Wick
- Four tildes give your user name plus date/time: Karl Wick 07:46, 27 November 2005 (UTC)
- Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC)

You should "sign" your comments 
on talk pages: <br>
- Three tildes gives your user
name: ~~~ <br>
- Four tildes give your user 
name plus date/time: ~~~~ <br>
- Five tildes gives the 
date/time alone: ~~~~~ <br>
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.
    • A newline
  • 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.
** A newline
* 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 newline marks the end of the list.

  1. New numbering starts with 1.
# ''Numbered lists'' are also good:
## Very organized
## Easy to follow
A newline marks the end of the list.
# New numbering starts with 1.

Here's a link to a page named Official position. You can even say official positions and the link will show up correctly.

Here's a link to a page named
 [[Official position]].
You can even say 
[[official position]]s
and the link will show up 
correctly.

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

[[The weather in Moscow]] 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:

*[[List of cities by country#Morocco]].

If multiple sections have the same title, add
a number. [[#Example section 3]] goes to the
third section named "Example section".
|<pre>
You can link to a page 
section by its title:

*[[List of cities by 
country#Morocco]].

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