Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Empire of Karnia-Ruthenia
Search
Search
Create account
Log in
Personal tools
Dark mode
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Template
:
Namespace and pagename-detecting templates
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
Purge
General
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
Get shortened URL
From Empire of Karnia-Ruthenia
v
t
e
Namespace and pagename-detecting templates
Namespace
Particular
Main other
(
When in article
)
Talk other
(
When on talk page
)
Book other
Category other
Draft other
File other
(
Is Commons
)
Help other
Module other
Portal other
Sandbox other
Template other
(
When on template page
)
User other
(
When on user page
)
Wikipedia other
Single namespace
If talkspace of
If usertalk of
More generic
Namespace detect
(
When in namespace
)
Namespace detect showall
Main talk other
Talkspace detect
Pagename
When on basepage
(
Basepage subpage
)
Detects and acts according to whether it is on a basepage, subpage, subsubpage or beyond.
When pagename is
(
If pagename
)
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.
Wikipedia:Namespace
Wikipedia:Page name
Magic words
ParserFunctions
Template documentation
[
create
] [
purge
]
Editors can experiment in this template's sandbox
(
create
|
mirror
)
and testcases
(
create
)
pages.
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
Toggle limited content width