Help:Wikitext: Difference between revisions
CSV import |
No edit summary |
||
| Line 1: | Line 1: | ||
'''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]] | ||
[[Category:Help]] | [[Category:Help]] | ||
[[Category: | [[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]