Template
:
Namespace and pagename-detecting templates
From Zoophilia Wiki
Revision as of 20:28, 5 February 2020 by
meta>Trialpears
(oh and preview other)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
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
Wikipedia 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 (that is, not a
../..
subpage), subpage, subsubpage or beyond.
When pagename is
For pattern matching on the pagename.
Module:Page
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.
Subpage other
Pagename has an after-slash part (not in mainspace)
Sandbox other
Page is subpage /sandbox (template space)
Testcases other
Page is subpage /testcases (template space)
Others
Stub other
Detects whether it is on a page with a stub template or not.
Preview other
Detects whether page is viewed as a preview or not.
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
Navigation menu
Page actions
Template
Discussion
Read
View source
History
Page actions
Template
Discussion
More
Tools
Personal tools
Log in
Request account
Navigation
donate
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Printable version
Permanent link
Page information
In other languages
Add links