Since Redirects are shown in a different fashion in the "What links here" pages,
I think it would be good to show the template relations in the same manner.
For instance, there is a template {{foo}} and pages [[bar]], [[baz]] and [[bat]]
contain the template. Now, the template itself contains a link to, say,
[[quux]]. Therefore, the three aforementioned articles (ba*) contain the link
[[quux]]. In the "What links here" page for [[quux]], the result should be
treelike, resembling redirects:
The following pages link to here:
View (previous 50) (next 50) (20 | 50 | 100 | 250 | 500).
*[[quuxx]] (redirect page)
[[Xyzzy]]
*[[Template:foo]] (template page)
[[bar]]
[[baz]]
[[bat]]
*[[shme]]
See Also:
T3392: "What links here" should show only the template linking, not all pages containing the template. Same for "pages that use this image".
T14396: "what links here" should list the template, not the pages that use it