Movatterモバイル変換


[0]ホーム

URL:


Community CentralCommunity Central
Don't have an account?
Register
Sign In
Skip to content
Community Central
40,030
pages

Wikitext is the main markup language used to format content on Fandom. It can be used to add photos, tables, bold styles, links, and many other visual changes.

It's not necessary to know wikitext in order to edit a page: you can use theVisual Editor to avoid it. However, users who learn it may appreciate the additional control they have over page content.

Wikitext can be used viasource editor in either editor. To access an article's wikitext:

  • Visual Editor: click "VisualEditor" in the top middle, above the edit bar, which will open a menu where you can select "Source editing".
  • Before editing, you can go right to source mode by clicking the arrow next to the edit button, and clicking "edit source" from the drop-down menu.
  • When editing a section of an article, click "edit source" to edit that section in source.

On both platforms, you can also choose your preferred editor inpreferences, and it will open by default when you click the edit button.

Below is an outline of basic wikitext that you can use whileediting. Many of the options listed below have shortcut buttons in the editor toolbars.

Text formatting[]

Inline wikitext: code you can use anywhere in the page
DescriptionYou typeYou get
Italicize text''italic''italic
Bold text'''bold'''bold
Underlined text<u>underline</u>underline
Bold and italic'''''bold & italic'''''bold & italic
Strikethrough<s>strikethrough</s>strikethrough
Superscript1<sup>st</sup>1st
SubscriptO<sub>2</sub>O2
Small Textsmall <small>text</small>smalltext
Big Textbig <span>text</span>bigtext
Blockquote text<blockquote>This is a blockquote</blockquote>

This is a blockquote

Internal link
(within a wiki)
[[Help:Contents]]

[[Help:Contents|Displayed text]]

Help:Contents
Displayed text
Colored link[[Help:Contents|<span>Help:Contents</span>]]Help:Contents
Redirect to another page#REDIRECT [[Help:Contents]]latestHelp:Contents
External link
(to other websites)
[https://www.example.org]

[https://www.example.org displayed text]
https://www.example.org

[1]

displayed text
https://www.example.org

Cite link<cite>https://www.fandom.com/</cite>https://www.fandom.com/
Sign your posts on talk pages (username only)~~~Your username
Sign your posts
on talk pages
~~~~ (4 tildes)Your username 07:58,

18 July 2025 (UTC)

Insert the current date and time (UTC). Generally only used on talk pages.~~~~~ (5 tildes)07:58, 18 July 2025 (UTC)
Display wikitext code as typed<nowiki>[[This is not a link]]</nowiki>[[This is not a link]]
Display text as source code<code>Source Code</code>Source Code
Code that works only at the start of a line
DescriptionYou typeYou get
Headings

Atable of contents will automatically be generated when four headings are added to an article.

(Skip level 1; it's used for the page name.)

== Level 2 ==
=== Level 3 ===
==== Level 4 ====
===== Level 5 =====
====== Level 6 ======

Level 2
Level 3
Level 4
Level 5
Level 6
Horizontal rule
Text before----Text after

Text before


Text after

Indented paragraph or line

No indent
: One indent
:: Two indents

No indent

One indent
Two indents
Bulleted list

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
Numbered list

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
Mixed list

* bulleted item
*# numbered item 1
*#: indented item a
*#: indented item b
*# numbered item 2

  • bulleted item
    1. numbered item 1
      indented item a
      indented item b
    2. numbered item 2
Definition list
;item 1: definition 1;item 2: definition 2-1: definition 2-2
item 1
definition 1
item 2
definition 2-1
definition 2-2
Preformatted textwith working links

" "[[Help:Color|Color]] Text (note space at start, remove quotation marks)

Color Text
Preformatted text that shows underlying wikitext

<pre>[[Color]] Text</pre>

[[Color]] Text

Image formatting[]

DescriptionYou typeYou get
Image[[File:SeaOtter.png]]
Sized image
(width change with aspect ratio maintained)
[[File:SeaOtter.png|100px]]
Thumbnail image[[File:SeaOtter.png|thumb|Caption text]]
SeaOtter

Caption text

Aligned image

[[File:SeaOtter.png|thumb|100px|left]][[File:SeaOtter.png|thumb|100px|center]][[File:SeaOtter.png|thumb|100px|right]]

SeaOtter
SeaOtter
SeaOtter
Linked image[[File:SeaOtter.png|link=Help:Contents]]
Changed alt text[[File:SeaOtter.png|alt=A sea otter]]A sea otter
Direct link to image[[Media:SeaOtter.png]]Media:SeaOtter.png

Paragraphs[]

MediaWiki ignores single line breaks. To start a new paragraph, leave an empty line. You can force a line break within a paragraph with the HTML tag<br>.

Without<br>With<br>

Don't breaklines

Do break
lines


HTML tags[]

SomeHTML tags are allowed in MediaWiki, for example<code>,<div>,<span> and<font>. These apply anywhere you insert them.

DescriptionYou typeYou get
Inserted
(Displays as underline in most browsers)
<ins>Inserted</ins>or<u>Underline</u>

Inserted

or

Underline

Deleted
(Displays as strikethrough in most browsers)
<s>Struck out</s>or<del>Deleted</del>

Struck out

or

Deleted

Fixed width text
<code>Source code</code>or<code>Fixed width text</code>

Source code

or

Fixed width text

Blockquotes
Text before<blockquote>Blockquote</blockquote>Text after

Text before

Blockquote

Text after

Comment
<!-- This is a comment -->Comments are only visible in the edit zone.

Comments are only visible in the edit zone.

Completely preformatted text
<pre> Text is '''preformatted''' and ''markups'' '''''cannot''''' be done</pre>

 Text is '''preformatted''' and ''markups'' '''''cannot''''' be done
Customized preformatted text
<pre>Text is '''preformatted''' with a style and ''markups'' '''''cannot''''' be done</pre>

Text is '''preformatted''' with a style and ''markups'' '''''cannot''''' be done

Inserting symbols[]

Symbols and other special characters not available on your keyboard can be inserted through a special sequence of characters. Those sequences are called HTML entities. For example, the following sequence (entity)&rarr; when inserted will be shown asright arrow HTML symbol → and&mdash; when inserted will be shown as anem dash HTML symbol —.


Hover over any character to find out the symbol that it produces. Some symbols not available in the current font will appear as empty squares.

HTML symbol entities
ÁáÂâ´ÆæÀàΑα&ÅåÃãÄäΒβ¦Ç縢
Χχˆ©¤°Δδ÷ÉéÊêÈèΕεΗη
ÐðË냽¼¾Γγ>ÍíÎî¡ÌìΙι
¿ÏïΚκΛλ«<¯µ·Μμ 
¬ÑñΝνÓóÔôŒœÒòΩωΟοªºØøÕõÖ
öΦφΠπϖ±£Ψψ"»®Ρρ
Šš§­Σσς¹²³ßΤτΘθϑÞþ˜
×ÚúÛûÙù¨ϒΥυÜüΞξÝý¥ÿŸΖζ

Description

You type

You get

Copyright symbol

&copy;
©

Greek delta letter symbol

&delta;
δ

Euro currency symbol

&euro;

See the list of all HTML entities on the Wikipedia articleList of HTML entities. Additionally, MediaWiki supports two non-standard entity reference sequences:&רלמ; and&رلم; which are both considered equivalent to&rlm; which is aright-to-left mark. (Used when combining right to left languages with left to right languages in the same page.)

HTML tags and symbol entities displayed themselves[]

  • &amp;euro;  →&euro;
  • <span> Typo to be corrected</span>  →Typo to be corrected
  • &lt;span>Typo to be corrected</span>  →<span>Typo to be corrected</span>

Nowiki for HTML[]

<nowiki />can prohibit (HTML) tags:

  • <<nowiki />pre>  → <pre>

Butnot & symbol escapes:

  • &<nowiki />amp;  → &

To print & symbol escapes as text, use "&amp;" to replace the "&" character (eg. type "&amp;nbsp;", which results in "&nbsp;").

Further wikitext examples[]

For more complex content that is sometimes more easily managed with wikitext editing, see:

See also[]

Further help and feedback[]

Community content is available underCC-BY-SA unless otherwise noted.

[8]ページ先頭

©2009-2025 Movatter.jp