「テンプレート:Ombox/core」の版間の差分
提供: Yourpedia
								
												
				|  (新しいページ: '<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}  {{#switch:{{{type|}}} | speedy     = ombox-speedy | delete     = ombox-delete | content    = ombox-content ...') |  (正しく動作しない条件文を除去) | ||
| 1行目: | 1行目: | ||
| − | <table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}}   | + | <table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | 
| − | {{#switch:{{{type|}}} | + | |
| | speedy     = ombox-speedy | | speedy     = ombox-speedy | ||
| | delete     = ombox-delete | | delete     = ombox-delete | ||
| 11行目: | 10行目: | ||
| }}" style="{{{style|}}}"> | }}" style="{{{style|}}}"> | ||
| <tr> | <tr> | ||
| − | + | <td class="mbox-image"> | |
| − | + | ||
| − | + | ||
|    {{#if:{{{image-file|}}} |    {{#if:{{{image-file|}}} | ||
| − |    | [[ | + |    | [[画像:{{{image-file}}}|{{{image-size|40}}}px]] | 
|    | {{#if:{{{image|}}} |    | {{#if:{{{image|}}} | ||
|      | {{{image}}} |      | {{{image}}} | ||
| − |      | [[ | + |      | [[画像:{{#switch:{{{type|}}} | 
|        | speedy     = Imbox speedy deletion.png |        | speedy     = Imbox speedy deletion.png | ||
|        | delete     = Imbox deletion.png |        | delete     = Imbox deletion.png | ||
| 30行目: | 27行目: | ||
|      }} |      }} | ||
|    }}</td> |    }}</td> | ||
| − | |||
| <td class="mbox-text" style="{{{textstyle|}}}">{{#if:{{{text|}}}| {{{text}}} }}<!-- {{{text}}}内冒頭のウィキマークアップによる箇条書きを正しく表示させるために条件文にしています。 --></td> | <td class="mbox-text" style="{{{textstyle|}}}">{{#if:{{{text|}}}| {{{text}}} }}<!-- {{{text}}}内冒頭のウィキマークアップによる箇条書きを正しく表示させるために条件文にしています。 --></td> | ||
| {{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
2009年12月16日 (水) 23:53時点における版
|  {{#if:
 | [[画像:{{{image-file}}}|40px]]
 | {{#if:
   | {{{image}}}
   | [[画像:{{#switch:
     | speedy     = Imbox speedy deletion.png
     | delete     = Imbox deletion.png
     | content    = Imbox content.png
     | style      = Imbox style.png
     | move       = Imbox move.png
     | protection = Imbox protection.png
     | notice          
     | #default   = Imbox notice.png
     }} | 40px ]]
   }}
}} | {{#if:| {{{text}}} }} | {{#if: }}
| {{#if:|   | [[画像:{{{imageright-file}}}|40px]]
   | {{{imageright}}}
}} | [[画像:{{{imageright-file}}}|40px]]}} | 
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=" parameter and needs fixing.
}}


