Template:Navbar/doc

Usage:

would show:

and would show:

which both provide link to view/edit/discuss of template being specified, and that can be done by replacing the NavigationBar/Publicization in example with your desired template name.

for details, see wikipedia:Template:Navbar

Note that the version of code used here isn't the latest in wikipedia and had modified a bit to suit this wikia