Help:Wikitext: Difference between revisions

From WikiMD's Wellness Encyclopedia

CSV import
 
No edit summary
 
Line 1: Line 1:
[[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.]] [[file:wiki.png|right|thumb|wiki]] [[file:wiki]]</syntaxhighlight>|right|thumb|wiki]]</syntaxhighlight>]] [[file:wiki]]|thumb|wiki]]]]  {{Short description|Markup language used to format pages in Wikipedia}}
{{pp-move-indef}}
{{pp-semi-indef}}
{{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]].
'''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]].
Line 65: Line 61:
* [[Help:Tables]]
* [[Help:Tables]]
* [[Help:Templates]]
* [[Help:Templates]]
== References ==
<references />
[[Category:Help]]
[[Category:Help]]
[[Category:Wikipedia how-to]]
[[Category:Wikimd how-to]]
[[Category:Wiki software]]
[[Category:Wiki software]]
{{Help-stub}}
{{Help-stub}}

Latest revision as of 20:13, 18 November 2024

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]

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

Headings[edit]

Headings are created by using one to six equals signs:

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

Bold and Italic[edit]

Text can be made bold or italic using single quotes:

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

Links[edit]

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]

Unordered lists use asterisks:

* Item 1
** Subitem 1.1

Ordered lists use numbers:

# Item 1
## Subitem 1.1

References[edit]

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

Advanced Syntax[edit]

Wikitext also supports more advanced formatting options:

Tables[edit]

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]

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

{{TemplateName}}

Categories[edit]

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

[[Category:Help]]

See Also[edit]