Template:SUBJECTSPACE formatted: Difference between revisions
Appearance
Content deleted Content added
m Changed protection level for "Template:SUBJECTSPACE formatted": Allowing template editors on some templates with full protection dating back to pre-TPROT times which aren't too often or too sensitively used. ([Edit=Require template edi... |
m Localise imported template guidance and policy links; preserve index layout and licence information |
||
| Line 1: | Line 1: | ||
{{#switch: {{SUBJECTSPACE}} |
{{#switch: {{SUBJECTSPACE}} |
||
| {{ns:0}} = article |
| {{ns:0}} = article |
||
| {{ns:4}} = |
| {{ns:4}} = page |
||
| {{ns:2}} |
| {{ns:2}} |
||
| {{ns:12}} = {{lc:{{SUBJECTSPACE}}}} page |
| {{ns:12}} = {{lc:{{SUBJECTSPACE}}}} page |
||
Latest revision as of 10:24, 31 October 2026
template
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:SUBJECTSPACE formatted/doc" to edit its documentation if it is available. (How does this work?) |
| This template is used on approximately 45,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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 main, and adds "page" if grammatically correct. as:Template:SUBJECTSPACE formatted ms:Templat:SUBJECTSPACE formatted sl:Predloga:SUBJECTSPACE formatiran