「テンプレート:Ambox」の版間の差分
提供: HIMOROGI文化財Wiki
(ページの作成:「{{#invoke:Message box|ambox}}<!-- 誤った "type" パラメータの使用法の検出と報告: -->{{#switch:{{{type|}}} | <!-- タイプが与えられないのも...」) |
|||
| 1行目: | 1行目: | ||
| − | + | <div style="display: table; width:80%; margin-left: 10%; margin-right: 10%; border-width: 1px 1px 1px 10px; border-style: solid; border-color: #999999 #999999 #999999 {{#switch:{{{type|}}} | |
| − | + | | protection = #BBBBAA | |
| − | -- | + | | serious = #cc0000 |
| − | + | | content = #ff9900 | |
| − | | | + | | maintenance = #ffcc66 |
| − | | | + | | notice = #0099ff |
| − | | content | + | | #default = #0099ff |
| − | | | + | }}"> |
| − | | | + | <div style="display: table-row;"> |
| − | | | + | <div style="display: table-cell; vertical-align: middle; padding: 0.5em; width: 50px;">{{#switch:{{{type|}}} |
| − | + | | protection = {{{image|[[ファイル:Padlock.svg|40px]]}}} | |
| − | + | | serious = {{{image|[[ファイル:Stop hand nuvola.svg|40px]]}}} | |
| − | }}<noinclude>{{Documentation}} | + | | content = {{{image|[[ファイル:Emblem-important.svg|40px]]}}} |
| − | + | | maintenance = {{{image|[[ファイル:Broom icon.svg|40px]]}}} | |
| + | | notice = {{{image|[[ファイル:Crystal important.png|40px]]}}} | ||
| + | | #default = {{{image|[[ファイル:Information.svg|40px]]}}} | ||
| + | }}</div> | ||
| + | <div style="display: table-cell; font-size: small; padding: 0.5em;"><p>{{{text|<strong style="color: #cc0000">textパラメータの値は必須です。</strong>}}}</p></div> | ||
| + | </div> | ||
| + | </div><noinclude> | ||
| + | {{Documentation}} | ||
| + | {{DEFAULTSORT:Ambox}} | ||
| + | [[Category:メタテンプレート]] | ||
| + | [[Category:条件文]] | ||
| + | |||
| + | </noinclude> | ||
2016年4月17日 (日) 02:31時点における最新版
textパラメータの値は必須です。
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}
