Jump to content

Help:Formatting: Difference between revisions

From RetroTechCollection
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:
= Help:Formatting – Advanced Formatting Tips =
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>
[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 }}

🔎 Useful Pages

[edit source]