Template:Afd-merged-from/testcases
{{Testcases notice }}
{{Test case|_collapsible=yes|_showcode=yes|_title=Merged on the same day as AfD closure
|Topic Y|Topic Y (second nomination)|13 June 2025}}
{{Test case|_collapsible=yes|_showcode=yes|_title=AfD caused merge from associated article
|Topic X|Topic Y (second nomination)|13 June 2025}}
{{Test case|_collapsible=yes|_showcode=yes|_title=Merged on other day after AfD closed
|Topic Z| Topic Y (second nomination)|13 June 2025|18 June 2025}}
{{Test case|_collapsible=yes|_showcode=yes|_title=Specify only merge target and date
|Topic Z|date=13 June 2025}}
{{Test case|_collapsible=yes|_showcode=yes|_title=Specify only merge target and date
|Topic Z|4=18 June 2025}}
{{Test case|_collapsible=yes|_showcode=yes|_title=Multiple merges
|collapse=yes
|from1=Foo|to1=Bar|date=5 August 2100|afd=Foo
|from2=Food
|from3=Foodie|talk3=no|date4=5 August 2015
|from4=Foogle|to4=Barnie|to_diff4=1158328196
|from5=Fred|to5=Bart|from_oldid5=1278955630}}
{{Test case|_collapsible=yes|_showcode=yes|_title=Specifying only merge target and AfD location
|Foo|Bar}}
{{Test case|_collapsible=yes|_showcode=yes|_title=Specifying both pages without date or talk page link
|talk=no|Foo|to=Bar|afd=Bazz}}
{{Test case|_collapsible=yes|_showcode=yes|_title=Mix of parameters for two merges
|small=yes
|from1=Foo |date1=5 August 2100 |talk1=no
|from2=Bar|from_oldid2=1278288346}}
{{Test case|_collapsible=yes|_showcode=yes|_title=testing leading and terminating whitespace
| Topic Z | Topic Y (second nomination) | 13 June 2025 | 18 June 2025 }}