User:Bradv/Scripts/WhatLinksHereSnippets

WhatLinksHereSnippets.js allows for an editor to see "snippets" of code for transcluded templates in order to see how they are being used.

Usage
To use the script, add the following to your skin-specific Javascript file.

Once installed, a right-aligned "Show snippets" button will appear on the WhatLinksHere display. By clicking that button, any transclusions will be expanded, with the template use highlighted.