跳转到内容

模板:Comment withdraw/testcases

维基百科,自由的百科全书

测试 1

[编辑]
左右对比
{{Comment withdraw}}{{Comment withdraw/sandbox}}
注:{{{1}}}~~~~~

{{subst:#switch:{{subst:#expr: + ({{subst:#ifeq: | | 0 | 1 }}) }}

| 1 =
此留言已被原作者([[User:{{subst:REVISIONUSER}}]])移除。{{subst:CURRENTYEAR}}年{{subst:CURRENTMONTHNAME}}{{subst:CURRENTDAY}}日 {{subst:CURRENTTIME}} (UTC)
| 2 =
Template:Comment withdraw
模板出错提示
:您的模板参数设置有误(指定了Type的值为2,但没有指定User) {{subst:CURRENTYEAR}}年{{subst:CURRENTMONTHNAME}}{{subst:CURRENTDAY}}日 {{subst:CURRENTTIME}} (UTC)
| 3 =
对原作者([[User:{{{User}}}]])的回应留言已被回应者([[User:{{subst:REVISIONUSER}}]])移除。接受原作者的道歉。{{subst:CURRENTYEAR}}年{{subst:CURRENTMONTHNAME}}{{subst:CURRENTDAY}}日 {{subst:CURRENTTIME}} (UTC)
| #default =
Template:Comment withdraw
模板出错提示
:您的模板参数设置有误(必须正确设置Type和/或User参数) {{subst:CURRENTYEAR}}年{{subst:CURRENTMONTHNAME}}{{subst:CURRENTDAY}}日 {{subst:CURRENTTIME}} (UTC)
}}

测试 2

[编辑]
左右对比
{{Comment withdraw}}{{Comment withdraw/sandbox}}
注:{{{1}}}~~~~~

{{subst:#switch:{{subst:#expr: + ({{subst:#ifeq: | | 0 | 1 }}) }}

| 1 =
此留言已被原作者([[User:{{subst:REVISIONUSER}}]])移除。{{subst:CURRENTYEAR}}年{{subst:CURRENTMONTHNAME}}{{subst:CURRENTDAY}}日 {{subst:CURRENTTIME}} (UTC)
| 2 =
Template:Comment withdraw
模板出错提示
:您的模板参数设置有误(指定了Type的值为2,但没有指定User) {{subst:CURRENTYEAR}}年{{subst:CURRENTMONTHNAME}}{{subst:CURRENTDAY}}日 {{subst:CURRENTTIME}} (UTC)
| 3 =
对原作者([[User:{{{User}}}]])的回应留言已被回应者([[User:{{subst:REVISIONUSER}}]])移除。接受原作者的道歉。{{subst:CURRENTYEAR}}年{{subst:CURRENTMONTHNAME}}{{subst:CURRENTDAY}}日 {{subst:CURRENTTIME}} (UTC)
| #default =
Template:Comment withdraw
模板出错提示
:您的模板参数设置有误(必须正确设置Type和/或User参数) {{subst:CURRENTYEAR}}年{{subst:CURRENTMONTHNAME}}{{subst:CURRENTDAY}}日 {{subst:CURRENTTIME}} (UTC)
}}