提供:すだちWiki
移動先: 案内検索

テンプレート:Ombox/doc

{{#invoke:Message box|ombox}}

{{#invoke:Lua banner|main}} テンプレート:Mbox templates Ombox は その他のページ (Other) メッセージボックス用メタテンプレートです。

このメッセージボックスは、各種の名前空間(利用者、Wikipedia、MediaWiki、Template、Help、Portal や将来登場するであろう名前空間)のページ、つまり、テンプレート:tlテンプレート:tlテンプレート:tlテンプレート:tlによってカバーされていないページで使用するものです。したがって、これは記事やノートページ、カテゴリページで使うべきではありません。

このテンプレートはおおよそ テンプレート:tl と同様に動作します。

使い方

{{ombox
| type  = 
| image = 
| imageright = 
| style = 
| textstyle = 
| text  = 
| small = 
| smallimage = 
| smallimageright = 
| smalltext = 
}}

タイプ

通常版

{{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}}

小型版

{{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}} {{#invoke:Message box|ombox}}


引数

引数の一覧
引数 指定内容 既定値 説明
type speedy / delete / content / style /
notice / move / protection
image 画像
imageright 画像
style CSS値
textstyle CSS値
text テキスト
small yes or no yesで小型版にする
smallimage 画像
smallimageright 画像
smalltext テキスト

カテゴリ

このテンプレートは、貼り付けられたページに次のカテゴリを適用します:

カテゴリ ソートキー 説明

使用例

{{ombox | text = 文章をここに}}

テンプレート:ombox

{{ombox
| type      = style
| image     = [[Image:Emblem-question-yellow.svg|40px]]
| style     = width: 400px; 
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = メッセージボックステキスト
}}

テンプレート:ombox

関連項目