Template:Protected page maintenance message/sandbox
Appearance
{{{1}}}
This is the template sandbox page for Template:Protected page maintenance message (diff). See also the companion subpage for test cases. |
Template documentation
This template is used on approximately 42,000 pages. This templates is used by {{Expand section}} and {{Missing information}}. Changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This convenience template is used to allow for a switchable statement to be easily placed in the code of maintenance templates such as {{Expand section}}. If a page is protected, any user who cannot edit the page will be given a link to make an edit request rather than the default text.
This template takes one mandator input, an unnamed parameter that will be the unprotected/default text seen by editors. If there are = in the parameter, us |1=
to enter the text.
A second, optional input, will give custom text to display for the users who cannot edit. Defaults to making an edit request
if |2=
is not given