Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Help
Introduction to techRepo
Quick links
Main site
GitHub
SNS
Instagram
LinkedIn
X (Twitter)
YouTube
Search
Search
English
Appearance
Create account
Log in
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Editing
Template
:
Category handler/doc
(section)
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Information about this page.
Get shortened URL
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== The "category2" parameter === For backwards compatibility this template kind of supports the old "category =" parameter. But the parameter name "category" is already used in this template to feed category data for when in category space. So instead this template uses '''category2''' for the usage similar to '''nocat'''. Like this: * If "<code>category2 =</code>" (empty but defined), or "<code>category2 = no</code>", or if '''category2''' is fed any other data (except as described in the next two points), then this template does ''not'' categorize. * If '''category2''' is undefined or if "<code>category2 = Β¬</code>", then this template categorizes as usual. * If "<code>category2 = yes</code>" this template categorizes even when on blacklisted pages. When adding this template to a template that already uses the "<code>category =</code>" logic, then you can do like this to not break any existing usage: <pre> {{category handler | [[Category:Somecat]] | nocat = {{{nocat|}}} <!--So "nocat=true/false" works--> | category2 = {{{category|Β¬}}} <!--So "category =" works--> }} </pre> Note that the "<code>Β¬</code>" is necessary, it helps this template to detect if the '''category''' parameter is defined but empty, or undefined.
Summary:
Please note that all contributions to ARC Technical Repository may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TechRepo:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Template
:
Category handler/doc
(section)
Add languages
Add topic