Template:Protected
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
This page is currently protected and can be edited only by certain registered users. Use the discussion page to request changes to this page. For more information, see MEpedia:Page protection. |
Usage
Examples
- {{protected|semi}}
This page is currently semi-protected and can be edited only by established users. Other users are welcome to propose changes on the discussion page. For more information, see MEpedia:Page protection. |
- {{protected|full}}
This page is currently fully protected and can be edited only by administrators. Other users are welcome to propose changes on the discussion page. For more information, see MEpedia:Page protection. |
- {{protected|interface}}
This page is a part of the user interface and can be edited only by administrators. Use the discussion page if you must request changes to this page. |
- {{protected}}
This page is currently protected and can be edited only by certain registered users. Use the discussion page to request changes to this page. For more information, see MEpedia:Page protection. |
Parameters
- Image (left image) - Ombox defaults to the semi-protection image, which is set in the module, but set here too for completion. The Red padlock is set by Template:Fmbox, which doesn't use the module
- Demospace is only needed to indicate the name space for mbox, we are using ombox and fmbox so don't need it
- Template to call in switch statement can be:
- Ambox - article
- Imbox - image
- Cmbox - category
- Tmbox - talk page
- Fmbox - interface messages
- Ombox - other (but improved layout for article protection pages too), also can be used for templates
- Black padlock - unused at the moment
Alternative version
content hidden | ||
---|---|---|
An alternative version using a different padlock images and based on a previous version of Template:Protected used the following code for semi-protection, with the default image set by Module:Message box: |semi-protected ={{mbox |type=protection |textstyle=font-size:130%; |style=padding:auto 5em;border-style:solid; border-color:{{meactionlgray}} |text=This page is currently '''semi-protected''' and can be edited only by [[MEpedia:Autoconfirmed users|established]] registered users. }} result:
|
See also
- {{Fmbox}}
- {{Ombox}}
- Module:Message box - used by this module
- Module:Message box/configuration - used to set image names for this module (except Fmbox)
The above documentation is transcluded from Template:Protected/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |