Template
:
Namespace and pagename-detecting templates
From Zoophilia Wiki
Revision as of 09:46, 9 December 2014 by
meta>Sardanaphalus
(subgroup name, footnote)
(
diff
)
← Older revision
|
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Jump to navigation
Jump to search
v
t
e
Namespace and pagename-detecting templates
Namespace
"When on [ns] page"
Template:Padlssup
When in article
(
main other
)
When on talk page
(
talk other
)
book other
category other
draft other
file other
help other
module other
portal other
When on template page
(
template other
)
When on user page
(
user other
)
wikipedia other
More generic
When in namespace
(
namespace detect
)
namespace detect showall
main talk category other
main talk other
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.
When on page
For pattern matching on the pagename with input reuse.
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.
1
Where "[ns]" is the name of a
Wikipedia namespace
("user", "wikipedia", etc), i.e. templates that act according to whether they are on a page in a particular namespace or elsewhere ("other").
Wikipedia:Namespace
Wikipedia:Page name
Magic words
ParserFunctions
Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.
Hidden category:
Pages with script errors
Navigation menu
Page actions
Template
Discussion
Read
View source
History
Page actions
Template
Discussion
More
Tools
Personal tools
Create account
Log in
Navigation
Main page
Recent changes
Random page
Donate
About
Search
Support
Help
Help with MediaWiki
Legal
Content licenses
Disclaimers
Privacy policy
Terms of Service
Tools
What links here
Related changes
Printable version
Permanent link
Page information
In other projects
In other languages
Add links