Editing – Help
Lou Montana (talk | contribs) m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ") |
Lou Montana (talk | contribs) m (Text replacement - " (={2,})([^ = ])(.*)([^ = ])(={2,}) * " to " $1 $2$3$4 $5 ") |
||
| Line 28: | Line 28: | ||
<pre><nowiki> | <pre><nowiki> | ||
== New section == | == New section == | ||
===Subsection=== | === Subsection === | ||
==== Sub-subsection ==== | ==== Sub-subsection ==== | ||
</nowiki></pre> | </nowiki></pre> | ||
Revision as of 19:37, 31 January 2021
Examples
| What it looks like | What you type |
|---|---|
|
Start your sections as follows: New section
Subsection
Sub-subsection
|
== New section == === Subsection === ==== Sub-subsection ==== |
|
A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the function diff (used internally to compare different versions of a page). But an empty line starts a new paragraph.
|
A single newline generally has no effect on the layout. These can be used to separate sentences within a paragraph. Some editors find that this aids editing and improves the function ''diff'' (used internally to compare different versions of a page). But an empty line starts a new paragraph. |
marks the end of a list item.
|
* It's easy to create a list: ** Start every line with a star. *** More stars means deeper levels. **** A newline in a list marks the end of a list item. * An empty line starts a new list. |
|
# Numbered lists are also good ## very organized ## easy to follow ### easier still |
|
; Definition list : list of definitions ; item : the item's definition ; another item : the other item's definition |
A empty line starts a new paragraph. |
: A colon indents a line or paragraph. A empty line starts a new paragraph. |
Links and URLs
| What it looks like | What you type |
|---|---|
|
A link to another article on the same Wiki: To display the content of variables, use the command format. |
To display the content of variables, use the command [[format]]. |
|
To use a different caption for the link enter the url first, then a vertical bar, and then the caption: To display the content of variables, use the format command. |
To display the content of variables, use the [[format|format command]]. |
|
Single square brackets indicate an external link. Note the use of a space (not a pipe) to separate the URL from the link text in the "named" version: Three ways to link to external (non-wiki) sources:
|
http://www.armedassault.com/ [http://www.armedassault.com/] [http://www.nupedia.com Nupedia] |
Images
Only images that have been uploaded to Wikipedia can be used. To upload images, use the upload page. You can find the uploaded image on the image list.
| What it looks like | What you type |
|---|---|
| A picture: | A picture: [[Image:Biki.png]] |
| Floating to the right side of the page and with a caption:
|
Floating to the right side of the page and with a caption: [[Image:Biki.png|frame|Bohemia Interactive Community]]
|
| Floating to the right side of the page without a caption: | Floating to the right side of the page ''without'' a caption: [[Image:Biki.png|right|Bohemia Interactive Community]] |
| A picture resized to 30 pixels... | A picture resized to 30 pixels... [[Image:Biki.png|30 px]] |
Character formatting
| What it looks like | What you type |
|---|---|
|
Emphasized text |
''Emphasized text'' '''Strong emphasis''' '''''Even stronger emphasis''''' |
|
A typewriter font for monospace text
or for computer code:
|
A typewriter font for <tt>monospace text</tt> or for computer code: <code>int main()</code> |
|
You can use small text for captions. |
You can use <small>small text</small> for captions. |
|
Better stay away from big text, unless it's within small text. |
Better stay away from <big>big text</big>, unless <small> it's <big>within</big> small</small> text. |
|
You can You can also mark
|
You can <s>strike out deleted material</s> and <u>underline new material</u>. You can also mark <del>deleted material</del> and <ins>inserted material</ins> using logical markup. For backwards compatibility better combine this potentially ignored new <del>logical</del> with the old <s><del>physical</del></s> markup. |
|
Suppressing interpretation of markup:
|
<nowiki>Link → (''to'')
the [[Wikipedia FAQ]]</nowiki>
|
|
Commenting page source:
|
<!-- comment here --> |
No or limited formatting - showing exactly what is being typed
A few different kinds of formatting will tell the Wiki to display things as you typed them - what you see, is what you get!
| What it looks like | What you type | |
|---|---|---|
| <nowiki> tags |
The nowiki tag ignores [[Wiki]] ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: → |
<nowiki> The nowiki tag ignores [[Wiki]] ''markup''. It reformats text by removing newlines and multiple spaces. It still interprets special characters: → </nowiki> |
| <pre> tags |
The pre tag ignores [[Wiki]] ''markup''. It also doesn't reformat text. It still interprets special characters: → |
<pre> The pre tag ignores [[Wiki]] ''markup''. It also doesn't reformat text. It still interprets special characters: → </pre> |
| Leading spaces |
Leading spaces are another way to preserve formatting. Putting a space at the beginning of each line stops the text from being reformatted. It still interprets Wiki markup and special characters: → |
Leading spaces are another way to preserve formatting. Putting a space at the beginning of each line stops the text from being reformatted. It still interprets [[Wiki]] ''markup'' and special characters: → |
