Difference between revisions of "Help:Contents"
(→Organizing your writing -- sections, paragraphs, lists and lines) |
(spambot fix) |
||
(9 intermediate revisions by 9 users not shown) | |||
Line 48: | Line 48: | ||
− | + | == Organizing your writing -- sections, paragraphs, lists and lines == | |
+ | <table border="1" cellpadding="2" cellspacing="0"> | ||
+ | <tr> | ||
+ | <th>What it looks like</th> | ||
+ | <th>What you type</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | ;Sections and subsections | ||
+ | Start sections with header lines | ||
+ | |||
+ | Note: Single equal signs give the highest level heading, like the page title; usually projects have the convention not to use them. | ||
+ | |||
+ | <!-- This is the original | ||
+ | = DO NOT USE THIS = | ||
+ | == New section == | ||
+ | === Subsection === | ||
+ | ==== Sub-subsection ==== | ||
+ | --> | ||
+ | |||
+ | <!-- next set | ||
+ | <h1> DO NOT USE THIS </h1> | ||
+ | <h2> New section </h2> | ||
+ | <h3> Subsection </h3> | ||
+ | <h4> Sub-subsection </h4> | ||
+ | --> | ||
+ | |||
+ | <!-- This code prevents confusion in the section editing feature--> | ||
+ | <b><font style="font-size:120%"> New section </font></b> | ||
+ | |||
+ | <b><font style="font-size:110%"> Subsection</font></b> | ||
+ | |||
+ | <b><font style="font-size:100%"> Sub-subsection</font></b> | ||
+ | |||
+ | </td> | ||
+ | <td><pre><nowiki> | ||
+ | |||
+ | == New section == | ||
+ | |||
+ | === Subsection === | ||
+ | |||
+ | ==== Sub-subsection ==== | ||
+ | </nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | ;[[en:newline|Newline]]: | ||
+ | |||
+ | A single | ||
+ | newline | ||
+ | has no | ||
+ | effect on the | ||
+ | layout. | ||
+ | |||
+ | But an empty line | ||
+ | starts a new paragraph, | ||
+ | or ends a list or indented part. | ||
+ | (<nowiki><p></nowiki> disables this paragraphing until <nowiki></p></nowiki> or the end of the section) | ||
+ | |||
+ | (in Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines) | ||
+ | |||
+ | You can make the wikitext more readable by putting in newlines. | ||
+ | You might find this causes future problems -- see [[w:Wikipedia:Don't use line breaks]] for details. | ||
+ | </td> | ||
+ | <td> | ||
+ | <pre><nowiki> | ||
+ | |||
+ | A single | ||
+ | newline | ||
+ | has no | ||
+ | effect on the | ||
+ | layout. | ||
+ | |||
+ | But an empty line | ||
+ | starts a new paragraph.</nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr valign="top"><td>You can break lines<br> | ||
+ | without starting a new paragraph.<p> | ||
+ | (The HTML tag <nowiki><br></nowiki> is sufficient. The system produces the XHTML code <nowiki><br /></nowiki>.)</p></td> | ||
+ | <td><pre><nowiki>You can break lines<br> | ||
+ | without starting a new paragraph.</nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | * ''Unordered [[Help:List|Lists]]'' are easy to do: | ||
+ | ** start every line with a star | ||
+ | *** more stars means deeper levels | ||
+ | *A newline | ||
+ | *in a list | ||
+ | marks the end of the list. | ||
+ | *Of course | ||
+ | *you can | ||
+ | *start again. | ||
+ | |||
+ | </td> | ||
+ | <td><pre><nowiki>* Unordered Lists are easy to do: | ||
+ | ** start every line with a star | ||
+ | *** more stars means deeper levels | ||
+ | *A newline | ||
+ | *in a list | ||
+ | marks the end of the list. | ||
+ | *Of course | ||
+ | *you can | ||
+ | *start again. | ||
+ | |||
+ | </nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | # Numbered lists are also good | ||
+ | ## very organized | ||
+ | ## easy to follow | ||
+ | #A newline | ||
+ | #in a list | ||
+ | marks the end of the list. | ||
+ | #New numbering starts | ||
+ | #with 1. | ||
+ | |||
+ | </td> | ||
+ | <td><pre><nowiki># Numbered lists are also good | ||
+ | ## very organized | ||
+ | ## easy to follow | ||
+ | #A newline | ||
+ | #in a list | ||
+ | marks the end of the list. | ||
+ | #New numbering starts | ||
+ | #with 1. | ||
+ | </nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | * You can even do mixed lists | ||
+ | *# and nest them | ||
+ | *#* or break lines<br>in lists | ||
+ | </td> | ||
+ | <td><pre><nowiki>* You can even do mixed lists | ||
+ | *# and nest them | ||
+ | *#* or break lines<br>in lists</nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | '''Definition list''' | ||
+ | ; word : definition of the word | ||
+ | ; longer phrase | ||
+ | : phrase defined | ||
+ | </td> | ||
+ | <td><pre><nowiki>; word : definition of the word | ||
+ | ; longer phrase | ||
+ | : phrase defined</nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | ;indenting | ||
+ | :A colon indents a line or paragraph. | ||
+ | A manual newline starts a new paragraph. | ||
+ | * This is often used for discussion on [[Help:Talk page|Talk page]]s. | ||
+ | </td> | ||
+ | <td><pre><nowiki>: A colon indents a line or paragraph. | ||
+ | A manual newline starts a new paragraph. | ||
+ | </nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | |||
+ | <tr valign="top"><td><center>Centered text.</center> | ||
+ | </td> | ||
+ | <td><pre><nowiki><center>Centered text.</center></nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>A [[en:horizontal dividing line|horizontal dividing line]]: above | ||
+ | ---- | ||
+ | and below. | ||
+ | |||
+ | If you don't use a section header, you don't get a TOC entry. | ||
+ | </td> | ||
+ | <td><pre><nowiki>A horizontal dividing line: above | ||
+ | ---- | ||
+ | and below. </nowiki></pre> | ||
+ | </td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <br><br> | ||
+ | |||
+ | |||
== Internal links == | == Internal links == |
Latest revision as of 01:03, 9 January 2011
Contents
Getting started
Editing Summary
NOTE :
Mediawiki Links
The way mediawiki works is by creating links and the links themselves point to a new blank page. the text in which you put into the link is also the page, and the title.
So when you are trying to create a new page, try to make a link/ title/ page unique.
Example under a heading which is DNE. You would have "servers", and then under another heading Stephen Street you have "servers", what would happen would that both links would point to the same page.
so for both links/ pages, it would be best to name them "DNE servers" and "Stephen Street servers".
please refer to the other link ontop of this page about Internal Links. on how to create a link and how to avoid this problem.
Files and Images
If you want to include images or files onto your page, click Upload Image in the Toolbox menu. Then link to that item using the link ((Image:Imagename.jpg)) where ) is a a square bracket ].
HTML
I have enabled mediawiki to accept html codes if you want to use it still.
just start it with the normal html code
< html >
and to end it use
< /html >
(no spacings)
Organizing your writing -- sections, paragraphs, lists and lines
What it looks like | What you type |
---|---|
Start sections with header lines Note: Single equal signs give the highest level heading, like the page title; usually projects have the convention not to use them.
New section Subsection Sub-subsection |
== New section == === Subsection === ==== Sub-subsection ==== |
A single newline has no effect on the layout. But an empty line starts a new paragraph, or ends a list or indented part. (<p> disables this paragraphing until </p> or the end of the section) (in Cologne Blue two newlines and a div tag give just one newline; in the order newline, div tag, newline, the result is two newlines) You can make the wikitext more readable by putting in newlines. You might find this causes future problems -- see w:Wikipedia:Don't use line breaks for details. |
A single newline has no effect on the layout. But an empty line starts a new paragraph. |
You can break lines without starting a new paragraph. (The HTML tag <br> is sufficient. The system produces the XHTML code <br />.) |
You can break lines<br> without starting a new paragraph. |
marks the end of the list.
|
* Unordered Lists are easy to do: ** start every line with a star *** more stars means deeper levels *A newline *in a list marks the end of the list. *Of course *you can *start again. |
marks the end of the list.
|
# Numbered lists are also good ## very organized ## easy to follow #A newline #in a list marks the end of the list. #New numbering starts #with 1. |
|
* You can even do mixed lists *# and nest them *#* or break lines<br>in lists |
Definition list
|
; word : definition of the word ; longer phrase : phrase defined |
A manual newline starts a new paragraph.
|
: A colon indents a line or paragraph. A manual newline starts a new paragraph. |
<center>Centered text.</center> |
|
A horizontal dividing line: above
and below. If you don't use a section header, you don't get a TOC entry. |
A horizontal dividing line: above ---- and below. |
Internal links
General notes:
- Enclose the target name in double square brackets -- "[[" and "]]"
- First letter of target name is automatically capitalized
- Spaces are represented as underscores (but don't do underscores yourself)
- Links to nonexistent pages are shown in red -- MediaWiki User's Guide: Starting a new page tells about creating the page.
- When the mouse cursor "hovers" over the link, you see a "hover box" containing...
What it looks like | What you type |
---|---|
Sue is reading the official position (or Official positions). |
Sue is reading the [[official position]] (or [[Official position]]s). |
A link to the page on another wiki (e.g. the same subject in another language)
|
*For more info see [[m:Help:Interwiki linking]]. *[[:fr:Wikipédia:Aide]]. |
If the section doesn't exist, the link goes to the top of the page. If there are multiple sections by the same name, link to specific ones by adding how many times that header has alreay appeared (e.g. if there are 3 sections entitled "Example header," and you wish to link to the third one, then use [[#Example section 3]]. For more info, see Help:Editing FAQ. |
*[[List of cities by country#Morocco]]. *[[List of cities by country#Sealand]]. |
Use a pipe "|" to create a link label: |
*[[Help:Links|About Links]] *[[List of cities by country#Morocco| Cities in Morocco]] |
"blank" pipes hide:
After you save, the server automatically fills in the link label. |
*In parentheses: [[kingdom (biology)|]]. *Namespace: [[Meta:Requests for adminship|]]. |
The weather in London is a page that doesn't exist yet.
|
[[The weather in London]] is a page that doesn't exist yet. |
You should "sign" your comments on talk pages: The server will fill in the link after you save. |
You should "sign" your comments on talk pages: : Your user name: ~~~ : Or your user name plus date/time: ~~~~ |
one article title to another with this special link. |
#REDIRECT [[United States]] |
|
ISBN 0123456789X RFC 123 |
To include links to non-image uploads such as sounds, use a "media" link.
|
[[media:Sg_mrob.ogg|Sound]] |
To include links to a Category page.
|
[[:Category:English documentation]] |
Use links for dates, so everyone can set their own display order. Use Special:Preferences to change your own date display setting. |
[[July 20]], [[1969]] , [[20 July]] [[1969]] and [[1969]]-[[07-20]]will all appear as 20 July-1969 if you set your date display preference to 1 January 2001. |
"What links here" and "Recent changes" can be linked as: |
[[Special:Whatlinkshere/ Help:Editing]] and [[Special:Recentchangeslinked/ Help:Editing]] |