Editing – Help
m (Fixed typo) |
Lou Montana (talk | contribs) (Redirect to Bohemia_Interactive_Community:Formatting) Tag: New redirect |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
#REDIRECT [[Bohemia_Interactive_Community:Formatting]] | |||
===Examples=== | ===Examples=== | ||
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
Line 27: | Line 28: | ||
| | | | ||
<pre><nowiki> | <pre><nowiki> | ||
==New section== | == New section == | ||
===Subsection=== | === Subsection === | ||
====Sub-subsection==== | ==== Sub-subsection ==== | ||
</nowiki></pre> | </nowiki></pre> | ||
|- valign="top" | |- valign="top" | ||
Line 123: | Line 124: | ||
===Links and URLs=== | === Links and URLs === | ||
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
|- style="width=100%" | |- style="width=100%" | ||
Line 154: | Line 155: | ||
Three ways to link to external (non-wiki) sources: | Three ways to link to external (non-wiki) sources: | ||
# Bare URL: http://www.armedassault.com/ (bad style) | # Bare URL: http://www.armedassault.com/ (bad style) | ||
# Unnamed link: | # Unnamed link: {{Link|http://www.armedassault.com/}} (only used within article body for footnotes) | ||
# Named link: [http://www.nupedia.com Nupedia] | # Named link: [http://www.nupedia.com Nupedia] | ||
| | | | ||
Line 165: | Line 166: | ||
</nowiki></pre> | </nowiki></pre> | ||
<pre><nowiki> | <pre><nowiki> | ||
{{Link|http://www.armedassault.com/}} | |||
</nowiki></pre> | </nowiki></pre> | ||
<pre><nowiki> | <pre><nowiki> | ||
Line 172: | Line 173: | ||
|} | |} | ||
===Images=== | === Images === | ||
Only images that have been uploaded to Wikipedia can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]]. | Only images that have been uploaded to Wikipedia can be used. To upload images, use the [[Special:Upload|upload page]]. You can find the uploaded image on the [[Special:Imagelist|image list]]. | ||
Line 209: | Line 210: | ||
===Character formatting=== | === Character formatting === | ||
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
|- valign="top" | |- valign="top" | ||
Line 226: | Line 227: | ||
| | | | ||
A typewriter font for <tt>monospace text</tt> | A typewriter font for <tt>monospace text</tt> | ||
or for computer code: <code>int main()</code> | or for computer code: <code style="display: block">int main()</code> | ||
* For semantic reasons, using <code><code></code> where applicable is preferable to using <code><tt></code>. | * For semantic reasons, using <code style="display: block"><code></code> where applicable is preferable to using <code style="display: block"><tt></code>. | ||
| | | | ||
<pre><nowiki> | <pre><nowiki> | ||
A typewriter font for <tt>monospace text</tt> | A typewriter font for <tt>monospace text</tt> | ||
or for computer code: <code>int main()</code> | or for computer code: <code style="display: block">int main()</code> | ||
</nowiki></pre> | </nowiki></pre> | ||
|- valign="top" | |- valign="top" | ||
Line 277: | Line 278: | ||
| | | | ||
'''Suppressing interpretation of markup:''' | '''Suppressing interpretation of markup:''' | ||
<br | <br> | ||
<nowiki>Link → (''to'') the [[Wikipedia FAQ]]</nowiki> | <nowiki>Link → (''to'') the [[Wikipedia FAQ]]</nowiki> | ||
* Used to show literal data that would otherwise have special meaning. | * Used to show literal data that would otherwise have special meaning. | ||
Line 284: | Line 285: | ||
* To escape HTML character references such as <tt>&rarr;</tt> use <tt>&amp;rarr;</tt> | * To escape HTML character references such as <tt>&rarr;</tt> use <tt>&amp;rarr;</tt> | ||
| | | | ||
<br | <br> | ||
<pre><nowiki> | <pre><nowiki> | ||
<nowiki>Link &rarr; (''to'') | <nowiki>Link &rarr; (''to'') | ||
Line 292: | Line 293: | ||
| | | | ||
'''Commenting page source:''' | '''Commenting page source:''' | ||
<br | <br> | ||
''not shown when viewing page'' | ''not shown when viewing page'' | ||
* Used to leave comments in a page for future editors. | * Used to leave comments in a page for future editors. | ||
* Note that most comments should go on the appropriate Talk page. | * Note that most comments should go on the appropriate Talk page. | ||
| | | | ||
<br | <br> | ||
<pre><nowiki> | <pre><nowiki> | ||
<!-- comment here --> | <!-- comment here --> | ||
Line 305: | Line 306: | ||
===No or limited formatting - showing exactly what is being typed=== | === 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! | A few different kinds of formatting will tell the Wiki to display things as you typed them - what you see, is what you get! |
Latest revision as of 10:51, 26 November 2023
Redirect to:
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/ {{Link|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 style="display: block">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: → |