Help:Wikitext: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(add info on headings (did we really not have this lol?))
(add comments)
Line 250: Line 250:
{{fake heading|sub=6|Heading 6}}
{{fake heading|sub=6|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 <code><nowiki><!--</nowiki></code> and <code><nowiki>--></nowiki></code>. For example: <code><nowiki><!-- this text will be hidden except in 'edit' mode --></nowiki></code>
Comments can also cover multiple lines. For example:
<pre><nowiki>
<!-- This comment covers
multiple lines -->
</nowiki></pre>
<!-- See? You can only see this comment in edit mode. -->


__NOEDITSECTION__
__NOEDITSECTION__

Revision as of 07:19, 1 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.

Formatting Text

These are the basics of Wiki-text; the fundamentals of which every editors needs to know:

Strike Through

Markup Renders as
<s>Rabbitz is very awesome</s>

Rabbitz is very awesome


Bold

Markup Renders as
'''Rabbitz is very awesome'''

Rabbitz is very awesome


Italics

Markup Renders as
''Rabbitz is very awesome''

Rabbitz is very awesome


Bold and Italicized

Markup Renders as
'''''Rabbitz is very awesome'''''

Rabbitz is very awesome


Lists

Numbered List

Markup Renders as
#Rabbitz
#Gets
#More
#Awesome
##The
###More
####This
###List
##Goes
#On
  1. Rabbitz
  2. Gets
  3. More
  4. Awesome
    1. The
      1. More
        1. This
      2. List
    2. Goes
  5. On

Bulleted List

Markup Renders as
*Rabbitz
*Gets
*More
*Awesome
**The
***More
****This
***List
**Goes
*On
  • 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)
; Rabbitz (Term) 
: Awesome (Definition)
: Awesomer (Definition)
: Awesomest (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

<span style="font-family:Garamond;">Rabbitz is very awesome</span>

Rabbitz is very awesome


Superscripts

Markup Renders as
Rabbitz is very<sup>awesome</sup> Rabbitz isawesome

Subscript

Markup Renders as
Rabbitz is<sub>awesome</sub> Rabbitz is veryawesome

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 ======
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 -->