Template:SUBJECTSPACE formatted

From ArdaCraft Wiki
Revision as of 06:43, 25 April 2023 by Skeeveo (talk | contribs) (Created page with "{{#switch: {{SUBJECTSPACE}} | {{ns:0}} = article | {{ns:4}} = {{SITENAME}} page | {{ns:2}} | {{ns:12}} = {{lc:{{SUBJECTSPACE}}}} page | #default = {{lc:{{SUBJECTSPACE}}}} }}<noinclude> {{Documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

template

Template documentation[view] [edit] [history] [purge]


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.