WIP
This is just an idea I'm playing around with. A shortcut box with an expandable tree using collapsing, that finds the shortcuts using subpages.
Usage
editEntering {{User:Airhogs777/Shortcut tree|WP:TCG/ICP}} outputs a collapsible shortcut box containing both WP:TCG and WP:TCG/ICP. It can handle up to three subpage levels, and I hope that in the future it might also find common subpages between separate inputs. The width and float can be selected with the variables width and float respectively.