Template:SUBJECTSPACE formatted

From Path of Exile 2 Wiki
Revision as of 00:33, 7 December 2020 by >Vinifera7 (Created page with "{{#switch: {{SUBJECTSPACE}} | {{ns:0}} = article | {{ns:4}} = {{SITENAME}} page | {{ns:2}} | {{ns:12}} = {{lc:{{SUBJECTSPACE}}}} page | #default = {{lc:{{SUBJECTSPACE}}}} }...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

template

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


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.