Template:SUBJECTSPACE formatted: Difference between revisions

From TibiaCraft
Jump to navigationJump to search
Created page with "{{documentation header}} <!-- Documentation here --> === 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. <includeonly> <!-- Template categories/interwiki here --> </includeonly> <noinclude> <!-- Documentation categories/interwiki..."
 
No edit summary
 
Line 1: Line 1:
{{documentation header}}
{{#switch: {{SUBJECTSPACE}}
<!-- Documentation here -->
| {{ns:0}} | {{ns:10000}} | {{ns:10002}} | {{ns:10004}} | {{ns:10006}} | {{ns:10012}} = article
=== Usage ===
| {{ns:4}}  = Minecraft Wiki page
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.
| {{ns:2}} | {{ns:12}} | {{ns:10010}} = {{lc:{{SUBJECTSPACE}}}} page
<includeonly>
| #default  = {{lc:{{SUBJECTSPACE}}}}
<!-- Template categories/interwiki here -->
}}<noinclude>
 
{{Documentation}}
</includeonly>
<noinclude>
<!-- Documentation categories/interwiki here -->
 
</noinclude>
</noinclude>

Latest revision as of 18:46, 4 October 2025

template

Documentation[view] [edit] [history] [purge]

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.

[view] [edit] [history] [purge]The above documentation is transcluded from Template:SUBJECTSPACE formatted/doc.