Template:Project or portal/doc

Usage
Given a parameter returns the WikiProject if there is one, and the WikiPortal if there is one separated by " &middot; " and led by " &bull; ".

E.G. Astronomy: