Template:Warning/zh

From mediawiki.org
This page is a translated version of the page Template:Warning and the translation is 78% complete.

警告 警告:

模板文件

用法

本模版有两个可能的用法:

  1. Will have the text flow below when the warning text is too long
  1. 使用表格来缩进文本。

方法一

The following displays the warning icon and the word "Warning:". 您可以使用您喜欢的任何文本/图像/标记来执行此操作。

维基代码:

{{warning}} 不要这样做!

警告 警告: 不要这样做!

方法二

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

维基代码:

{{warning|1=这是一个很长的警告,它足够冗长到第二行(除非你有一个非常大的屏幕!),这通常会导致它围绕图标,但因为我们将它作为参数传递它保持左 对齐直。}} 
警告 警告: 这是一个很长的警告,它足够冗长到第二行(除非你有一个非常大的屏幕!),这通常会导致它围绕图标,但因为我们将它作为参数传递它保持左 对齐直。

See also