User:Mandarax/DYKHookGet

?

This auxiliary template takes a number and the name of a DYK nomination template (Did you know nominations/xxx) as parameters. It returns the hook with the given position number on the page. It recognizes hooks beginning with "... that" and ending with "?". Any hook which includes an additional "?" is not handled correctly.