Module:Protection banner/doc: Difference between revisions

Content deleted Content added
Parameters: document catonly
Tag: Reverted
mNo edit summary
 
(12 intermediate revisions by 12 users not shown)
Line 1:
{{High-use| 36098 }}
{{Module rating|protected}}
{{Lua|Module:Protection banner/config|Module:No globals|Module:File link|Module:Effective protection level|Module:Effective protection expiry|Module:Yesno|Module:Arguments|Module:Message box|Module:Submit an edit request}}
This module creates protection banners and padlock icons that are placed at the top of [[Help:Protection|protected pages]].
 
Line 19:
| user = ''username''
| section = ''talk page section name''
| category = ''noyes''
}}
 
Line 69:
{{error|Error: invalid protection date ("abc")}}
 
This error is produced if you supply ana {{para|date}} parameter value that is not recognised as a valid date by the #time parser function. If in doubt, you can just use a date in the format "dd Month YYYY", e.g. "{{#time:j F Y|+ 1 week}}". To see a full range of valid inputs, see the [[mw:Help:Extension:ParserFunctions##time|#time documentation]] (only the first parameter, the ''format string'', may be specified).
 
=== Invalid action ===