Help:Modifying text: Difference between revisions

From Pikmin Fanon
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Help}}
{{help}}
{{construction|Username}}
 
On Pikmin Fanon, there are numerous ways to modify text, so this page will demonstrate how to '''modify text'''.  
On [[PikminFanon:About|Pikmin Fanon]], and wikis generally, there are numerous ways to '''modify text'''. This page explains how to do so.  


==Italicizing and bolding==
==Italicizing and bolding==
To italicize a text, two <code><nowiki>''</nowiki></code> apostrophes are required and one pair needs to be placed at the start and the other at the end; location doesn't matter. Example:  
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:
*<code><nowiki>''Example''</nowiki></code> results as ''Example''
 
To bold a text, three <code><nowiki>'''</nowiki></code> apostrophes are required and one pair needs to be placed at the start and the other at the end; location doesn't matter for this one either. Example:
*<code><nowiki>''Example''</nowiki></code> will result in ''Example''.
*<code><nowiki>'''Example'''</nowiki></code> results as '''Example'''
*<code><nowiki>'''Example'''</nowiki></code> will result in '''Example'''.
To bold and italicize a text, five <code><nowiki>'''''</nowiki></code> apostrophes are required and one pair needs to be placed at the start and the other at the end; location doesn't matter for this one either. Example:
 
*<code><nowiki>'''''Example'''''</nowiki></code> results as '''''Example'''''
Additionally, users may also use tags to achieve the same modifications, although using apostrophes is more preferred:
 
*<code><nowiki><i>Example</i></nowiki></code> will result in <i>Example</i>.
*<code><nowiki><b>Example</b></nowiki></code> will result in <b>Example</b>.


==Strike-through and underline==
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.
*<code><nowiki><s>Example</s></nowiki></code> results as <s>Example</s>
 
*<code><nowiki><u>Example</u></nowiki></code> results as <u>Example</u>
==Strikethrough and underline==
In addition to the basic italicization and bolding of text, users can also <s>strikethrough</s> and <u>underline</u> 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:
 
*<code><nowiki><s>Example</s></nowiki></code> will result in <s>Example</s>.
*<code><nowiki><u>Example</u></nowiki></code> will result in <u>Example</u>.
 
==Superscripts and subscripts==
Text can be positioned <sup>higher</sup> or <sub>lower</sub> using <code><nowiki><sup></nowiki></code> and <code><nowiki><sub></nowiki></code> tags, respectively. Superscripts are commonly used to indicate reference notes on pages.


==Listing==
==Listing==
Creating a bulleted list requires placing a bulleted point <code><nowiki>*</nowiki></code> at the left side of the editing screen.
Creating a bulleted list requires placing an asterisk (<code><nowiki>*</nowiki></code>) at the start of a new line. Typing <code><nowiki>*Example</nowiki></code> results as:
<code><nowiki>*Example</nowiki></code> results as
*Example
*Example
Creating a numbered list also requires by placing a point at the left side of the editing screen but with a <code><nowiki>#</nowiki></code> hashtag.
Creating a numbered list also requires by placing a point at the left side of the editing screen but with an octothorp (<code><nowiki>#</nowiki></code>). Typing <code><nowiki>#Example</nowiki></code> results as:
<code><nowiki>#Example</nowiki></code> results as
#Example
 
Bulleted items can be indented by putting two asterisks (<code><nowiki>**</nowiki></code>) consecutively on the same line under a bulleted item, to display properly:
*Example
**Example
The same is true for octothorps (<code><nowiki>##</nowiki></code>):
#Example
##Example
 
It is possible to merge both characters, by putting the asterisk first and the octothorp second (<code><nowiki>*#</nowiki></code>). Typing <code><nowiki>*#Example</nowiki></code> under a bulleted item, to display properly, results as:
*Example
*#Example
The inverse also works, by putting the octothorp first and the asterisk second (<code><nowiki>#*</nowiki></code>). Typing <code><nowiki>#*Example</nowiki></code> under a numbered item, to display properly, results as:
#Example
#Example
Merging both characters, by putting the hashtag first, and then bullet point second "<code><nowiki>#*</nowiki></code>". <code><nowiki>#*Example</nowiki></code> results as
#*Example
#*Example
Same thing here, but putting the bullet point first, and then hashtag second "<code><nowiki>*#</nowiki></code>". <code><nowiki>*#Example</nowiki></code> results as
 
*#Example
==Size==
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:
 
{| class="wikitable"
! 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>
|}
 
==Color==
Text can be {{color|colored|#070}} 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 hexadecimal codes, must be used. To color text in an entire element, such as a <code><nowiki><span></nowiki></code> tag, add <code><nowiki>style="color:<color name or hexadecimal code>"</nowiki></code>.
 
{| class="wikitable"
! Code !! Result
|-
| <nowiki>{{color|Example|green}}</nowiki> || {{color|Example|green}}
|-
| <nowiki>{{color|Example|#070}}</nowiki> || {{color|Example|#070}}
|-
| <nowiki><span style="color:green>Example</span></nowiki> || <span style="color:green>Example</span>
|-
| <nowiki><span style="color:#070px>Example</span></nowiki> || <span style="color:#070>Example</span>
|}
 
==Hidden text==
Text, as well as other content in a page, can be hidden from normal view, in a page's code, using <code><nowiki><!-- <text> --></nowiki></code>. This is useful for inserting comments or notes that would be important only to a page's editors.


[[Category:Help]]
[[Category:Help]]

Latest revision as of 14:37, 9 July 2022

Pikilogo.png
This is one of Pikmin Fanon'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.
Pikilogo.png

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

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 {{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.