Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Search
Editing
Template:Protected/doc
From MEpedia, a crowd-sourced encyclopedia of ME and CFS science and history
Namespaces
Template
Discussion
More
More
Page actions
Read
Edit source
History
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!
==Usage == ==Examples == *<nowiki>{{protected|semi}}</nowiki> {{protected|semi}} *<nowiki>{{protected|full}}</nowiki> {{protected|full}} *<nowiki>{{protected|interface}}</nowiki> {{protected|interface}} *<nowiki>{{protected}}</nowiki> {{protected}} ===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 == {{collapse top}} 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]]: <pre>|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. }}</pre > '''result:''' {{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. }} {{collapse bottom}} ==See also == *{{t1|Fmbox}} *{{t1|Ombox}} *[[Module:Message box]] - used by this module *[[Module:Message box/configuration]] - used to set image names for this module (except Fmbox)
Summary:
Please make sure your edits are consistent with
MEpedia's guidelines
.
By saving changes, you agree to the
Terms of use
, and you irrevocably agree to release your contribution under the
CC BY-SA 3.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Collapse bottom
(
edit
)
Template:Collapse top
(
edit
)
Template:Fmbox
(
edit
)
Template:MEActionGray
(
edit
)
Template:Mbox
(
edit
)
Template:Meactionlgray
(
edit
)
Template:Protected
(
view source
) (protected)
Template:T1
(
edit
)
Module:Arguments
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:No globals
(
edit
)
Module:Yesno
(
edit
)
Navigation
Navigation
Skip to content
Main page
Browse
Become an editor
Random page
Popular pages
Abbreviations
Glossary
About MEpedia
Links for editors
Contents
Guidelines
Recent changes
Pages in need
Search
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs