「テンプレート:メッセージボックス」の版間の差分

提供:エケペディア
ナビゲーションに移動 検索に移動
編集の要約なし
(text2を追加)
8行目: 8行目:
| image-size =  
| image-size =  
| text =  
| text =  
| text2 =
}}
}}
</pre>
</pre>
23行目: 24行目:
   <td class="mbox-image"><div class="ambox-imagecontainer">[[{{{image-file}}}|{{{image-size|160}}}px|link=]]</div></td> }}
   <td class="mbox-image"><div class="ambox-imagecontainer">[[{{{image-file}}}|{{{image-size|160}}}px|link=]]</div></td> }}
   <td class="mbox-text">{{{text}}}</td>
   <td class="mbox-text">{{{text}}}</td>
  {{#if: {{{text2|}}} | <td class="mbox-text">{{{text2}}}</td> }}
</tr>
</tr>
</table></includeonly>
</table></includeonly>

2014年2月9日 (日) 10:40時点における版

このテンプレートは、メッセージボックスを持つテンプレートを作成する際に使用するメタ・テンプレートです。

使い方

{{ambox
| image-file = 
| image-size = 
| text = 
| text2 = 
}}

パラメータの順序・有無は任意です。

image-file
画像のページ名を指定します。(例:「File:msg writerWanted.jpg」)
image-size
画像のピクセル数を数値で指定します。
text
表示されるメッセージを指定します。