# テンプレート

UpNoteの\*\*テンプレート（Templates）\*\*機能を使うと、\
よく使うノートの構成を再利用して、作業時間を大幅に短縮できます。\
たとえば、**会議メモ、日記、チェックリスト、プロジェクト計画書**など、\
定期的に使うノート形式をテンプレートとして保存しておけば、\
いつでもすぐに同じ構成で新しいノートを作成できます。

***

#### テンプレートを作成する <a href="#id-246c" id="id-246c"></a>

既存のノートからテンプレートを作成するには、\
ノートエディタ上部の **`…`（その他）** ボタンをクリック／タップし、\
\&#xNAN;**`Copy to Templates（テンプレートにコピー）`** を選択します。

<figure><img src="https://miro.medium.com/max/1400/1*Z27JUtFVtdit1pdDLy2mDg.png" alt=""><figcaption></figcaption></figure>

***

#### テンプレートを表示・編集する <a href="#id-9250" id="id-9250"></a>

作成したテンプレートは、サイドバーの **Templates（テンプレート）** セクションからすべて確認できます。

<figure><img src="https://miro.medium.com/max/1400/1*2TYxEAWobtkR2exEIjpovQ.png" alt=""><figcaption></figcaption></figure>

テンプレートセクションでは、\
テンプレートの**編集**・**削除**・**新規作成**を行うことができます。\
画面右上の **`New Template（新しいテンプレート）`** ボタンをクリックすると、新しいテンプレートを追加できます。

> 💡 テンプレートが1つも作成されていない場合は、\
> インターフェースをすっきり保つためテンプレートセクションは表示されません。

テンプレートを使ってすぐにノートを作成したい場合は、\
テンプレートエディタ上部の **`New note from this template（このテンプレートから新しいノートを作成）`** ボタンをクリックします。

<figure><img src="https://miro.medium.com/max/1400/1*RZpGRnAJ-lUDexLx2N9FiA.png" alt=""><figcaption></figcaption></figure>

***

#### 日付・時刻入りテンプレートを作成する

会議メモや日記などでは、ノートに**日付や時刻**を挿入したい場合があります。\
テンプレート内で **`{{date}}`**, **`{{time}}`**, **`{{datetime}}`** を入力すると、\
テンプレートを使用した際に現在の日付・時刻が自動で挿入されます。

日付／時刻フォーマットはタグを組み合わせて自由に設定できます。

例：\
「月曜日 - Jan 02 2023」のような形式にしたい場合は、\
\&#xNAN;**`{{EEEE}} - {{MM}}{{DD}} {{YYYY}}`** と入力します。

<figure><img src="https://miro.medium.com/max/1400/1*MPwg7YKWWvA0vjzc5skVTg.png" alt=""><figcaption></figcaption></figure>

利用可能なすべての日付・時刻フォーマットは\
[こちらの表](https://day.js.org/docs/en/parse/string-format#list-of-all-available-parsing-tokens)をご覧ください。

***

#### テンプレートからノートを作成する <a href="#id-0222" id="id-0222"></a>

新しいノートを作成する際、保存済みテンプレートから内容を挿入できます。\
テンプレートを選択すると、エディタにその内容が自動的に展開され、\
すぐに書き始めることができます。

ノート作成画面で **`select from Templates（テンプレートから選択）`** をクリック／タップします。

<figure><img src="https://miro.medium.com/max/1400/1*LsOamS0jqVRmSQILuqTxgA.png" alt=""><figcaption></figcaption></figure>

または、ノート内で **`/temp`** と入力すると、任意の位置にテンプレートを挿入できます。

<figure><img src="https://3053791484-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFt4LISrSRa6fHrbSIdcE%2Fuploads%2F9xCnDS09B4qa7JSfEred%2Fimage.png?alt=media&#x26;token=8342c362-efe0-4b6a-8c96-34742f567cb0" alt="" width="254"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.getupnote.com/ja/write-and-edit/templates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
