テンプレート一覧
記事作成時に使用できるテンプレートです。コピーして記事に貼り付けてください。
code
codeCode snippet with syntax highlighting
```language
// Your code here
```
details
layoutCollapsible details section
{{details|Summary Title|
Content goes here.
You can use **Markdown** inside.
}}
infobox
infoboxInformation box for structured data
{{infobox
| title =
| image =
| caption =
| field1 =
| value1 =
}}
note
alertNote/information alert box
> [!NOTE]
> Important information here
quote
quoteStyled quotation block
> Quote text here
>
> — Author Name
toc
tocTable of contents template
## Table of Contents
- [Section 1](#section-1)
- [Section 2](#section-2)
warning
alertWarning alert box
> [!WARNING]
> Warning message here
youtube
embedEmbed a YouTube video
{{youtube|VIDEO_ID}}
テンプレートの使い方
1. Infobox(情報ボックス)
記事の右側に表示される構造化された情報ボックスです。
{{infobox
| title = タイトル
| image = 画像URL
| caption = 画像の説明
| field1 = フィールド名1
| value1 = 値1
| field2 = フィールド名2
| value2 = 値2
}}
2. Code(コードブロック)
シンタックスハイライト付きのコードブロックです。
```javascript
function hello() {
console.log("Hello, World!");
}
```
3. Quote(引用)
引用文を美しく表示します。
> これは引用文です
>
> — 著者名
4. Note/Warning(アラート)
重要な情報や警告を目立たせます。
> [!NOTE]
> 重要な情報をここに記載
> [!WARNING]
> 警告メッセージをここに記載
5. YouTube
YouTube動画を埋め込みます。
{{youtube|VIDEO_ID}}
6. Details(折りたたみ)
クリックで展開する詳細情報を作成します。
{{details|タイトル|
ここに詳細な内容を記述します。
**Markdown**も使用可能です。
}}