User:Pronoun/Help:Wikitext: Difference between revisions
(copy original Help:Wikitext (permalink) as reference) |
(use Template:Mra) |
||
Line 3: | Line 3: | ||
==Formatting Text== | ==Formatting Text== | ||
These are the basics of | These are the basics of wikitext: | ||
=== | ===Basic Styles=== | ||
{{markup| | |||
<nowiki>'''Bold text''' | |||
</nowiki>|'''Bold text'''| | |||
<nowiki>''Italic text'' | |||
</nowiki>|''Italic text''| | |||
<nowiki>'''''Bold and italic text''''' | |||
</nowiki>|'''''Bold and italic text'''''| | |||
<nowiki><s>Strikethrough</s> | |||
</nowiki>|<s>Strikethrough</s>| | |||
<nowiki><code>Code (monospaced)</code> | |||
</nowiki>|<code>Code (monospaced)</code>}}<!-- Template:Mra --> | |||
===Lists=== | ===Lists=== | ||
====Numbered List==== | ====Numbered List==== | ||
{{markup | {{markup| | ||
| | |||
<nowiki> | <nowiki> | ||
#Rabbitz | #Rabbitz | ||
Line 74: | Line 34: | ||
##Goes | ##Goes | ||
#On | #On | ||
</nowiki> | </nowiki>| | ||
| | |||
#Rabbitz | #Rabbitz | ||
#Gets | #Gets | ||
Line 85: | Line 44: | ||
###List | ###List | ||
##Goes | ##Goes | ||
#On | #On}}<!-- Template:Mra --> | ||
}} | |||
====Bulleted List==== | ====Bulleted List==== | ||
{{markup | {{markup| | ||
<nowiki> | |||
*Rabbitz | *Rabbitz | ||
*Gets | *Gets | ||
Line 102: | Line 60: | ||
**Goes | **Goes | ||
*On | *On | ||
</nowiki> | </nowiki>| | ||
| | |||
*Rabbitz | *Rabbitz | ||
*Gets | *Gets | ||
Line 113: | Line 70: | ||
***List | ***List | ||
**Goes | **Goes | ||
*On | *On}}<!-- Template:Mra --> | ||
}} | |||
====Term and Definition List==== | ====Term and Definition List==== | ||
{{markup | {{markup| | ||
<nowiki> | |||
; Rabbitz (Term) : Awesome (Definition) | ; Rabbitz (Term) : Awesome (Definition) | ||
</nowiki> | </nowiki>| | ||
| | ; Rabbitz (Term) : Awesome (Definition)| | ||
; Rabbitz (Term) : Awesome (Definition) | <nowiki> | ||
; Rabbitz (Term) | ; Rabbitz (Term) | ||
: Awesome (Definition) | : Awesome (Definition) | ||
: Awesomer (Definition) | : Awesomer (Definition) | ||
: Awesomest (Definition) | : Awesomest (Definition) | ||
</nowiki> | </nowiki>| | ||
| | |||
; Rabbitz (Term) | ; Rabbitz (Term) | ||
: Awesome (Definition) | : Awesome (Definition) | ||
: Awesomer (Definition) | : Awesomer (Definition) | ||
: Awesomest (Definition) | : Awesomest (Definition)}}<!-- Template:Mra --> | ||
}} | |||
---- | |||
===Font Color=== | ===Font Color=== | ||
Line 142: | Line 94: | ||
====Text Color==== | ====Text Color==== | ||
{| | {{markup| | ||
<nowiki>{{font color|red|Rabbitz is very awesome}} | |||
</nowiki>|{{font color|red|Rabbitz is very awesome}}| | |||
<nowiki>{{font color|#e38690|Rabbitz is very awesome}} | |||
</nowiki>|{{font color|#e38690|Rabbitz is very awesome}}}}<!-- Template:Mra --> | |||
{{ | |||
</nowiki> | |||
| | |||
{{ | |||
| | |||
{{ | |||
</nowiki> | |||
| | |||
{{ | |||
====Text Color + Background Color==== | ====Text Color + Background Color==== | ||
{| | {{markup| | ||
<nowiki>{{font color|red|tan|Rabbitz is very awesome}} | |||
</nowiki>|{{font color|red|tan|Rabbitz is very awesome}}| | |||
<nowiki>{{font color|#e38690|tan|Rabbitz is very awesome}} | |||
</nowiki>|{{font color|#e38690|tan|Rabbitz is very awesome}}| | |||
{{ | <nowiki>{{font color|tan|#e38690|Rabbitz is very awesome}} | ||
</nowiki> | </nowiki>|{{font color|tan|#e38690|Rabbitz is very awesome}}| | ||
| | <nowiki>{{font color|#c6cccc|#e38690|Rabbitz is very awesome}} | ||
{{ | </nowiki>|{{font color|#c6cccc|#e38690|Rabbitz is very awesome}}}}<!-- Template:Mra --> | ||
| | |||
{{ | |||
</nowiki> | |||
| | |||
{{ | |||
| | |||
{{ | |||
</nowiki> | |||
| | |||
{{ | |||
| | |||
{{ | |||
</nowiki> | |||
| | |||
{{ | |||
===Font=== | ===Font=== | ||
{ | {{markup| | ||
<nowiki>{{font|Rabbitz is very awesome|font=Georgia}} | |||
</nowiki>|{{font|Rabbitz is very awesome|font=Georgia}}}}<!-- Template:Mra --> | |||
| | |||
</nowiki> | |||
| | |||
|} | |||
=== | ===Superscript and subscript=== | ||
{| | {{markup| | ||
<nowiki>Rabbitz is very <sup>awesome</sup> | |||
</nowiki>|Rabbitz is very <sup>awesome</sup>| | |||
<nowiki>Rabbitz is <sub>awesome</sub> | |||
|< | </nowiki>|Rabbitz is <sub>awesome</sub>}}<!-- Template:Mra --> | ||
</nowiki> | |||
|Rabbitz is | |||
=== Headings === | === Headings === | ||
Line 236: | Line 132: | ||
Headings are surrounded with equal signs (<code>=</code>). Heading 1, with one equals sign, is used for article titles and should not be used within articles. A table of contents will be generated automatically if there are four or more headings. | Headings are surrounded with equal signs (<code>=</code>). Heading 1, with one equals sign, is used for article titles and should not be used within articles. A table of contents will be generated automatically if there are four or more headings. | ||
<!-- don't use subst:mra here, since it would generate real headings, not fake ones --> | |||
{{markup | {{markup | ||
|<nowiki>= Heading 1 = | |<nowiki>= Heading 1 = | ||
Line 282: | Line 179: | ||
[[Intentionally permanent red link|A red link]] indicates that the linked page does not exist yet. | [[Intentionally permanent red link|A red link]] indicates that the linked page does not exist yet. | ||
<!-- TODO: | |||
- images | |||
- line breaks | |||
- external links | |||
- templates | |||
- tables | |||
- further information links | |||
--> | |||
__NOEDITSECTION__ | __NOEDITSECTION__ |
Revision as of 20:33, 2 January 2022
The following guide serves as a guide to Wiki-text hosted on this wiki. If you'd like a general guide to editing pages, you can view the MediaWiki guide to editing pages here. A wikitext cheatsheet is available here.
Formatting Text
These are the basics of wikitext:
Basic Styles
Markup | Renders as |
---|---|
'''Bold text''' |
Bold text |
''Italic text'' |
Italic text |
'''''Bold and italic text''''' |
Bold and italic text |
<s>Strikethrough</s> |
|
<code>Code (monospaced)</code> |
|
Lists
Numbered List
Markup | Renders as |
---|---|
#Rabbitz #Gets #More #Awesome ##The ###More ####This ###List ##Goes #On |
|
Bulleted List
Markup | Renders as |
---|---|
*Rabbitz *Gets *More *Awesome **The ***More ****This ***List **Goes *On |
|
Term and Definition List
Markup | Renders as |
---|---|
; Rabbitz (Term) : Awesome (Definition) |
|
; Rabbitz (Term) : Awesome (Definition) : Awesomer (Definition) : Awesomest (Definition) |
|
Font Color
Text Color
Markup | Renders as |
---|---|
{{font color|red|Rabbitz is very awesome}} |
Rabbitz is very awesome |
{{font color|#e38690|Rabbitz is very awesome}} |
Rabbitz is very awesome |
Text Color + Background Color
Markup | Renders as |
---|---|
{{font color|red|tan|Rabbitz is very awesome}} |
Rabbitz is very awesome |
{{font color|#e38690|tan|Rabbitz is very awesome}} |
Rabbitz is very awesome |
{{font color|tan|#e38690|Rabbitz is very awesome}} |
Rabbitz is very awesome |
{{font color|#c6cccc|#e38690|Rabbitz is very awesome}} |
Rabbitz is very awesome |
Font
Markup | Renders as |
---|---|
{{font|Rabbitz is very awesome|font=Georgia}} |
Rabbitz is very awesome |
Superscript and subscript
Markup | Renders as |
---|---|
Rabbitz is very <sup>awesome</sup> |
Rabbitz is very awesome |
Rabbitz is <sub>awesome</sub> |
Rabbitz is awesome |
Headings
Headings are surrounded with equal signs (=
). Heading 1, with one equals sign, is used for article titles and should not be used within articles. A table of contents will be generated automatically if there are four or more headings.
Markup | Renders as |
---|---|
= Heading 1 = == Heading 2 == === Heading 3 === ==== Heading 4 ==== ===== Heading 5 ===== ====== Heading 6 ====== |
|
Invisible text (comments)
Comments are notes that are visible in the wikitext editor, but not in the "rendered" article that is visible to readers.
This may be useful, for example, to alert other editors to common mistakes, or to hide a section of a work-in-progress article but keep your wikitext, so it won't be lost forever.
The hidden text should be surrounded with <!--
and -->
. For example: <!-- this text will be hidden except in 'edit' mode -->
Comments can also cover multiple lines. For example:
<!-- This comment covers multiple lines -->
Nesting comments inside of each other can produce odd results. If you somehow find a need for that, you can also used the {{Void}} template, which can be abbreviated as {{^}}.
Links
To link to another article, surround the name of the article in two square brackets. For example, [[the South Pacific]]
produces the South Pacific. You can also change the text displayed. For example, [[the South Pacific|TSP]]
produces TSP.
If you are editing roleplay pages, you may commonly use this to hide the canon from article names. For Pacifica, you may find it more convenient to use the template {{Pacifica}}, which can be abbreviated as {{Pa}}. (You can click on the name of the template to view its documentation page, which explains how to use it.)
You can link to a section of a page with [[page name#section name]]
.
A red link indicates that the linked page does not exist yet.