Help:Editing: Difference between revisions

From miki
Jump to navigation Jump to search
(→‎Tables: Using template::Prettytable or class="wikitable")
Line 3: Line 3:
=== MediaWiki ===
=== MediaWiki ===


* [http://www.mediawiki.org/wiki/Help:Formatting Official help on formatting]
* [http://www.mediawiki.org/wiki/Help:Formatting Help:Formatting]
* [http://www.mediawiki.org/wiki/Help:Tables Help:Tables]
* [http://www.mediawiki.org/wiki/Help:Tables Help:Tables]
* [http://meta.wikimedia.org/wiki/Help:Cascading_style_sheets]
* [http://meta.wikimedia.org/wiki/Help:Cascading_style_sheets Help:Cascading_style_sheets]
* [http://www.mediawiki.org/wiki/Manual:Interface/Stylesheets]
* [http://www.mediawiki.org/wiki/Manual:Interface/Stylesheets Manual:Interface/Stylesheets]


=== From Wikipedia ===
=== From Wikipedia ===


* [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page How to edit a page on Wikipedia]
* [http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page Wikipedia:How_to_edit_a_page]
* [http://en.wikipedia.org/wiki/Help:Editing Help:Editing]
* [http://en.wikipedia.org/wiki/Help:Editing Help:Editing]
* [http://en.wikipedia.org/wiki/Help:Wikitext Help:WikiText]
* [http://en.wikipedia.org/wiki/Help:Wikitext Help:WikiText]

Revision as of 11:19, 10 September 2008

External Links

MediaWiki

From Wikipedia

Frequently Used

Description You type You get
anywhere
Arrows entities

⇒ ⇐ ⇓ ⇑ ⇔ → ↓ ↑ ← ↔

⇒ ⇐ ⇓ ⇑ ⇔ → ↓ ↑ ← ↔

only at the beginning of the line
Definition list

;Definition
:item 1
:item 2

Definition
item 1
item 2

HTML Tags

Description You type You get
Font color You can use <font color="red">colors</font> You can use colors

Tables

Basic syntax for table is

{| [opt-table-attr] 
|- [opt-line-attr]
|[opt-cell-attr |]Orange
|[opt-cell-attr |]Apple
|- [opt-line-attr
|[opt-cell-attr |]
|[opt-cell-attr |]Pie
|- [opt-line-attr
|[opt-cell-attr |]Butter |[opt-cell-attr]| Ice cream 
|}
Table can be easily formatted using templates like:
{| {{Prettytable}}
|-
|{{Hl2}}|First
|Second
|-
|Third
|{{Hl2}}|Fourth
|}
First Second
Third Fourth
Or better yet, using CSS (eg. see MediaWiki:Common.css) class wikitable
{| class="wikitable"
|-
!First
|Second
|-
|Third
!Fourth
|}
First Second
Third Fourth