code

code

Code snippet with syntax highlighting

```language
// Your code here
```

details

layout

Collapsible details section

{{details|Summary Title|
Content goes here.
You can use **Markdown** inside.
}}

infobox

infobox

Information box for structured data

{{infobox
| title = 
| image = 
| caption = 
| field1 = 
| value1 = 
}}

note

alert

Note/information alert box

> [!NOTE]
> Important information here

quote

quote

Styled quotation block

> Quote text here
> 
> — Author Name

toc

toc

Table of contents template

## Table of Contents
- [Section 1](#section-1)
- [Section 2](#section-2)

warning

alert

Warning alert box

> [!WARNING]
> Warning message here

youtube

embed

Embed 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**も使用可能です。
}}