模板:Current/doc

维基百科,自由的百科全书
跳转到导航 跳转到搜索

用法[编辑]

{{Current|小節|date=新聞發生的日期}}

<templatedata> {

       "description": "用於提示讀者本頁所描述的是新聞動態,其內容可能會快速更新",
       "params": {
               "1": {
                       "label": "類型",
                       "type": "string",
                       "description": "本文章的類型",
                       "default": "條目"
               },
               "2": {
                       "label": "主題",
                       "type": "string",
                       "description": "本文章的主題"
               },
               "date": {
                       "label": "日期",
                       "type": "string",
                       "description": "新聞發生的時間,需要使用“年-月-日”的形式",
                       "example": "2020-02-23"
               }
       }

} </templatedata>

分类[编辑]

这个模板自动给条目分类至Category:新闻动态

重定向[编辑]

参见[编辑]