Help:Modifying text

From Fanon Wiki
Logo mono black.png
This is one of Fanon Wiki's help pages and is meant to aid users by improving their ability to positively contribute to the wiki. Expanding pages such as this with additional information is always welcome.
Logo mono black.png
Construction.png
This page is under construction.

On Fanon Wiki, and wikis in general, there are numerous ways to modify text. This page explains how to do so.

Italicizing and bolding

Notably the most commonly used format of text modifying are italicizing and bolding text. These can be used in a plethora of situations, such as giving emphasis on certain text, making it more visible to readers, etc. To italicize or bold text, one must use two or three apostrophes before and after text, respectively. Here's an example of italicizing and bolding text:

  • ''Example'' will result in Example.
  • '''Example''' will result in Example.

Additionally, users may also use tags to achieve the same modifications, although using apostrophes is more preferred:

  • <i>Example</i> will result in Example.
  • <b>Example</b> will result in Example.

Furthermore, users can also bold and italicize text at the same time. It is triggered by using five apostrophes, or both aforementioned tags, before and after text.

Strikethrough and underline

In addition to the basic italicization and bolding of text, users can also strikethrough and underline text. They are used much less often than bolding and italicizing, however, they are still available if needed. Using it is more complicated but still generally easy. Triggering them is explained below:

  • <s>Example</s> will result in Example.
  • <u>Example</u> will result in Example.

Superscripts and subscripts

Text can be positioned higher or lower using <sup> and <sub> tags, respectively. Superscripts are commonly used to indicate reference notes on pages. (However, do not use raw superscript for references, use <ref> tags instead.)

Listing

Creating a bulleted list requires placing an asterisk (*) at the start of a new line. Typing *Example results as:

  • Example

Creating a numbered list also requires by placing a point at the left side of the editing screen but with an octothorp (#). Typing #Example results as:

  1. Example

Bulleted items can be indented by putting two asterisks (**) consecutively on the same line under a bulleted item, to display properly:

  • Example
    • Example

The same is true for octothorps (##):

  1. Example
    1. Example

It is possible to merge both characters, by putting the asterisk first and the octothorp second (*#). Typing *#Example under a bulleted item, to display properly, results as:

  • Example
    1. Example

The inverse also works, by putting the octothorp first and the asterisk second (#*). Typing #*Example under a numbered item, to display properly, results as:

  1. Example
    • Example

Size

Text size can be decreased or increased using <small> and <big> tags. They can also be stacked several times to intensify the change in text size

More specific adjustment in text size can be made to text using a <span> tag:

Code Result
<span style="font-size:20px>Example</span> Example

Additionally, font size can be changed using class="fs-<number>". More details on using class are found here.

Color

Text can be colored by using {{color}}, with the text as the first parameter and the color to change it to being the second parameter. Some basic colors can be typed out as color names, but for more complex colors, another system, most often hexadecimal codes, must be used. To color text in an entire element, such as a <span> tag, add style="color:<color name or hexadecimal code>".

Code Result
{{color|Example|green}} Example
{{color|Example|#070}} Example
<span style="color:green>Example</span> Example
<span style="color:#070px>Example</span> Example

Hidden text

Text, as well as other content in a page, can be hidden from normal view, in a page's code, using <!-- <text> -->. This is useful for inserting comments or notes that would be important only to a page's editors.