「ヘルプ:チートシート」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(文字列「[[zh-CN:」を「[[zh-hans:」に置換)
(en:Help:Cheatsheet en:ID: 595576 の版の状態に同期)
36行目: 36行目:
 
|
 
|
 
{{ic|<nowiki>[[ページの名前]]</nowiki>}}<br />
 
{{ic|<nowiki>[[ページの名前]]</nowiki>}}<br />
{{ic|<nowiki>[[ページの名前|表示するテキスト]]</nowiki>}}
+
{{ic|<nowiki>[[ページの名前|表示するテキスト]]</nowiki>}}<br />
  +
{{ic|<nowiki>[[Name of page#Section]]</nowiki>}}
 
|
 
|
 
[[ページの名前]]<br />
 
[[ページの名前]]<br />
[[ページの名前|表示するテキスト]]
+
[[ページの名前|表示するテキスト]]<br />
  +
[[Name of page#Section]]
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|Link to section on same page
  +
|
  +
{{ic|<nowiki>[[#Section]]</nowiki>}}
  +
|
  +
[[#Section]]
 
|- style="border-top:1px solid #aaaaaa;"
 
|- style="border-top:1px solid #aaaaaa;"
 
|カテゴリにページを追加 <div style="padding-left:.5em; font-size:0.9em;">''カテゴリはページの'''一番上'''に記述してください。''</div>
 
|カテゴリにページを追加 <div style="padding-left:.5em; font-size:0.9em;">''カテゴリはページの'''一番上'''に記述してください。''</div>
74行目: 82行目:
 
|
 
|
 
<u>underline</u>
 
<u>underline</u>
|- style="border-top:1px solid #aaaaaa;"
 
|テキストを中央に表示
 
|
 
{{ic|<nowiki><center>center</center></nowiki>}}
 
|
 
<center>center</center>
 
 
|- style="border-top:1px solid #aaaaaa;"
 
|- style="border-top:1px solid #aaaaaa;"
 
|上付き文字と下付き文字
 
|上付き文字と下付き文字
 
|
 
|
{{ic|<nowiki><sub>sub</sub> <sup>sup</sup></nowiki>}}
+
{{ic|<nowiki>regular<sub>sub</sub> <sup>sup</sup></nowiki>}}
 
|
 
|
<sub>sub</sub> <sup>sup</sup>
+
regular<sub>sub</sub> <sup>sup</sup>
   
 
|- style="background:#333333; color:#ffffff; font-size: 0.9em; text-align:center;"
 
|- style="background:#333333; color:#ffffff; font-size: 0.9em; text-align:center;"
182行目: 184行目:
 
::second indent
 
::second indent
 
:::third indent
 
:::third indent
  +
|- style="background:#333333; color:#ffffff; font-size: 0.9em; text-align:center;"
  +
| colspan="3" | '''Templates'''
  +
|- style="background:#333333; color:#ffffff; font-size: 0.9em; text-align:center;"
  +
| width="30%" |Description
  +
| |You type
  +
| width="30%" |You get
  +
|-
  +
|Inline code
  +
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:ic]].''</div>
  +
|
  +
{{ic|<nowiki>{{ic|code}}</nowiki>}}
  +
|
  +
{{ic|code}}
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|Character escape
  +
<div style="padding-left:.5em; font-size:0.9em;">''See [[Help:Template#Escape template-breaking characters]].''</div>
  +
|
  +
{{ic|<nowiki>{{ic|1=echo =}}</nowiki>}}
  +
|
  +
{{ic|1=echo =}}
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|Block code
  +
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:bc]].''</div>
  +
|
  +
{{bc|<nowiki>
  +
{{bc|
  +
block
  +
code
  +
}}
  +
</nowiki>}}
  +
|
  +
{{bc|
  +
block
  +
code
  +
}}
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|Block code with header
  +
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:hc]].''</div>
  +
|
  +
{{bc|<nowiki>
  +
{{hc|header|
  +
block
  +
}}
  +
</nowiki>}}
  +
|
  +
{{hc|header|
  +
block
  +
}}
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|Note
  +
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Note]].''</div>
  +
|
  +
{{ic|<nowiki>{{Note|This text should be noted.}}</nowiki>}}
  +
|
  +
{{Note|This text should be noted.}}
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|Warning
  +
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Warning]].''</div>
  +
|
  +
{{ic|<nowiki>{{Warning|This text should be heeded.}}</nowiki>}}
  +
|
  +
{{Warning|This text should be heeded.}}
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|Man page
  +
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:man]].''</div>
  +
|
  +
{{ic|<nowiki>{{man|7|archlinux}}</nowiki>}}
  +
|
  +
{{man|7|archlinux}}
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|Package
  +
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:Pkg]].''</div>
  +
|
  +
{{ic|<nowiki>{{Pkg|linux}}</nowiki>}}
  +
|
  +
{{Pkg|linux}}
  +
|- style="border-top:1px solid #aaaaaa;"
  +
|AUR package
  +
<div style="padding-left:.5em; font-size:0.9em;">''Use [[Template:AUR]].''</div>
  +
|
  +
{{ic|<nowiki>{{AUR|linux-git}}</nowiki>}}
  +
|
  +
{{AUR|linux-git}}
 
|}
 
|}

2020年4月2日 (木) 09:45時点における版

編集コマンドの完全なリストはヘルプ:編集を見て下さい。編集を実験したいときは、サンドボックスを使ってください。

テキスト (wikitext)
説明 入力 出力
イタリック体

''italic''

italic

太字

'''bold'''

bold

太字でイタリック体

'''''bold & italic'''''

bold & italic

他の ArchWiki ページヘのリンク

[[ページの名前]]
[[ページの名前|表示するテキスト]]
[[Name of page#Section]]

ページの名前
表示するテキスト
Name of page#Section

Link to section on same page

[[#Section]]

#Section

カテゴリにページを追加
カテゴリはページの一番上に記述してください。
[[カテゴリ:カテゴリの名前]] ページのプレビュー時や保存されたときに下のバーにカテゴリの名前が表示される。
署名

議論ページに投稿するときは署名をしてください。

記事を編集するときに署名をしてはいけません。

~~~~

Username, 00:40, 20 4月 2024 (UTC)

テキスト (HTML)
説明 入力 出力
取り消し線

<s>strikethrough</s>

strikethrough

下線

<u>underline</u>

underline

上付き文字と下付き文字

regular<sub>sub</sub> <sup>sup</sup>

regularsub sup

行頭
説明 入力 出力
コード

コードを記述するときは、行頭に1つ以上の半角スペースを付けてください。

ヘルプ:スタイル#コードのフォーマット を参照。

 $ echo Hello World

$ echo Hello World
他のページヘのリダイレクト
リダイレクトは一行目に記述してください。

#REDIRECT [[飛び先ページ]]

飛び先ページ

セクションの見出し

見出しが4つ以上ある記事には自動的に目次が作られます。

=Level 1= は使わないでください。

ヘルプ:効果的な見出しを参照。

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

Level 2

Level 3

Level 4

Level 5
Level 6
罫線

----


黒丸付きリスト

* One
* Two
** Two point one
* Three

  • One
  • Two
    • Two point one
  • Three
番号付きリスト

# One
# Two
## Two point one
# Three

  1. One
  2. Two
    1. Two point one
  3. Three
定義リスト

; Term one: Definition one
; Term two: Definition two

Term one
Definition one
Term two
Definition two
テキストのインデント
これは通常トークページで返信をするときに、その会話の流れを把握しやすくするために用います。

no indent (normal)
:first indent
::second indent
:::third indent

no indent (normal)

first indent
second indent
third indent
Templates
Description You type You get
Inline code

{{ic|code}}

code

Character escape

{{ic|1=echo =}}

echo =

Block code
{{bc|
block
code
}}
block
code
Block code with header
{{hc|header|
block
}}
header
block
Note

{{Note|This text should be noted.}}

ノート: This text should be noted.
Warning

{{Warning|This text should be heeded.}}

警告: This text should be heeded.
Man page

{{man|7|archlinux}}

archlinux(7)

Package

{{Pkg|linux}}

linux

AUR package

{{AUR|linux-git}}

linux-gitAUR