Commons:テンプレート
テンプレートとは、利用頻度の高い、繰り返し使うメッセージを楽に追加するために使われます。テンプレートという固定メッセージの形式であれば、メッセージの書き方に一貫性を持つことができるため、メッセージを読む側の利用者にも理解しやすく、ナビゲーション・ボックスや、多言語の柔軟性に対応できたり、テンプレートを使うメリットは、たくさんあります。
用意されたテンプレートを呼び出して、テンプレートの内容を表示するには、{{テンプレート名}}のように記述します。最初の1文字目は大文字でも小文字でも構いません
ギャラリー名前空間(メイン空間、メイン名前空間、またはウィキペディアの記事名前空間として参照されるものを含む)では、テンプレートは読者を手助けするためだけに存在します。これらはナビゲーションの補助やコンテンツが標準外であるという警告を含みます。テンプレートはギャラリーの会話ページにて編集者に対してのみ情報を提供します。
もしテンプレートの使い方を試したければ、Commons:Sandboxでお試しください。
- テンプレートの特定の種類に関係するページ
- Commons:ギャラリー・テンプレート – ギャラリー(記事)ページを視覚的に改善する言語コード
- Commons:コピーライト・タグ および Commons:Image copyright tags visual.
- Commons:バベル - 利用者ページの言語レベル
- Commons:メッセージ・テンプレート – 他の利用者の会話ページ用メッセージ
- Commons:Link templates – リンク生成テンプレート
- テンプレートの名前変更や移動についてはCommons:Rename a templateを参照。
カテゴリページ
テンプレート・タグ | 表示サンプル(+使い方メモ) |
---|---|
{{CatAZ}} |
|
{{ImageTOC}} |
|
{{CategoryTOC}} |
|
{{Category for discussion|ABC}} |
|
{{Move|ABC}} | |
{{Categorise}} |
|
{{CatDiffuse}} |
|
{{Category redirect|ABC}} | このカテゴリは Category:ABC として存在します。
注: このカテゴリは空であるべきです。ここにあるコンテンツはすべてカテゴリを付け直してください。
このタグは、すでにあるカテゴリで、他の利用者が使いそうで、かつ「実際の」カテゴリが別にある時にのみ使われなければなりません。リダイレクト化したカテゴリは空にし、またカテゴリ付けをしてはいけません。誤字を含んでいて、他の利用者が使用しそうにもないカテゴリには使用しないでください。そのようなカテゴリには、{{speedy|Wrong name, see Category:正しいカテゴリ名}} のタグを付けてください。
|
{{CatDevelop}} |
|
{{CatDispute}} |
削除
テンプレート・タグ | 表示サンプル(+使い方メモ) | ||||||
---|---|---|---|---|---|---|---|
{{Speedydelete|Reason}} |
| ||||||
{{Delete|Reason}} |
| ||||||
The text below is generated by a template which has been proposed for deletion. Please see its entry on Commons:Deletion requests/ for comments and reasoning.
| |||||||
{{No source since}} |
| ||||||
{{No license since}} |
| ||||||
|
ファイル説明ページ
![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/17/System-search.svg/25px-System-search.svg.png)
情報
テンプレート・タグ | 表示サンプル(+使い方メモ) | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Information}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Artwork}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Book}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Creator}} |
This documentation is transcluded from Template:Creator/documentation.
Creator page template, created by filling parameters of {{Creator}}, is intended for author/artist field of {{Information}}, {{Artwork}}, {{Art Photo}} and {{Book}} templates The template automatically sets the following categories: Category:Creator template maintenance; Category:Bad use of creator template - option Usage
for parameters see: {{Creator}} The template takes no parameters. Additional informationThe template is intended to be used in the following namespaces: all namespaces The template is intended to be used by the following user groups: all users See also
Changing template content on WikidataIf the template above shows the logo
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Institution}} |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
許可と制限
テンプレート・タグ | 表示サンプル(+使い方メモ) | ||
---|---|---|---|
{{PermissionTicket}} |
|
||
{{Consent}} |
| ||
| |||
{{FOP}} |
|
評価
テンプレート・タグ | 表示サンプル(+使い方メモ) | ||||
---|---|---|---|---|---|
{{Quality image}} |
| ||||
{{Valued image}} |
| ||||
to get:
|
関連ファイル
テンプレート・タグ | 表示サンプル(+使い方メモ) | ||||
---|---|---|---|---|---|
{{Superseded|Example.png}} |
| ||||
{{NowSVG|Example}} |
When superior it can be told with the quality parameter, and mentioned with reason (like above)
When inferior this can be specified with quality=inferior and the reason, e.g.
|
その他
テンプレート・タグ | 表示サンプル(+使い方メモ) | |||
---|---|---|---|---|
{{Scriptuse}} |
| |||
| Category:Translation possible |
メンテナンス
デジタル編集が必要
整理が必要なページ
テンプレート・タグ | 表示サンプル(+使い方メモ) | 分類カテゴリー/このタグが添付されたページ集 |
---|---|---|
Category:Media lacking a description | ||
{{Uncategorized}} |
|
Category:Media needing categories |
{{Fact disputed}} | Category:Accuracy disputes | |
Category:Media data without source | ||
Category:Images lacking source file | ||
{{Notation please}} | Category:Musical notation images lacking source file |
名前変更および統合
テンプレート・タグ | 表示サンプル(+使い方メモ) | 分類カテゴリー/このタグが添付されたページ集 |
---|---|---|
{{Rename|Example.png|…}} |
|
Category:Media requiring renaming |
{{Merge}} |
|
Category:Requested merges |
{{Merge from}} |
|
Category:Requested merges |