Difference between revisions of "Editing Basics - Mediawiki"
(New page: ==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 mater...) |
(→Most frequent wiki markup explained) |
||
Line 54: | Line 54: | ||
''Headings'' organize your writing into sections. | ''Headings'' organize your writing into sections. | ||
The Wiki software can automatically generate | The Wiki software can automatically generate | ||
− | a [[ | + | a [[Table of Contents - Mediawiki|table of contents]] from them. |
<div style="font-size:132%;font-weight:bold;">Subsection</div> | <div style="font-size:132%;font-weight:bold;">Subsection</div> | ||
Line 65: | Line 65: | ||
Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. | Start with 2 equals signs not 1 because 1 creates H1 tags which should be reserved for page title. | ||
|<pre> | |<pre> | ||
+ | == 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 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 == | == Section headings == | ||
Revision as of 13:00, 20 July 2007
Contents
Most frequent wiki markup explained
Here are the 6 most frequently used wiki markups. For more help see:
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: |
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. |
marks the end of the list.
|
* ''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. |
A newline marks the end of the list.
|
# ''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". |
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.
|- id="lists" |
- Unordered lists are easy to do:
- Start every line with a star.
- More stars indicate a deeper level.
- Previous item continues.
- A newline
- Start every line with a star.
- 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.
|- |
- Numbered lists are:
- Very organized
- Easy to follow
A newline marks the end of the list.
- 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".
|}