Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Protection banner/doc
(section)
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!
== Parameters == All parameters are optional. * '''1''' β the reason that the page was protected. If set, this must be one of the values listed in the [[#Reasons|reasons table]]. * '''small''' β if set to "yes", "y", "1", or "true", a padlock icon is generated instead of a full protection banner. * '''action''' β the protection action. Must be one of "edit" (for normal protection), "move" (for move-protection) or "autoreview" (for pending changes). The default value is "edit". * '''date''' β the protection date. This must be valid input to the second parameter of the [[mw:Help:Extension:ParserFunctions##time|#time parser function]]. This argument has an effect for reasons that use the PROTECTIONDATE parameter in their configuration. As of July 2014, those were the "office" and "reset" reasons. * '''user''' β the username of the user to generate links for. As of July 2014, this only has an effect when the "usertalk" reason is specified. * '''section''' β the section name of the protected page's talk page where discussion is taking place. This works for most, but not all, values of ''reason''. * '''category''' β categories are suppressed if this is set to "no", "n", "0", or "false". * '''catonly''' β if set to "yes", "y", "1", or "true", will only return the protection categories, and not return the banner or padlock. This has no visible output.
Summary:
Please note that all contributions to Stockhub 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
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)