Help:Modifying text: Difference between revisions
(Updated using Fanon Wiki's version, and documented the remaining items.) |
m (→Size) |
||
(One intermediate revision by the same user not shown) | |||
Line 46: | Line 46: | ||
==Size== | ==Size== | ||
Text size can be <small>decreased</small> or <big>increased</big> using <code><nowiki><small></nowiki></code> and <code><nowiki><big></nowiki></code> tags | Text size can be <small>decreased</small> or <big>increased</big> using {{t|text size}}, or <code><nowiki><small></nowiki></code> and <code><nowiki><big></nowiki></code> tags, which can be stacked several times to intensify the change in text size. | ||
More specific adjustment in text size can be made to text using a <code><nowiki><span></nowiki></code> tag: | More specific adjustment in text size can be made to text using a <code><nowiki><span></nowiki></code> tag: | ||
Line 52: | Line 52: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Code !! Result | ! Code !! Result | ||
|- | |||
| <nowiki>{{text size|Example|20}}</nowiki> || {{text size|Example|20}} | |||
|- | |- | ||
| <nowiki><span style="font-size:20px>Example</span></nowiki> || <span style="font-size:20px>Example</span> | | <nowiki><span style="font-size:20px>Example</span></nowiki> || <span style="font-size:20px>Example</span> |
Latest revision as of 14:37, 9 July 2022
|
On Pikmin Fanon, and wikis generally, 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 inExample.<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.
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:
- 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 (##
):
- Example
- 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
- 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:
- Example
- Example
Size
Text size can be decreased or increased using {{text size}}, or <small>
and <big>
tags, which can 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 |
---|---|
{{text size|Example|20}} | Example |
<span style="font-size:20px>Example</span> | Example |
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.