Help:Modifying text: Difference between revisions

From Fanon Wiki
mNo edit summary
No edit summary
Line 2: Line 2:
{{construction}}
{{construction}}
{{todo|Document the following:
{{todo|Document the following:
*Changing text and link color through {{t|color}} and tags;
*<sup>Superscripts</sup> and <sub>Subscripts</sub>;
*<sup>Superscripts</sup> and <sub>Subscripts</sub>;
*Hiding comments in the page source using <nowiki><!-- <text> --></nowiki>.}}
*Hiding comments in the page source using <nowiki><!-- <text> --></nowiki>.}}


On [[Fanon Wiki:About|Fanon Wiki]], there are numerous ways to '''modify text'''. This page explains how to do so.  
On [[Fanon Wiki:About|Fanon Wiki]] (and wikis in general), there are numerous ways to '''modify text'''. This page explains how to do so.  


==Italicizing and bolding==
==Italicizing and bolding==
Line 51: Line 50:


You can also make more specific adjustments by putting the text in a <nowiki><span></nowiki> tag and using style="font-size:size" or class="fs-number" (more details on using class [[User:Lakelimbo/Syntax|here]]).
You can also make more specific adjustments by putting the text in a <nowiki><span></nowiki> tag and using style="font-size:size" or class="fs-number" (more details on using class [[User:Lakelimbo/Syntax|here]]).
==Colored text==
Text can be {{color|colored|darkgreen}} by using {{t|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 hex codes) will have to be used. To color text in an entire element (such as a div box) add style="color:color".
[[Category:Help]]
[[Category:Help]]
{{Policies}}
{{Policies}}

Revision as of 12:41, 8 May 2022

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.
To do: Document the following:
  • Superscripts and Subscripts;
  • Hiding comments in the page source using <!-- <text> -->.
Care to help?

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 modification are italicizing and bolding text. These can be used in a plethora of situations, such as giving emphasis on a 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.

In addition to this, users can also bold and italicize text at the same time. It is triggered by using five apostrophes, or both aforementioned stages, before and after the text.

Strike-through and underline

In addition to the basic italicization and bolding of text, users can also strike-through and underline text. Unlike bolding and italicizing, they are used not as often, however, they are still available if users need them. 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.

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

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

You can also stack two of the same symbol

  • Example
    • Example

or

  1. Example
    1. Example

Text size

Text size can be decreased or increased using <small> and <big>. Small text and large text

They can also be stacked like this and this

You can also make more specific adjustments by putting the text in a <span> tag and using style="font-size:size" or class="fs-number" (more details on using class here).

Colored text

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 hex codes) will have to be used. To color text in an entire element (such as a div box) add style="color:color".