Jump to content

チートシート

From mediawiki.org
This page is a translated version of the page Cheatsheet and the translation is 100% complete.

ウィキでは、単語を他のサイトや記事へのリンクにしたり、レイアウト用の表を作成したり、テキストを見出しに分割したりといった書式設定要素を表すために、アスタリスク、一重引用符、角括弧、中括弧などの記号を使用します。 MediaWiki (ウィキペディア)プロジェクトで使用されているこのようなテキストマークアップのことをウィキテキストと呼んでいます。

以下は、最も一般的に使用されているウィキテキストによる書式設定の表で、中央の列は「編集モード」(ページ上部の編集リンクをクリックして移動)で記事に入力する内容、右側の列は記事を閲覧する際に出力される結果を示しています。 編集とウィキテキストの詳細については、Help:Wikitextを参照してください。

説明 入力 出力
どこでも適用可能
斜体テキスト ''italic'' italic
 
太字テキスト '''bold''' bold
 
太字と斜体 '''''bold & italic''''' bold & italic
 
内部リンク (このウィキ内)
[[name of page]]

[[name of page|display text]]

name of page

display text

内部リンク (カテゴリ) [[:Category:name of category]] Category:name of category
ウィキ間リンク (パートナーウィキ) [[w:name of article]]

[[wiki:name of article]]
[[wiki:name of article|display text]]

w:name of article

wiki:name of article
display text

red links mean the page doesn't exist yet
 
外部リンク (その他のウェブサイト) [http://www.example.com]

[http://www.example.com display text]
http://www.example.com
[mailto:jane@example.com Jane's email]

[1]

display text
http://www.example.com
Janes's email

 
リダイレクト #redirect [[Target page]]
  1. redirect Target page
 
署名 ~~~

~~~~
~~~~~

J.Doe
J.Doe 20:59, 16 May 2026 (UTC)[reply]
20:59, 16 May 2026 (UTC)

 
ウィキ マークアップの回避 with ''markup''

<nowiki>without ''markup''</nowiki>

with markup

without ''markup''

行頭のみ適用
異なるサイズの見出し
== level 1 ==
=== level 2 ===
==== level 3 ====
===== level 4 =====
目次を非表示にするには、記事内に __NOTOC__ を入力します

Level 1

Level 2

Level 3

Level 4
 
Outline numbered headings
# one
# two
## two point one
# three
  1. one
  2. two
    1. two point one
  3. three
 
番号なしリスト (ビュレットによる箇条書き)
* one
* two
** two point one
* three
  • one
  • two
    • two point one
  • three
 
定義リスト
; Definition
: item 1
: item 2
Definition
item 1
item 2
 
サムネイル画像 [[File:Example.jpg|thumb|Caption text]]
キャプション テキスト