Jump to content

Help:Formatting

From RetroTechCollection
Revision as of 20:33, 11 May 2025 by Josh (talk | contribs) (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''...")
(diff) โ† Older revision | Latest revision (diff) | Newer revision โ†’ (diff)

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:

= Level 1 =
== Level 2 ==
=== Level 3 ===
==== Level 4 ====

๐Ÿ”  Bold, Italics and Monospace

  • Bold text: '''bold''' โ†’ bold
  • Italic text: ''italic'' โ†’ italic
  • Bold and Italic: '''''bold italic''''' โ†’ bold italic
  • Monospace: Use <code></code> or <pre></pre>
  • Internal: [[Page Name]] โ†’ Page Name
  • Display different text: [[Page Name|Click Here]] โ†’ Click Here
  • External: [https://example.com Example] โ†’ Example

๐Ÿ“‹ Lists

Unordered List

Use asterisks:

* Item 1
* Item 2
** Subitem

Ordered List

Use hashes:

# First
# Second
## Substep

Definition List

; Term
: Definition

๐Ÿ“ Tables

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

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

Use <nowiki></nowiki> to prevent wiki syntax from rendering:

[[Page Name]]

For multiline code:

<pre>
Line 1
Line 2

โน๏ธ Horizontal Line

---- creates a horizontal rule:


๐Ÿ“‚ Categories

Add pages to categories using:

[[Category:Category Name]]

๐Ÿงฉ Templates

To include a template:

{{TemplateName}}

With parameters:

{{TemplateName | param1 = value | param2 = value }}

๐Ÿ”Ž Useful Pages