跳至內容

模板: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)
}}