テンプレート:Warning/ja

提供: ひつじ小屋別館2代目
2013年6月19日 (水) 22:16時点におけるしが (トーク | 投稿記録)による版 (1版)

(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

警告 警告:

使用方法[編集]

方法 1[編集]

The following displays the warning icon and the word 'Warning:'. You can follow this with whatever text/images/markup you like.

{{warning/ja}} Don't do that!

警告 警告: Don't do that!

方法 2[編集]

The following includes the text passed to the template, and uses a table to stop the text flowing round the icon.

{{warning/ja|Here is a long warning, which is sufficiently wordy to run onto a second line, 
 which would normally cause it to wrap round the icon, but because we passed it as a parameter 
 it keeps its left alignment straight.}} 
警告 警告: Here is a long warning, which is sufficiently wordy to run onto a second line, which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.
Language: English  • 日本語