Template:Protected page maintenance message: Difference between revisions
(rvt to IP, autoconf breaks things) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 14:59, 4 November 2024
{{{1}}}
File:Test Template Info-Icon - Version (2).svg Template documentation
File:Ambox warning yellow.svg | This template is used on approximately 42,000 pages. This template 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}} or {{Missing information }}. 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 mandatory input, an unnamed parameter that will be the unprotected/default text seen by editors. If there are =
s in the parameter, use |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
[[Category:Template documentation pages{{#translation:}}]]