Help:Syntax
(Difference between revisions)
m |
m |
||
Line 1: | Line 1: | ||
{{TOC right}} | {{TOC right}} | ||
== Formatting == | == Formatting == | ||
+ | {| class="wikitable" | ||
+ | ! Description | ||
+ | ! width=40% | You type | ||
+ | ! width=40% | You get | ||
+ | |- | ||
+ | ! colspan="3" style="background:#ABE" | character (inline) formatting – ''applies anywhere'' | ||
+ | |- | ||
+ | | Italic text | ||
+ | | <pre> | ||
+ | ''italic'' | ||
+ | </pre> | ||
+ | | | ||
+ | ''italic'' | ||
+ | |- | ||
+ | | Bold text | ||
+ | | <pre> | ||
+ | '''bold''' | ||
+ | </pre> | ||
+ | | | ||
+ | '''bold''' | ||
+ | |- | ||
+ | | Bold and italic | ||
+ | | <pre> | ||
+ | '''''bold & italic''''' | ||
+ | </pre> | ||
+ | | | ||
+ | '''''bold & italic''''' | ||
+ | |- | ||
+ | | Escape wiki markup | ||
+ | | <pre> | ||
+ | <nowiki>no ''markup''</nowiki> | ||
+ | </pre> | ||
+ | | | ||
+ | <nowiki>no ''markup''</nowiki> | ||
+ | |- | ||
+ | | Escape wiki markup once | ||
+ | | <pre> | ||
+ | [[API]]<nowiki/>extension | ||
+ | </pre> | ||
+ | | | ||
+ | [[API]]<nowiki/>extension | ||
+ | |- | ||
+ | ! colspan="3" style="background:#ABE" | section formatting – ''only at the beginning of the line'' | ||
+ | |- | ||
+ | | Headings of different levels | ||
+ | | <pre> | ||
+ | |||
+ | == Level 2 == | ||
+ | |||
+ | === Level 3 === | ||
+ | |||
+ | ==== Level 4 ==== | ||
+ | |||
+ | ===== Level 5 ===== | ||
+ | |||
+ | ====== Level 6 ====== | ||
+ | |||
+ | </pre> | ||
+ | ---- | ||
+ | {{note| | ||
+ | * [[Help_talk:Formatting#Level_1|Skip Level 1]], it is page name level. | ||
+ | * An article with 4 or more headings automatically creates a [[wikipedia:Wikipedia:Section#Table of contents (TOC)|table of contents]]. | ||
+ | }} | ||
+ | | | ||
+ | |||
+ | |||
+ | |||
=== Headings === | === Headings === | ||
<pre> | <pre> |
Revision as of 09:57, 7 February 2012
|
Formatting
Description | You type | You get |
---|---|---|
character (inline) formatting – applies anywhere | ||
Italic text | ''italic'' |
italic |
Bold text | '''bold''' |
bold |
Bold and italic | '''''bold & italic''''' |
bold & italic |
Escape wiki markup | <nowiki>no ''markup''</nowiki> |
no ''markup'' |
Escape wiki markup once | [[API]]<nowiki/>extension |
APIextension |
section formatting – only at the beginning of the line | ||
Headings of different levels | == Level 2 == === Level 3 === ==== Level 4 ==== ===== Level 5 ===== ====== Level 6 ====== |
Headings= Heading 1 = == Heading 2 == === Heading 3 === ==== Heading 4 ==== ===== Heading 5 ===== ====== Heading 6 ====== Heading 1Heading 2Heading 3Heading 4Heading 5Heading 6Bold'''This is a Bold text''' This is a Bold text Italic''This is an Italic text'' This is an Italic text Code<pre> Code formatted style here </pre> Code formatted style here TablesLinksInternal LinksExternal LinksFile LinksImages
Table of ContentTo put the Table of Content (TOC) that the right side of the page write the following at the beginning of a page {{TOC right}} CategoriesIn order to put a page into a Category add the following line at the end of the page: [[Category:Category name]]
|