Help:Wikitext

From WikiMD's Wellness Encyclopedia

Wikitext, also known as wiki markup, is a lightweight markup language used to write pages in Wikipedia and other MediaWiki-based wikis. It is designed to be easy to learn and use, allowing users to create richly formatted content without needing to know HTML or CSS.

Basic Syntax[edit | edit source]

Wikitext uses a variety of symbols and keywords to format text. Here are some of the most commonly used elements:

Headings[edit | edit source]

Headings are created by using one to six equals signs:

== Heading level 2 ==
=== Heading level 3 ===

Bold and Italic[edit | edit source]

Text can be made bold or italic using single quotes:

''italic''
'''bold'''
'''''bold and italic'''''

Links[edit | edit source]

Internal links to other Wikipedia pages are created using double square brackets:

[[Main Page]]

External links are created using single square brackets:

[http://www.example.com Example]

Lists[edit | edit source]

Unordered lists use asterisks:

* Item 1
** Subitem 1.1

Ordered lists use numbers:

# Item 1
## Subitem 1.1

References[edit | edit source]

References are added using the <ref> tag and displayed with the <references /> tag.

Advanced Syntax[edit | edit source]

Wikitext also supports more advanced formatting options:

Tables[edit | edit source]

Tables are created using a combination of braces and pipes:

{| class="wikitable"
! Header 1 !! Header 2
|-
| Row 1, Cell 1 || Row 1, Cell 2
|}

Templates[edit | edit source]

Templates are reusable pieces of wikitext that can be included in multiple pages:

{{TemplateName}}

Categories[edit | edit source]

Pages can be categorized by adding category links at the bottom:

[[Category:Help]]

See Also[edit | edit source]


Contributors: Prab R. Tumpati, MD