(Translated by https://www.hiragana.jp/)
「Template:Imbox」の版間の差分 - Wikipedia コンテンツにスキップ

「Template:Imbox」のはんあいだ差分さぶん

削除さくじょされた内容ないよう 追加ついかされた内容ないよう
en:Template:imboxの2009-06-04 06:36 より転記てんき
 
修正しゅうせい
19ぎょう: 19ぎょう:
| {{{image}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| {{#switch:{{{type|}}}
| speedy = [[Image:Imbox speedy deletion.png|40x40px]]
| speedy = [[File:Imbox speedy deletion.png|40x40px]]
| delete = [[Image:Imbox deletion.png|40x40px]]
| delete = [[File:Imbox deletion.png|40x40px]]
| content = [[Image:Imbox content.png|40x40px]]
| content = [[File:Imbox content.png|40x40px]]
| style = [[Image:Imbox style.png|40x40px]]
| style = [[File:Imbox style.png|40x40px]]
| move = [[Image:Imbox move.png|40x40px]]
| move = [[File:Imbox move.png|40x40px]]
| protection = [[Image:Imbox protection.png|40x40px]]
| protection = [[File:Imbox protection.png|40x40px]]
| license = [[Image:Imbox license.png|40x40px]]
| license = [[File:Imbox license.png|40x40px]]
| featured = [[Image:Imbox featured.png|40x40px]]
| featured = [[File:Imbox featured.png|40x40px]]
| notice <!-- notice = default -->
| notice <!-- notice = default -->
| #default = [[Image:Imbox notice.png|40x40px]]
| #default = [[File:Imbox notice.png|40x40px]]
}}
}}
}}</td>
}}</td>
55ぎょう: 55ぎょう:
}}<!--
}}<!--


--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:File message boxes|{{PAGENAME}}]]}}}}</includeonly><!--
--><includeonly>{{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|{{#ifeq:{{NAMESPACE}}|Template|[[Category:ファイルメッセージボックス|{{PAGENAME}}]]}}}}</includeonly><!--


--><noinclude>
--><noinclude>

{{pp-template|small=yes}}
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

2009ねん6がつ27にち (土) 04:54時点じてんにおけるはん

メッセージボックス
メタテンプレート
テンプレート 対象たいしょう
{{Ambox}} 記事きじ
{{Cmbox}} カテゴリ
{{Imbox}} ファイル
{{Tmbox}} ノート
{{Fmbox}} フッタ / ヘッダ
{{Ombox}} その
{{Mbox}} 自動じどう判別はんべつ
{{Asbox}} 記事きじスタブ
{{Dmbox}} 曖昧あいまい回避かいひ

Imbox は画像がぞうメッセージボックス (Image Message BOX) ようメタテンプレートです。

外部がいぶリンクのアイコンは、CSS class plainlinksが指定していされているので表示ひょうじされません。表示ひょうじさせる場合ばあいは:Template:Imbox-noplainlinks

使つかかた

{{imbox
| type  = 
| image = 
| imageright = 
| style = 
| textstyle = 
| text  = 
| below = 
}}

タイプ

引数ひきすう

引数ひきすう一覧いちらん
引数ひきすう 指定してい内容ないよう 既定きてい 説明せつめい
type speedy / delete / content / style / notice /
move / protection / license / featured
image 画像がぞう
imageright 画像がぞう
style CSS
text style CSS
text テキスト
below テキスト または べつのimbox

カテゴリ

このテンプレートは、けられたページにつぎのカテゴリを適用てきようします:

カテゴリ ソートキー 説明せつめい
ファイルメッセージボックス テンプレートめいまたはデフォルトソート テンプレート名前なまえ空間くうかん有効ゆうこうになります。

使用しようれい

{{imbox | text = 文章ぶんしょうをここに}}
{{imbox
| type      = style
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| style     = width: 400px; 
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = メッセージボックステキスト
}}

関連かんれん項目こうもく

  • {{ambox}} - 記事きじよう
  • {{tmbox}} - ノートページよう
  • {{cmbox}} - カテゴリよう
  • {{ombox}} - そののページよう
  • {{mbox}} - 名前なまえ空間くうかん自動じどう判定はんていして表示ひょうじ形式けいしきえるメッセージボックス
  • {{fmbox}} - ヘッダ/フッタよう
  • {{dmbox}} - 曖昧あいまい回避かいひよう
  • {{asbox}} - 記事きじスタブよう