Apply link styling logic to transclusion nodes

Only template nodes for now. Not sure what we can do about generated content nodes in general...

Bug: 65353
Change-Id: I848f36764b446ed30c74c0e641d0973008f6880b
Merge "Apply link styling logic to transclusion nodes"