Template:Ombox
テンプレートの解説
メッセージボックス メタテンプレート | |
---|---|
テンプレート | 対象 |
{{Ambox}} | 記事 |
{{Cmbox}} | カテゴリ |
{{Imbox}} | ファイル |
{{Tmbox}} | ノート |
{{Fmbox}} | フッタ / ヘッダ |
{{Ombox}} | その他 |
{{Mbox}} | 自動判別 |
{{Asbox}} | 記事スタブ |
{{Dmbox}} | 曖昧さ回避 |
Ombox は その他のページ (Other) メッセージボックス用メタテンプレートです。
このメッセージボックスは、各種の名前空間(利用者、Wikipedia、MediaWiki、Template、Help、Portal や将来登場するであろう名前空間)のページ、つまり、{{ambox}}、{{tmbox}}、{{imbox}}、{{cmbox}}によってカバーされていないページで使用するものです。したがって、これは記事やノートページ、カテゴリページで使うべきではありません。
このテンプレートはおおよそ {{ambox}} と同様に動作します。
使い方
{{ombox| type = | image = | imageright = | style = | textstyle = | text = | small = | smallimage = | smallimageright = | smalltext = }}
タイプ
通常版
小型版
引数
引数 | 指定内容 | 既定値 | 説明 |
---|---|---|---|
type | speedy / delete / content / style / notice / move / protection | notice | |
image | 画像 | ||
imageright | 画像 | ||
style | CSS値 | ||
textstyle | CSS値 | ||
text | テキスト | ||
small | yes / no | no | yesで小型版にする |
smallimage | 画像 | ||
smallimageright | 画像 | ||
smalltext | テキスト |
カテゴリ
このテンプレートが貼り付けられたページに適用するカテゴリはありません。
使用例
{{ombox | text = 文章をここに}}
{{ombox| type = style| image = [[Image:Emblem-question-yellow.svg|40px]]| style = width: 400px; | textstyle = color: red; font-weight: bold; font-style: italic;| text = メッセージボックステキスト}}