Difference between revisions of "Help:Editing"

From BaseX Documentation
Jump to navigation Jump to search
Line 4: Line 4:
 
Here are the most frequently used types of wiki markup. If you need more help see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples Wikitext examples].
 
Here are the most frequently used types of wiki markup. If you need more help see [http://meta.wikimedia.org/wiki/Help:Wikitext_examples Wikitext examples].
  
<br clear="right" />
 
 
{| class="wikitable"
 
{| class="wikitable"
! style="width: 50%" | What it looks like
+
! width="50%" | What it looks like
! style="width: 50%" | What you type
+
! width="50%" | What you type
 
|-
 
|-
|
+
|You can ''italicize text'' by putting 2 apostrophes
You can ''italicize text'' by putting 2  
+
on each side. 3 apostrophes will embolden '''the text'''.  
apostrophes on each side.  
+
|<pre>You can ''italicize text'' by putting 2 apostrophes
 
+
on each side. 3 apostrophes will embolden '''the text'''.</pre>
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''''.)
 
|<pre>
 
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''''.)
 
</pre>
 
 
|-
 
|-
|
+
|You should "sign" your comments on talk pages:
You should "sign" your comments on talk pages:
 
 
* Three tildes give your user name: [[User:Example|Example]] ([[User talk:Example|talk]])<br />
 
* Three tildes give your user name: [[User:Example|Example]] ([[User talk:Example|talk]])<br />
 
* Four tildes give your user name plus date/time: [[User:Example|Example]] ([[User talk:Example|talk]]) 07:46, 27 November 2005 (UTC)
 
* Four tildes give your user name plus date/time: [[User:Example|Example]] ([[User talk:Example|talk]]) 07:46, 27 November 2005 (UTC)
 
* Five tildes give the date/time alone: 07:46, 27 November 2005 (UTC)
 
* Five tildes give the date/time alone: 07:46, 27 November 2005 (UTC)
|<pre>
+
|<pre>You should "sign" your comments on talk pages:
You should "sign" your comments  
+
* Three tildes give your user name: ~~~
on talk pages:
+
* Four tildes give your user name plus date/time: ~~~~
* Three tildes give your user
+
* Five tildes give the date/time alone: ~~~~~</pre>
name: ~~~
 
* Four tildes give your user  
 
name plus date/time: ~~~~
 
* Five tildes give the  
 
date/time alone: ~~~~~
 
</pre>
 
 
|-
 
|-
 
| colspan=2 |
 
| colspan=2 |
Line 73: Line 46:
 
== Section headings ==
 
== Section headings ==
  
''Headings'' organize your writing into sections.
+
''Headings'' organize your writing into
The Wiki software can automatically generate
+
sections. The Wiki software can automatically
a table of contents from them.
+
generate a table of contents from them.
  
 
=== Subsection ===
 
=== Subsection ===
Line 160: Line 133:
 
Here's a link to the [[Main Page]].
 
Here's a link to the [[Main Page]].
  
But be careful - capitalization counts!   
+
But be careful capitalization counts!   
|<pre>
+
If a linked page does not exist yet, you can create it by clicking on the link.
Here's a link to the [[Main Page]].
+
|<pre>Here's a link to the [[Main Page]].
</pre>
+
 
|-
+
But be careful – capitalization counts! 
|
+
If a linked page does not exist yet,
[[Intentionally permanent red link]] is a page that doesn't exist
+
you can create it by clicking on the link.
yet. You could create it by clicking on the link.
 
|<pre>
 
[[Intentionally permanent red link]] is
 
a page that doesn't exist
 
yet. You could create it by  
 
clicking on the link.
 
 
</pre>
 
</pre>
 
|-
 
|-
Line 180: Line 147:
 
* [[Help:Editing#Links]].
 
* [[Help:Editing#Links]].
  
If multiple sections have the same title, add
+
|<pre>You can link to a page section by its title:
a number. [[#Links 1]] goes to the
 
third section named "Links".
 
|<pre>
 
 
 
You can link to a page section by its title:
 
  
* [[Help:Editing#Links]].
+
* [[Help:Editing#Links]].</pre>
 
 
If multiple sections have the same title, add
 
a number. [[#Example section 3]] goes to the
 
third section named "Example section".
 
</pre>
 
 
|}
 
|}

Revision as of 22:44, 28 January 2011

The examples on this page are copied from WikiMedia – Help:Editing.

Most frequent Wiki markup explained

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

What it looks like What you type
You can italicize text by putting 2 apostrophes

on each side. 3 apostrophes will embolden the text.

You can ''italicize text'' by putting 2 apostrophes
on each side. 3 apostrophes will embolden '''the text'''.
You should "sign" your comments on talk pages:
  • Three tildes give your user name: Example (talk)
  • Four tildes give your user name plus date/time: Example (talk) 07:46, 27 November 2005 (UTC)
  • Five tildes give the date/time alone: 07:46, 27 November 2005 (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

What it looks like What you type
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.

Lists and indents

What it looks like What you type
  • Unordered lists are easy to do:
    • Start every line with a star.
      • More stars indicate a deeper level.
  • Previous item continues.
    • 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.
** 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
  2. Previous item continues

A new line marks the end of the list.

  1. New numbering starts with 1.
# ''Numbered lists'' are:
## Very organized
## Easy to follow
# Previous item continues
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.

Links

What it looks like What you type

Here's a link to the Main Page.

But be careful – capitalization counts! If a linked page does not exist yet, you can create it by clicking on the link.

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

But be careful – capitalization counts!  
If a linked page does not exist yet,
you can create it by clicking on the link.

You can link to a page section by placing a "#" before its title:

You can link to a page section by its title:

* [[Help:Editing#Links]].