OpenTTD:Tutorial Formatting

From OpenTTD
Jump to: navigation, search
Introduction   Editing   Formatting   Linking   Talk pages   666   FAQ    

Contents


Formatting Wiki articles is a bit different from writing on a standard word processor. Instead of "What You See Is What You Get" approach, Wiki uses text codes to create particular elements of the page (e.g. headings). This "language" is known as Wiki-markup and is designed for ease of editing.


Bold and italics

The most commonly used wiki tags are bold and italics. Bolding and italicizing are done by surrounding a word or phrase with multiple apostrophes('):

What it looks like What you type

italicize text by putting 2 apostrophes on each side.

3 apostrophes will embolden the text.

5 apostrophes will embolden and italicize the text.

''italicize text'' by putting 2 apostrophes on each side. 

3 apostrophes will embolden '''the text'''. 

5 apostrophes will do both '''''the text'''''.

Lists

The basic list types are Ordered and unordered lists, they are created by placing # or * in the beginning of each line, for examples.

What it looks like What you type
  1. Numbered lists are:
    1. Very organized
    2. Easy to follow
  2. Previous item continues

A new line marks the end of the list.

  1. New numbering starts with 1.
# ''Numbered lists'' are:
## Very organized
## Easy to follow
# Previous item continues
A new line marks the end of the list.
# New numbering starts with 1.
  • Unordered lists are easy to do:
    • Start every line with a star.
      • More stars indicate a deeper level.
  • Previous item continues.
    • A new line
  • in a list

marks the end of the list.

  • Of course you can start again.
* ''Unordered lists'' are easy to do:
** Start every line with a star.
*** More stars indicate a deeper level.
* Previous item continues.
** A new line
* in a list  
marks the end of the list.
* Of course you can start again.

Headings and subheadings

Headings and subheadings are an easy way to improve the organization of an article. If you can see two or more distinct topics being discussed, you can break up the article by inserting a heading for each section.

What it looks like What you type

Section headings

Headings organize your writing into sections.

Subsection

Using more "equals" (=) signs creates a subsection.

A smaller subsection

Don't skip levels, like from two to four equals signs.

== Section headings ==

''Headings'' organize your writing into sections. 

=== Subsection ===
Using more "equals" (=) signs creates a subsection.

==== A smaller subsection ====

Don't skip levels, like from two to four equals signs.

If an article has at least four headings, a table of contents will automatically be generated. Try creating a heading in this page's sandbox. It will be added automatically to the table of contents for the page, assuming three others already exist.


Paragraphs

OpenTTD wiki ignores normal line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tags <br />.

What it looks like What you type

You can break lines
without a new paragraph.
Please use this sparingly.

You can break lines<br/>
without a new paragraph.<br/>
Please use this sparingly.

HTML

Wikitext contains all the features required to follow Wikipedia's formatting conventions and knowledge of HTML code is not necessary, although it is often used for more specific formatting such as using colors, text and paragraph styles, and page layout.


For more information and advanced features refer to Lists page.
Test what you have learned in the sandbox


Continue the tutorial with Linking
Personal tools