Help:Wikitext

From WikiMD's Wellness Encyclopedia

File:OOjs UI icon link-ltr_on_the_enhanced_editing_toolbar_to_encode_the_link;_this_tool_will_add_the_bracket_markup_and_the_linked_text,_which_may_not_always_be_desirable.|thumb|OOjs_UI_icon_link-ltr]]_on_the_enhanced_editing_toolbar_to_encode_the_link;_this_tool_will_add_the_bracket_markup_and_the_linked_text,_which_may_not_always_be_desirable.]]

wiki

File:Wiki</syntaxhighlight>|right|thumb|wiki]]</syntaxhighlight>]] File:Wiki|thumb|wiki]]]]

Template:Help page

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]

References[edit | edit source]



Contributors: Prab R. Tumpati, MD