Template:Warning/zh

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Template:Warning and the translation is 76% complete.

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎Zazaki • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎slovenčina • ‎svenska • ‎čeština • ‎български • ‎македонски • ‎русский • ‎українська • ‎العربية • ‎فارسی • ‎ქართული • ‎中文 • ‎日本語 • ‎조선말 • ‎한국어

警告 警告:

模板文档

用法

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

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

方法一

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=这是一个很长的警告,它足够冗长到第二行(除非你有一个非常大的屏幕!),这通常会导致它围绕图标,但因为我们将它作为参数传递它保持左 对齐直。}} 
警告 警告: Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.