SgWiki:Guidebook/Editing & Formatting
Jump to navigation
Jump to search
| Introduction | Editing & Formatting | Links | Citing sources | sgWiki Buses | sgWiki Rails | Ban & Warning Points |
Contributors must follow SGWiki formatting standards. Proper editing ensures consistency, accuracy, and readability.
Text Formatting
Bold
Use three apostrophes before and after the text.
Code
| Welcome to '''sgWiki''' |
Result
| Welcome to sgWiki |
Italic
Use two apostrophes before and after the text.
Code
| Welcome to ''sgWiki'' |
Result
| Welcome to sgWiki |
Underline
Use <u> and </u> tags.
Code
| Welcome to <u>sgWiki</u> |
Result
| Welcome to sgWiki |
Strikethrough
Use <s> and </s> tags.
Code
| Welcome to <s>sgWiki</s> |
Result
| Welcome to |
Headers
Headers divide articles into sections and subsections. They keep pages structured and easy to navigate.
- Use the equals sign (=) before and after text.
- The number of equals signs must match on both sides.
- More equals signs = smaller header level (1–6).
- Level 1 is the largest; Level 6 is the smallest.
To create a header "Deployments" and a sub-header "SBS Transit":
Code
| ==Deployments== ===SBS Transit=== |
Tables
Tables are used to present structured information such as specifications, deployments, and service lists. They ensure data is displayed neatly in rows and columns.
- Start with {| and end with |}.
- Add a new row with |-.
- Header cells → !
- Data cells → |
- Use class="wikitable" for standard styling.
- Apply mw-collapsible for large datasets.
To create a table with two columns and one data row:
Code
| {| class="wikitable" !Column 1 !Column 2 |- |Data A |Data B |} |