 | Luaモジュールを使用しています: |
 | このテンプレートはその他の名前空間用です。記事・ノート・カテゴリ・ファイル名前空間では外装によっては表示されない/正しく表示されない場合があります。記事等にも使用する場合は汎用の{{Mbox}}テンプレートを使用してください。 |
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 |
 | type=delete |
 | type=content |
 | type=style |
 | type=notice |
 | type=move |
 | type=protection |
小型版
 | type=speedy |
 | type=delete |
 | type=content |
 | type=style |
 | type=notice |
 | type=move |
 | type=protection |
引数
引数の一覧| 引数 | 指定内容 | 既定値 | 説明 |
|---|
| 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 = メッセージボックステキスト}} | メッセージボックステキスト |
関連項目