Help:Formatting: Difference between revisions
Appearance
Created page with "= Help:Formatting â Advanced Formatting Tips = This page provides advanced formatting techniques to help you create clean, professional-looking pages using MediaWiki markup. == đ§ą Section Headers == Use equals signs (`=`) to create section headers. The number of `=` symbols sets the heading level: <pre> = Level 1 = == Level 2 == === Level 3 === ==== Level 4 ==== </pre> == đ Bold, Italics and Monospace == * Bold text: <nowiki>'''bold'''</nowiki> â '''bold''..." Â |
 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
This page provides advanced formatting techniques to help you create clean, professional-looking pages using MediaWiki markup. | This page provides advanced formatting techniques to help you create clean, professional-looking pages using MediaWiki markup. | ||
| Line 127: | Line 125: | ||
* [[Help:Categories]] | * [[Help:Categories]] | ||
* [[Help:Images]] | * [[Help:Images]] | ||
[[Category:Help Pages]] | |||
Latest revision as of 20:34, 11 May 2025
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 }}