Template:Pagetype
From MobileRead
Contents |
[edit] Template
This sub-template doesn't display properly when not included.
[edit] Goal
This template will automatically give the type of the page where it included. It is useful for template that can be applied to all type of pages.
[edit] Usage
Use {{pagetype}} to automaticaly get the page type.
For exemple
This is a(n) {{pagetype}}.
Will display :
This is a(n) template page
[edit] Parameter
This template will get one parameter:
- article: useful for non english language when you the article (the equivalent of the in english) will decline with the gender of the next word.
This template recognize theses page types :
- Talk page
- Categpry page
- Help page
- Template page
- User page
- User talk page
- Article page (ie page with no namespace)