「テンプレート:Unihan/sandbox」の版間の差分
削除された内容 追加された内容
細編集の要約なし |
細編集の要約なし |
||
1行目: | 1行目: | ||
<includeonly>{{ |
<includeonly><span class="plainlinksneverexpand">{{ |
||
#if:{{{format|{{{FORMAT|}}}}}} |
#if:{{{format|{{{FORMAT|}}}}}} |
||
|{{ |
|{{ |
||
#switch:{{lc:{{{format|{{{FORMAT}}}}}}}}<!-- formatの引数に応じて表示形式を変える。--> |
#switch:{{lc:{{{format|{{{FORMAT}}}}}}}}<!-- formatの引数に応じて表示形式を変える。--> |
||
|g=[https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint={{{1}}} &#x{{{1}}};] |
|g=[https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint={{{1|4e95}}} &#x{{{1|4e95}}};] |
||
|c=[https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint={{{1}}} U+{{uc:{{{1}}}}}] |
|c=[https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint={{{1|4e95}}} U+{{uc:{{{1|4e95}}}}}] |
||
|gc=[https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint={{{1}}} &#x{{{1}}}; |
|gc=[https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint={{{1|4e95}}} &#x{{{1|4e95}}};(U+{{uc:{{{1|4e95}}}}})] |
||
|#default=<strong class="error">[[Template:Unihan]]の呼び出しエラー:formatパラメーターに不明な引数{{{format|{{{FORMAT}}}}}}が使用されました。</strong>{{#if:{{NAMESPACE |
|#default=<strong class="error">[[Template:Unihan]]の呼び出しエラー:formatパラメーターに不明な引数{{{format|{{{FORMAT}}}}}}が使用されました。</strong>{{#if:{{NAMESPACE}}||[[Category:テンプレートを正しく使用していないページ]]}} |
||
}} |
}} |
||
|[https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint={{{1}}} U+{{uc:{{{1}}}}}]<!-- formatパラメータが存在しない場合は |
|[https://www.unicode.org/cgi-bin/GetUnihanData.pl?codepoint={{{1|4e95}}} U+{{uc:{{{1|4e95}}}}}]<!-- formatパラメータが存在しない場合はコードポイントのみ表示。--> |
||
}}</includeonly><noinclude> |
}}</span></includeonly><noinclude> |
||
{{Documentation}}</noinclude> |
{{Documentation}}</noinclude> |
2019年9月30日 (月) 17:41時点における版
これはテンプレート:Unihan (差分)のテンプレート・サンドボックスページです。 |
このテンプレートは、特定の文字のユニコードのコードポイント(頭にU+をつけた16進数の数字)に、ユニコードコンソーシアムが公開するUnihan Databaseへのリンクを作成します。
使い方
引数
このテンプレートは、特定の文字のユニコードのコードポイントに、ユニコードコンソーシアムが公開するUnihan Databaseへのリンクを作成します。
パラメーター | 説明 | 型 | 状態 | |
---|---|---|---|---|
コードポイント | 1 | Unicodeのコードポイント(U+を除いた16進数の数字)を入力します
| 文字列 | 必須 |
カテゴリ
このテンプレートが貼り付けられたページに適用するカテゴリはありません。