Template talk:Showinfo person/spouse1

This implementation is not ugly because I like obscure code. The ugly repetition is required because real Recursion is blocked by the wikimedia engine. The only way to do it is to create identical templates that are called in order.

So why the recursion? Without such an approach, articles using info pages can easily generate pre-expanded wikitext of over 2MB. Such pages run into a pre-expansion limit as explained in Genealogy:Info pages/technical guidelines. The strategy of using parser functions to return template names recommended by the wikipedia article on these limits forces implentation into the pseudo recursion solution or a facsimile. ~  Ph l o x  06:49, 4 November 2007 (UTC)