Help:Contents
From KM4DevWiki
For an exhaustive set of wiki editing help see Wikipedia's Editing Page
Contents |
Editing a Wiki Page
Template:H:h This Editing Overview is meant as a quick reference, with some "getting started" help. It has a lot of wikitext examples. You may want to keep this page open in a separate browser window for reference while you edit. Each of the topics covered here is covered somewhere else in more detail. Please look in the box on the right for the topic you are interested in.
Editing Help:Starting a new page
Editing Basics
- Start editing
- To start editing a MediaWiki page, click on the "Edit this page" (or just "edit") link at one of its edges. This will bring you to the edit page: a page with a text box containing the wikitext: the editable source code from which the server produces the webpage. If you just want to experiment, please do so in the sandbox, not here.
- Summarize your changes
- You should write a short edit summary in the small field below the edit-box. You may use shorthand to describe your changes, as described in the legend.
- Preview before saving
- When you have finished, press preview to see how your changes will look -- before you make them permanent. Repeat the edit/preview process until you are satisfied, then click "Save" and your changes will be immediately applied to the article.
Organizing your writing -- sections, paragraphs, lists and lines
| What it looks like | What you type |
|---|---|
| ;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.
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. |
|
When there is a need for separating a block of text the blockquote command will indent both margins when needed instead of the left margin only as the colon does. This is useful for (as the name says) inserting blocks of quoted (and cited) text. |
<blockquote> The '''blockquote''' command will indent both margins when needed instead of the left margin only as the colon does. </blockquote> |
| <center>Centered text.</center> |
| A horizontal dividing line:
this is above it... ...and this is below it. If you don't use a section header, you don't get a TOC entry. | A horizontal dividing line: this is above it... ---- ...and this is below it. |
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 -- Help: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). |
You can also italicize/etc. links: e.g., Wikipedia. | ''[[Wikipedia]]'' |
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:Link|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: ~~~~ : Five tildes gives the date/time alone: ~~~~~ |
|
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]] |
Text formatting -- controlling how it looks
| What it looks like | What you type |
|---|---|
|
Emphasize (italics), strongly (bold), very strongly (bold italics). (These are double and triple apostrophes, not double quotes.) Note: this can also be applied to links (e.g., Wikipedia). |
''Emphasize'', '''strongly''', '''''very strongly'''''. ''[[Wikipedia]]'' |
|
You can also write italic and bold. This is useful in mathematical formulas where you need specific font styles rather than emphasis.
(The difference between these two methods is not very important for graphical browsers, so most people ignore it). But it may make a big difference for the visually impaired ;-) |
You can also write <i>italic</i> and <b>bold</b>. This is useful in mathematical formulas where you need specific font styles rather than emphasis. :<b>F</b> = <i>m</i><b>a</b> |
|
You can also write in small caps. If the wiki has the templates, this can Template:Bsmbe much simpler to writeTemplate:Esm. |
You can also write
<span style="font-variant:small-caps">
in small caps</span>.
If the wiki has the templates, this can
{{bsm}}be much simpler to write{{esm}}.
|
| A typewriter font, sometimes used for
technical terms and |
A typewriter font, sometimes used for <tt>technical terms</tt> and <code>computer code</code>.
|
| You can use small text for captions. | You can use <small>small text</small> for captions. |
| You can and underline new material. You can also mark
|
You can <strike>strike out deleted material</strike> and <u>underline new material</u>. You can also mark <del>deleted material</del> and <ins>inserted material</ins> using logical markup rather than visual markup. |
| Subscript: x2 Superscript: x2 or x² Most browsers have an easier time formatting lines with ² than with <sup>2</sup>
buy xanax
ε0 =
8.85 × 10−12
C² / J m.
|
Subscript: x<sub>2</sub> Superscript: x<sup>2</sup> or x² ε<sub>0</sub> = 8.85 × 10<sup>−12</sup> C² / J m. 1 [[hectare]] = [[1 E4 m²]] |
