Help:Editing: Difference between revisions
No edit summary |
No edit summary |
||
Line 189: | Line 189: | ||
<nowiki>[[Image:mediawiki.png|none|frame|The MediaWiki logo]]</nowiki> | <nowiki>[[Image:mediawiki.png|none|frame|The MediaWiki logo]]</nowiki> | ||
[[Image:mediawiki.png|none|frame|The MediaWiki logo]] | [[Image:mediawiki.png|none|frame|The MediaWiki logo]] | ||
=References= | |||
To add citations to the bottom of the page, use the following code in the text: <nowiki><ref>[http://www.skybrary.aero/index.php/METAR METAR]</ref></nowiki> | |||
Text to be cited<ref>[http://www.skybrary.aero/index.php/METAR METAR]</ref> | |||
<br /> | |||
At the bottom of the page, add the following: <nowiki><references /></nowiki> | |||
<references /> | |||
=Tables= | =Tables= |
Latest revision as of 12:44, 2 March 2009
Official Guides
BBCodes and emoticons
You can make use of BBCode Syntax and emoticons to make up the text. Click here for a BBCode syntax overview.
Word formatting
- Emphasize
''Emphasize'', '''strongly''', '''''very strongly'''''
Emphasize, strongly, very strongly
- HTML tags you can use
Typewriter font for technical terms
<tt>monospace text</tt>
monospace text
Small text
<small>small text</small>
small text
Strikethru text
<s>strike out deleted material</s>
strike out deleted material
Headings
same as headlines/chapters/sections
First, second and third level headings
=New section= ==Subsection== ===Sub-subsection===
A first level heading is for example the "Word formatting" heading on this page. The "Bullet lists" heading on this page is an example of a 2rd level heading.
The "Table of contents" box you see at the top of this page will appear automatically when you have used 4 or more headings. First level headings are shown as x, 2rd level as x.x and so on.
Internal linking
[[Main Page]]
Becomes a link to the Main Page of this Wiki.
[[Help:Contents|Get Help Here]]
Becomes a link to the Information page but Infos! is written instead like this: Get Help Here
- Linking to a headline at a wiki page.
You can link to a headline on another wiki page.
[[http://wiki.biles.biz/wiki/Clouds#High_Clouds]]
Becomes a link to the headline "High Clouds" on the Clouds page like this: Clouds#High_Clouds
You can also replace the text written on the final page.
[[Clouds#High_Clouds|Check out the High Clouds]]
Becomes: Check out the High Clouds
External linking
Remember to start with "http://".
- Bare URL
http://mayday.biles.biz/
Becomes http://mayday.biles.biz/
- Named link
[http://mayday.biles.biz/ Mayday Air Crash Investigation Forum]
Becomes Mayday Air Crash Investigation Forum
Lists
Bullet lists
You can make bullet lists with "*".
* First level list object ** Second level list object *** Third level list object * Another first level list object
- First level list object
- Second level list object
- Third level list object
- Second level list object
- Another first level list object
Numbered lists
You can make numbered lists with "#".
# First level list object ## Second level list object ### Third level list object # Another first level list object
- First level list object
- Second level list object
- Third level list object
- Second level list object
- Another first level list object
Mixed lists
You can even make mixed lists like this.
* You can even do mixed lists *# and nest them *#* like this
- You can even do mixed lists
- and nest them
- like this
- and nest them
Definition lists
;item : the item's definition
- item
- the item's definition
Images
You can insert images using the syntax:
[[Image:filename|options|caption text]]
The last item added will always be considered the caption text.
Image without alt-text
[[Image:mediawiki.png]]
Image with alt-text
You add "|caption text" after the image link. This is the text most browsers will show when you hover over the image with the mouse.
[[Image:mediawiki.png|The MediaWiki logo]]
Image options
- thumbnail, thumb
- Generates an automatically resized thumbnail image (either reduced or enlarged).
- Caption text is displayed directly underneath. An "enlarge"-icon is added.
- If you do not specify where the image should be place it will be places to the right.
- Example to the right (in this example the image is enlarged because it is small):
[[Image:mediawiki.png|thumb|The MediaWiki logo]]
- right
- Makes the image right-aligned.
- left
- Same as above, but left aligned.
- center
- Same as above, but centered.
- none
- The image will be rendered inline, even if the thumbnail-option is set.
- frame
- The image will have a frame, regardless of whether it is a thumb, and the caption text will be included as a visible caption.
- Example to the right:
- sizepx
- Renders a version of the image that's [size] pixels wide (e.g. '150px').
- Height is computed to keep the aspect ratio (i.e. the shape of the image).
- This allows both size reduction and enlargement.
- Combining options
- You can combine the options as you like. Example (as you see below resizing is often not very good):
[[Image:mediawiki.png|50px|left|none|The MediaWiki logo]]
[[Image:mediawiki.png|none|frame|The MediaWiki logo]]
References
To add citations to the bottom of the page, use the following code in the text: <ref>[http://www.skybrary.aero/index.php/METAR METAR]</ref>
Text to be cited[1]
At the bottom of the page, add the following: <references />
Tables
{| border="1" cellpadding="5" cellspacing="3" | 1 || 2 |- | 3 || 4 |- | 5 || 6 |}
1 | 2 |
3 | 4 |
5 | 6 |
See also WikiMedia table guide
Additional hints
You can avoid that the wiki system proccessing the text (to avoid unwanted formatting) by putting <nowiki></nowiki> around the text you want to parse directly.