Template:SUBJECTSPACE formatted
From Gineipaedia, the Legend of Galactic Heroes wiki
The following documentation is transcluded from Template:SUBJECTSPACE formatted/doc:
- Description
- Shortcut template for returning the 'formatted' name space (or page type) of the current article.
- Syntax
{{SUBJECTSPACE formatted}}
- Sample output
{{SUBJECTSPACE formatted}}
produces: template
{{SUBJECTSPACE formatted}}
on Maurya produces: article
{{SUBJECTSPACE formatted}}
on Category:Images produces: category
- Notes
- This template takes the name space of the current article and return a lower-cased or otherwise formatted version of the same. For example, when used on an article it will return the string article, and when used on an image it will return the string file.
- Acknowledgements
- Adapted from a similar template on Wikipedia