模板:New

来自人工智能助力教育知识百科
Kangjf讨论 | 贡献2019年9月11日 (三) 15:51的版本 (创建页面,内容为“<onlyinclude>{{#ifexpr:{{CURRENTTIMESTAMP}} < {{{expiry|99999999}}}*1000000 | 20px|link= | }}</onlyinclude> === Usage === Displays a File:New…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

20px

Usage

Displays a 20px icon if the current date is before the expiry date defined in the expiry template parameter.

The expiry date parameter is a single number defined in the form of YYYYMMDD. For example, an expiry date of November 4, 2012 would be 20121104.

If no expiry date is provided, expiry defaults to 99999999, effectively negating an expiry date for the display of the 20px tag.

Example

To create a 20px tag that expires on August 18, 2014, insert the following code into your document:

{{New|expiry=20140818}}