Help:Formatting
Appearance
This page provides advanced formatting techniques to help you create clean, professional-looking pages using MediaWiki markup.
π§± Section Headers
[edit source]Use equals signs (`=`) to create section headers. The number of `=` symbols sets the heading level:
= Level 1 = == Level 2 == === Level 3 === ==== Level 4 ====
π Bold, Italics and Monospace
[edit source]- Bold text: '''bold''' β bold
- Italic text: ''italic'' β italic
- Bold and Italic: '''''bold italic''''' β bold italic
- Monospace: Use <code></code> or <pre></pre>
π Internal and External Links
[edit source]- Internal: [[Page Name]] β Page Name
- Display different text: [[Page Name|Click Here]] β Click Here
- External: [https://example.com Example] β Example
π Lists
[edit source]Unordered List
[edit source]Use asterisks:
* Item 1 * Item 2 ** Subitem
Ordered List
[edit source]Use hashes:
# First # Second ## Substep
Definition List
[edit source]; Term : Definition
π Tables
[edit source]Basic table:
{| class="wikitable"
|-
! Header 1 !! Header 2
|-
| Row 1, Cell 1 || Row 1, Cell 2
|-
| Row 2, Cell 1 || Row 2, Cell 2
|}
Tips:
- Use style= for custom widths, colors, or alignment
- Use colspan= and rowspan= for complex layouts
π¨ Coloring and Styling
[edit source]You can use inline styles:
<span style="color: red;">Red Text</span> <div style="background-color:#f0f0f0; padding:10px;">Box</div>
For reusable styling across dark/light mode, use:
<templatestyles src="Template:YourTemplate/styles.css" />
π Code Blocks and Escaping Wikitext
[edit source]Use <nowiki></nowiki> to prevent wiki syntax from rendering:
[[Page Name]]
For multiline code:
<pre> Line 1 Line 2
βΉοΈ Horizontal Line
[edit source]---- creates a horizontal rule:
π Categories
[edit source]Add pages to categories using:
[[Category:Category Name]]
π§© Templates
[edit source]To include a template:
{{TemplateName}}
With parameters:
{{TemplateName | param1 = value | param2 = value }}