Help:Wikitext: Difference between revisions
Appearance
Created Help:Wikitext reference page |
Table example in the house styled-table format; link Formatting and repair-guide style; heading case |
||
| Line 1: | Line 1: | ||
'''Wikitext''' (or '''wiki markup''') is the formatting language used to write articles on the RetroTechCollection Wiki. | '''Wikitext''' (or '''wiki markup''') is the formatting language used to write articles on the RetroTechCollection Wiki. | ||
For a quick introduction, see [[Help:Editing|Editing | For a quick introduction, see [[Help:Editing|Editing basics]]. For the house style, see [[Help:Formatting]] and [[Help:Writing a repair guide]]. | ||
For the full MediaWiki wikitext reference, see [https://www.mediawiki.org/wiki/Help:Formatting the official MediaWiki formatting guide]. | For the full MediaWiki wikitext reference, see [https://www.mediawiki.org/wiki/Help:Formatting the official MediaWiki formatting guide]. | ||
== Common | == Common formatting == | ||
{| class="wikitable" style="width:90%;" | {| class="wikitable" style="width:90%;" | ||
| Line 25: | Line 25: | ||
| <code><nowiki># Numbered</nowiki></code> || (numbered item) || Hash at start of line | | <code><nowiki># Numbered</nowiki></code> || (numbered item) || Hash at start of line | ||
|- | |- | ||
| <code><nowiki>[[Internal Link]]</nowiki></code> || [[Help:Contents|Internal | | <code><nowiki>[[Internal Link]]</nowiki></code> || [[Help:Contents|Internal link]] || Double square brackets | ||
|- | |- | ||
| <code><nowiki>[https://example.com External]</nowiki></code> || [https://example.com External] || Single square brackets | | <code><nowiki>[https://example.com External]</nowiki></code> || [https://example.com External] || Single square brackets | ||
| Line 37: | Line 37: | ||
== Tables == | == Tables == | ||
Tables use a pipe-based syntax. Data tables on this wiki use the <code>styled-table</code> class, with the TemplateStyles line once before the first table: | |||
Tables use a pipe-based syntax: | |||
<pre> | <pre> | ||
{| class="wikitable" | <templatestyles src="Template:StyledTable/styles.css" /> | ||
{| class="wikitable styled-table" | |||
|- | |- | ||
! Header 1 !! Header 2 | ! Header 1 !! Header 2 | ||
| Line 51: | Line 51: | ||
</pre> | </pre> | ||
== See | == See also == | ||
* [[Help:Editing|Editing | * [[Help:Editing|Editing basics]] | ||
* [[Help:Contents|Help | * [[Help:Formatting|Formatting guide]] | ||
* [[Help:Contents|Help contents]] | |||
* [https://www.mediawiki.org/wiki/Help:Formatting MediaWiki Formatting Reference] | * [https://www.mediawiki.org/wiki/Help:Formatting MediaWiki Formatting Reference] | ||
[[Category:Help]] | [[Category:Help]] | ||
Latest revision as of 11:49, 30 September 2026
Wikitext (or wiki markup) is the formatting language used to write articles on the RetroTechCollection Wiki.
For a quick introduction, see Editing basics. For the house style, see Help:Formatting and Help:Writing a repair guide.
For the full MediaWiki wikitext reference, see the official MediaWiki formatting guide.
Common formatting
[edit source]| Markup | Result | Notes |
|---|---|---|
'''bold''' |
bold | Three apostrophes each side |
''italic'' |
italic | Two apostrophes each side |
'''''bold italic''''' |
bold italic | Five apostrophes each side |
== Heading == |
(section heading) | Two equals signs |
=== Subheading === |
(subsection) | Three equals signs |
* Bullet |
(bullet point) | Asterisk at start of line |
# Numbered |
(numbered item) | Hash at start of line |
[[Internal Link]] |
Internal link | Double square brackets |
[https://example.com External] |
External | Single square brackets |
[[File:Example.jpg|thumb|Caption]] |
(image with caption) | File embedding |
<ref>Source</ref> |
(footnote) | Reference citation |
<nowiki>raw text</nowiki> |
(unformatted) | Prevents wiki parsing |
Tables
[edit source]Tables use a pipe-based syntax. Data tables on this wiki use the styled-table class, with the TemplateStyles line once before the first table:
<templatestyles src="Template:StyledTable/styles.css" />
{| class="wikitable styled-table"
|-
! Header 1 !! Header 2
|-
| Cell 1 || Cell 2
|-
| Cell 3 || Cell 4
|}