Help:Contents

From EditThis.info

Tutorial on Formatting Text in Wiki Code

Formatting text in wiki code is essential for creating structured and readable content on platforms that use wiki markup language, such as Wikipedia. In this tutorial, you will learn how to apply various formatting styles to enhance the presentation of your text.

Contents

Introduction to Wiki Markup Language

The wiki markup language is a way to format text using a specific syntax that facilitates the creation and organization of content on wikis. It is widely used on platforms like Wikipedia and other collaborative wikis.

Basic Formatting

Bold and Italic

To format text in bold and italic, use the following codes:

  • Bold: Add three single quotation marks before and after the text. Example: bold text
  • Italic: Add two single quotation marks before and after the text. Example: italic text

Subtitles and Headings

Headings are created using the equal sign (=). The number of equal signs determines the heading level:

  • Heading level 1: = Heading 1 =
  • Heading level 2: == Heading 2 ==
  • Heading level 3: === Heading 3 ===

Lists

Lists can be ordered or unordered:

  • Unordered list: Use asterisks (*) before items. Example:
 * Item 1
 * Item 2
   * Subitem 2.1
  • Ordered list: Use numbers followed by a period. Example:
 # First item
 # Second item
   # Subitem 2.1

Links

To create internal and external links, use the following syntax:

Advanced Formats

Tables

To create tables, use the following syntax:

Table Title
Header 1 Header 2
Row 1, Column 1 Row 1, Column 2
Row 2, Column 1 Row 2, Column 2

Citations and References

  • Citation: Use the greater-than sign (>) for citations. Example: > Citation
  • Reference: Use the syntax <ref>Reference text</ref> and, at the end of the article, add == References == to list the references.

Code and Templates

To include code blocks, use triple backticks:

Code

Templates are included with double curly braces:

Template:Template

Images and Files

To add images and files, use the following syntax:

Conclusion and Additional Tips

Learning to format text in wiki code allows you to create well-structured and easy-to-read content. Explore the advanced features of your wiki platform to further enhance your edits.

Personal tools