打开/关闭菜单
打开/关闭个人菜单
未登录
如果您进行任何编辑,您的IP地址会公开展示。

Template:Announcement

模板页面
本页是页面Template:公告翻译版本,翻译工作已完成100%。
其他语言:
Template Documentation[View] [Edit] [History] [Purge]

This template is used on the top of announcements to show the publish date, last update date, importance level, and status.

Table of Parameters

Name Description Acceptable Content
1 Set the publish date of the announcement. REQUIRED, or there will be an error message. A date, such as "Mar. 15th, 2023"
2 Set the importance level of the announcement. Optional.
If you set a "1" for it, the box will show "IMPORTANT", in other cases the box will show "Normal".
Number 1, or leave it empty
3 Set the status of the announcement. Optional.
Set it to 1 will make it show “Archive”, set it to 2 will make it show “Outdated”, in other cases it will show “VALID”.
Number 1, 2, or leave it empty.
Note: The last update date will be fetched automatically from system variants.

Examples

{{公告|Mar. 15th, 2023}}

Result:


{{公告}}

Result (Wrong Example!):


{{公告|Mar. 15th, 2023|1}}

Result


{{公告|Mar. 15th, 2023||1}}

Result:

The documentation above is embedded from Template:公告/doc/en.(Edit | History)

我们提供服务需要使用Cookie。您使用我们的服务,即表示您同意我们使用Cookie。