Diff: Wikitext

Back to page
Rev 3 by kapitalpirat (6d ago) ← Rev 2 by kapitalpirat (6d ago)

Before

Wikitext reference

It's a Wiki! uses a lightweight wikitext syntax inspired by MediaWiki/Fandom.

Text formatting

'''bold'''  ''italic''  '''''bold italic'''''  ++underline++  --strikethrough--

Renders as: bold text, italic text, bold italic text, underline, strikethrough. Inline HTML tags like <u>, <s>, <sub>, <sup>, <code> also work.

Page name — link to a page Syntax: [[Page name|custom label]] — link with custom text Syntax: [[Page name|]] — pipe trick (uses last segment as the label) Syntax: [https://example.com label] — external link (opens in a new tab)

Headings

== Level 2 ==
=== Level 3 ===

Works up to 6 levels. Headings automatically generate a table of contents.

Lists

  • Bullet list
  • Nested bullets
  1. Numbered list
  2. Nested numbered
    term : definition

Horizontal rule — four or more dashes on a line:

----

Images and files

photo.jpg — inline image Syntax: [[File:photo.jpg|thumb|Caption text]] — thumbnail with caption Syntax: [[File:photo.jpg|100px]] — fixed width Syntax: [[File:photo.jpg|right]] — alignment (left/right/center/none)

Browse all uploaded files at the Media page.

Templates and transclusion

{{Template name|arg1|arg2|key=value}} transcludes a page from the Template: namespace. Parameters use {{{1}}} (positional) or {{{name|default}}} (named with default). Magic words: {{PAGENAME}}, {{FULLPAGENAME}}, {{SITENAME}},

{{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTDAY}}.

Categories

[[Category:Name]] adds the page to a category; it appears at the bottom. Each category gets its own index page at /w/<wiki>/c/<name>.

Tables

{| class="wikitable"
! Header 1 !! Header 2
|-
| Cell 1 || Cell 2
|-
| Cell 3 || Cell 4
|}

Redirects

#REDIRECT [[Target Page]]

References

Text with a footnote <ref>Source</ref>. Place <references/> where you want the list to appear.

Raw text

<nowiki>...</nowiki> — escape all wikitext. <pre>...</pre> — preformatted block. <code>...</code> — inline code.

Page CSS

On any page, click Edit → "CSS panel" (or append ?css=1) to write CSS scoped to that page. The wiki also has a default CSS managed by the wiki owner.

After

Wikitext reference

It's a Wiki! uses a lightweight wikitext syntax inspired by MediaWiki/Fandom.

Text formatting

'''bold'''  ''italic''  '''''bold italic'''''  ++underline++  --strikethrough--

Renders as: bold text, italic text, bold italic text, underline, strikethrough. Inline HTML tags like <u>, <s>, <sub>, <sup>, <code> also work.

Page name — link to a page Syntax: [[Page name|custom label]] — link with custom text Syntax: [[Page name|]] — pipe trick (uses last segment as the label) Syntax: [https://example.com label] — external link (opens in a new tab)

Headings

== Level 2 ==
=== Level 3 ===

Works up to 6 levels. Headings automatically generate a table of contents.

Lists

  • Bullet list
  • Nested bullets
  1. Numbered list
  2. Nested numbered
    term : definition

Horizontal rule — four or more dashes on a line:

----

Images and files

photo.jpg — inline image Syntax: [[File:photo.jpg|thumb|Caption text]] — thumbnail with caption Syntax: [[File:photo.jpg|100px]] — fixed width Syntax: [[File:photo.jpg|right]] — alignment (left/right/center/none)

Browse all uploaded files at the Media page.

Templates and transclusion

{{Template name|arg1|arg2|key=value}} transcludes a page from the Template: namespace. Parameters use {{{1}}} (positional) or {{{name|default}}} (named with default). Magic words: {{PAGENAME}}, {{FULLPAGENAME}}, {{SITENAME}},

{{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTDAY}}.

Categories

[[Category:Name]] adds the page to a category; it appears at the bottom. Each category gets its own index page at /w/<wiki>/c/<name>.

Tables

{| class="wikitable"
! Header 1 !! Header 2
|-
| Cell 1 || Cell 2
|-
| Cell 3 || Cell 4
|}

Redirects

#REDIRECT [[Target Page]]

References

Text with a footnote <ref>Source</ref>. Place <references/> where you want the list to appear.

Raw text

<nowiki>...</nowiki> — escape all wikitext. <pre>...</pre> — preformatted block. <code>...</code> — inline code.

Page CSS

On any page, click Edit → "CSS panel" (or append ?css=1) to write CSS scoped to that page. The wiki also has a default CSS managed by the wiki owner.