Template:SUBJECTSPACE formatted/doc

This template returns a descriptor for the SUBJECTSPACE formatted for inclusion in a sentence of text. It applies the correct capitalization for midsentence appearance, returns "article" if the subjectspace is any of the content namespaces, and adds "page" if grammatically correct.