Template
:
Namespace and pagename-detecting templates
From ISTP Computing
Jump to navigation
Jump to search
v
t
e
Namespace and pagename-detecting templates
Namespace
Particular
Main other
Talk other
Book other
Category other
Draft other
File other
Is Commons
Help other
Module other
Portal other
Template other
User other
Taswin other
Single namespace
If talkspace of
If usertalk of
More generic
Namespace detect
Namespace detect showall
Main talk other
Main talk other flex
Talkspace detect
Pagename
When on basepage
Detects and acts according to whether it is on a basepage, subpage, subsubpage or beyond.
When pagename is
For pattern matching on the pagename.
pgn
Can take apart and put together pagenames in several ways.
IP-talk
Returns IP-user talkpage, registered-user talkpage or non-user talkpage.
IP-user other
For detecting IP-user pages.
Basepage subpage
Top page not a (../..) subpage
Subpage other
Pagename has an after-slash part (not in mainspace)
Sandbox other
Page is subpage /sandbox (template space)
Taswin:Namespace
Taswin:Page name
Magic words
ParserFunctions
Template documentation
[
create
]
Editors can experiment in this template's sandbox
(
create
|
mirror
)
and testcases
(
create
)
pages.
Please add categories to the
/doc
subpage.
Subpages of this template
.
Category
:
Navboxes using background colours
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Navigation menu
Personal tools
Log in
Dark mode
Namespaces
Template
Discussion
English
Views
Read
View source
View history
More
Purge
Search
Navigation
Home
Recent changes
Random page
Help about MediaWiki
TOPICS
Computing
Sports
Psychology
POLICES
Content review policy
Acceptable use policy
Privacy policy
Copyright policy
Directives
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Get shortened URL