Template: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)
}}