Template:SUBJECTSPACE formatted/doc

From ArdaCraft Wiki
Jump to navigation Jump to search
Octicons-repo-forked.svg
This template was adapted from Template:SUBJECTSPACE formatted on Wikipedia.
Adaptation is noted for reference and attribution only. This template may differ from the original in function or in usage.

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.