OpenTTD:Tutorial Formatting
| Introduction | Editing | Formatting | Linking | Talk pages | 666 | FAQ |
|
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 |
|---|---|
A new line marks the end of the list.
|
# ''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. |
marks the end of the list.
|
* ''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 headingsHeadings organize your writing into sections. SubsectionUsing more "equals" (=) signs creates a subsection. A smaller subsectionDon'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 |
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.