To list an article for deletion after adding {{subst:afd}} at the top, you have to do the following:

I.

This text will be included:

{{subst:afd2|pg=AfD doc|text=Reason}} ~~~~

II.

Add this text:

{{subst:afd3|pg=AfD doc}}

with this in the edit summary:

[[AfD doc]]