SgWiki:Guidebook/Editing & Formatting: Difference between revisions
Jump to navigation
Jump to search
m Changed protection level for "SgWiki:Guidebook/Editing & Formatting" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{| style= | {| style='font-family:"Exo 2";width:100%;border-collapse:collapse;white-space:nowrap;' | ||
| | |style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook|Introduction]] | ||
|style="padding:0 0.5em;border:1px solid #888;border-top:3px solid #F00;border-bottom:none;"|[[SgWiki:Guidebook/Editing & Formatting|Editing & Formatting]] | |||
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/Links|Links]] | |||
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/Citation|Citing sources]] | |||
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/sgWiki Buses|sgWiki Buses]] | |||
|style="padding:0 0.5em;border-bottom:1px solid #888;"|[[SgWiki:Guidebook/Ban|Ban & Warning Points]] | |||
|style="width:100%;border-bottom:1px solid #888;"| | |||
|} | |||
|style=" | |||
=== | <div style='font-family:"Exo 2" !important;'> | ||
Contributors must follow SGWiki formatting standards. Proper editing ensures consistency, accuracy, and readability. | |||
==Text Formatting== | |||
===Bold=== | |||
Use three apostrophes before and after the text. | |||
{{dottedbox|@=Code|#=<nowiki>Welcome to '''sgWiki'''</nowiki>}} | {{dottedbox|@=Code|#=<nowiki>Welcome to '''sgWiki'''</nowiki>}} | ||
{{dottedbox|@=Result|#=Welcome to '''sgWiki'''}} | {{dottedbox|@=Result|#=Welcome to '''sgWiki'''}} | ||
=== | ===Italic=== | ||
Use two apostrophes before and after the text. | |||
{{dottedbox|@=Code|#=<nowiki>Welcome to ''sgWiki''</nowiki>}} | {{dottedbox|@=Code|#=<nowiki>Welcome to ''sgWiki''</nowiki>}} | ||
{{dottedbox|@=Result|#=Welcome to ''sgWiki''}} | {{dottedbox|@=Result|#=Welcome to ''sgWiki''}} | ||
=== | ===Underline=== | ||
Use <nowiki><u></nowiki> and <nowiki></u></nowiki> tags. | |||
{{dottedbox|@=Code|#=<nowiki>Welcome to <u>sgWiki</u></nowiki>}} | |||
{{dottedbox|@=Result|#=Welcome to <u>sgWiki</u>}} | |||
===Strikethrough=== | |||
Use <nowiki><s></nowiki> and <nowiki></s></nowiki> tags. | |||
{{dottedbox|@=Code|#=<nowiki>Welcome to <s>sgWiki</s></nowiki>}} | |||
{{dottedbox|@=Result|#=Welcome to <s>sgWiki</s>}} | |||
{{dottedbox|@=Code|#=<nowiki> | |||
== | ==Headers== | ||
Headers divide articles into sections and subsections. They keep pages structured and easy to navigate. | |||
* Use the equals sign (<nowiki>=</nowiki>) 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 | To create a header "Deployments" and a sub-header "SBS Transit": | ||
{{dottedbox|@=Code|#=<nowiki>==Deployments==</nowiki><br><nowiki>===SBS Transit===</nowiki>}} | |||
==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 <nowiki>{|</nowiki> and end with <nowiki>|}</nowiki>. | |||
* Add a new row with <nowiki>|-</nowiki>. | |||
* Header cells → <nowiki>!</nowiki> | |||
* Data cells → <nowiki>|</nowiki> | |||
* Use class="wikitable" for standard styling. | |||
* Apply mw-collapsible for large datasets. | |||
To create a table with two columns and one data row: | |||
{{dottedbox|@=Code|#=<nowiki>{| class="wikitable"</nowiki><br><nowiki>!Column 1</nowiki><br><nowiki>!Column 2</nowiki><br><nowiki>|-</nowiki><br><nowiki>|Data A</nowiki><br><nowiki>|Data B</nowiki><br><nowiki>|}</nowiki>}} | |||
</div> | |||
{{dottedbox|@=Code|#=<nowiki>{| | |||
Latest revision as of 00:18, 8 July 2026
| Introduction | Editing & Formatting | Links | Citing sources | sgWiki Buses | 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 |} |