テンプレート:Notice/doc

提供: iTchan Wiki
< テンプレート:Notice
2014年1月20日 (月) 20:40時点における伏儀 (トーク)による版 (<includeonly>{{使用箇所の多いテンプレート|4,800以上}}</includeonly>)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

{{

 #ifeq: doc | doc
 | 

{{

   #ifeq: show | show
   | {{#ifeq:|yes

|

{{#ifeq:{{#if: | {{{smallimage}}} | }}|none | | }} {{#if:{{#if: | {{{smallimageright}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} | {{#if:{{#if: | {{{smallimageright-file}}} | }}| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=notice" parameter and needs fixing.

}}

|

{{#ifeq:|none | | }} {{#if: | {{#ifeq:|none | | }} | {{#if:| }}

}}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=notice" parameter and needs fixing.

}} }}

   | 
 }}
 |

}}{{

 #ifeq: doc | doc
 | {{
   #ifeq: テンプレート | テンプレート
   |
   }}

}}

汎用のお知らせテンプレートです。

Subst: は非推奨。

使い方

任意の場所に、以下のように入力します。

{{Notice|表示したい文字列}}

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:{{{style}}}

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

このように、簡単にお知らせテンプレートを設置することができます。Template:Mboxを使用しているため、このテンプレートを記事で呼び出せばTemplate:Amboxを使って表示されます。

複数のパラメータを設定して使うこともできます。

{{Notice|表示したい文字列|タイトル(題)|テンプレートスタイル}}
{{Notice|表示したい文字列|style=テンプレートスタイル}}
{{Notice|text=表示したい文字列|title=タイトル(題)|style=テンプレートスタイル}}
{{Notice|text=表示したい文字列|header=ヘッダータイトル(題)|style=テンプレートスタイル}}

注意事項

このテンプレートを用いて、記事の編集と関係ないお知らせを提示することは推奨されていません。そのような記述は、ノートもしくは記事に直接記述して下さい。Wikipedia:記事に免責事項を載せないも参考に。

一例(来日岳にて)

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:{{{style}}}

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:アナログテレビ放送は予定通り、2011年7月24日で終了しました。|アナログテレビ放送は予定通り、2011年7月24日で終了しました。|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:アナログテレビ放送は予定通り、2011年7月24日で終了しました。|アナログテレビ放送は予定通り、2011年7月24日で終了しました。|文字列の例}}

}} }}

スタイル

「テンプレートスタイル」の部分には、announce, attention, fix, help, idea, important, propose, question, search, stop, warningの値を設定することができます

announce

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:announce

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

attention

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:attention

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

fix

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:fix

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

help

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:help

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

idea

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:idea

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

important

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:important

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

propose

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:propose

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

question

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:question

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

search

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:search

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

stop

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:stop

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

warning

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:warning

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

小型化

小型化には2種類あります。記事の節に使いたい場合は、以下のように入力すると、節用のスタイルになります。全ての名前空間で利用可能です。

{{Notice|表示したい文字列|section=1}}

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:1|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:{{{style}}}

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}


記事名前空間以外の名前空間では、以下の小型化も利用可能です。

{{Notice|表示したい文字列|small=yes}}

{{#switch:

 {{#if: 
 | {{{demospace}}}    
 | {{#ifeq:テンプレート|
   | main
   | other
   }} 
 }}

| main = {{#switch:{{#if:|section}} | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#if:{{#if: | {{{smallimageright}}} | }}{{#if: | {{{smallimageright-file}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch:{{#if:

                     | {{{smallimage}}}
                     | 
                     }}

| blank = }} | section =

{{#switch: | blank | none =

| #default =

}} {{#if: | {{#ifeq:|none | | }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} | #default =

{{#switch: | blank | none =

| #default =

}}

{{#if: | {{#ifeq:|none

 | 
| }} }}

{{#switch:notice

| | speedy | delete | content | style | move | protection | notice =

| #default =

このメッセージボックスは無効な "type=notice" パラメータを使用しており、修正が必要です。

}}{{#switch: | blank = }} }} | other | #default = {{

 {{#switch:
 {{#if: 
   | 
   | {{#switch:テンプレート
     | = main
     |テンプレート・トーク = talk
     |利用者 = user
     |itchan wiki = wikipedia
     |ファイル = file
     |mediawiki = mediawiki
     |テンプレート = template
     |ヘルプ = help
     |カテゴリ = category
     | = portal
     | #default = テンプレート
     }} 
   }}

| main = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = notice | image = | image-file = {{#if:|{{{image}}}|{{#switch:{{{style}}}

| stop      = Stop_hand_nuvola.svg
| warning   = Stop_x_nuvola.svg
| question  = Ambox question.svg
| attention = Nuvola apps important.svg
| important = Ambox_important.svg
| search    = Searchtool.svg
| fix       = Tools_nicu_buculei_01.svg
| announce  = Stock volume.svg
| help      = Gnome-help-openclipart.svg
| idea      = Dialog-information on.svg
| news      = Network-wireless.svg
| propose   = Nuvola apps edu languages.svg}}}}

| image-size = | imageright = | imageright-file = | imageright-size = | style = | textstyle =

| text = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

| small = yes | smallimage = | smallimage-file = | smallimage-size = | smallimageright = | smallimageright-file = | smallimageright-size = | smalltext = | section = | image-size-section =

| text-section = {{#if:|

{{{header}}}

}}{{#if:|{{{2}}}:}}{{#if:表示したい文字列|表示したい文字列|文字列の例}}

}} }}

引数

引数の一覧
引数 指定内容 既定値 説明
text 1 任意の文字列 なし 表示する文章
title 2 任意の文字列 なし 強調して表示する題
style 3 announce, attention, fix, help, idea, important, propose, question, search, stop, warning なし 指定がなければnoticeスタイル
header 任意の文字列 なし ヘッダーにセンタリングした状態で強調して表示する題
section 任意の文字あるいは数値 なし 入力されていれば記事において節用のスタイルで表示
small yesあるいはno なし ノート / Template / Wikipedia各名前空間で小型化表示

関連テンプレート

  • {{注意}} - 注意を促す専用のテンプレート
  • {{告知}} - 議論等の告知をするテンプレート