模板:Yet till now
2024年10月11日 |
在表格单元中高亮现显现在与未来的日期。
用法
编辑基本参数
编辑{{Yet till now|年|月|日|背景色}}
背景色的默认值=#d0ffd0
用例
编辑{|class="wikitable" |- |{{Yet till now|2001|5|2}} |{{Yet till now|2122|2|24}} |- |{{Yet till now|2100|11|24|skyblue}} |{{Yet till now|2011|9|5|skyblue}} |- |{{Yet till now|2005|12|23|#eebbcc}} |{{Yet till now|2099|1|1|#eebbcc}} |}
2001年5月2日 | 2122年2月24日 |
2100年11月24日 | 2011年9月5日 |
2005年12月23日 | 2099年1月1日 |
上述文档嵌入自Template:Yet till now/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |