模板:Age in months/testcases
外观
这是Template:Age in months及其沙盒的测试样例。刷新本页以更新内容。 如果这里有许多复杂的模板的用例,可能会因为MediaWiki的技术限制而出错。 您还可以用Special:展开模板来测试模板的使用效果。 您可以通过以下链接测试本模板在不同皮肤下的效果: |
测试 1
[编辑]{{Age in months|1970|7|23|2003|7|14}}
{{Age in months|1970|7|23|2003|7|14}}
{{Age in months}} | {{Age in months/sandbox}} |
---|---|
395 | 395 |
{{Age in months|1989|7|23}}
{{Age in months|1989|7|23}}
→ 425{{Age in months/sandbox|1989|7|23}}
→ 425- Expected: 385 (as of 2021)
{{Age in months|23 July 1989}}
{{Age in months|23 July 1989}}
→ <strong class="error">表达式错误:无法识别词语“july”。</strong>{{Age in months/sandbox|23 July 1989}}
→ 425- Expected: 385 (as of 2021)
{{Age in months|26 July 2021|25 August 2021}}
{{Age in months|26 July 2021|25 August 2021}}
{{Age in months}} | {{Age in months/sandbox}} |
---|---|
<strong class="error">表达式错误:无法识别词语“july”。</strong> | 0 |