In Memoriam: Tai'lahr

OpenUru.org, along with the rest of the Mystonline community, is mourning the loss of Tai'lahr on October 16th, 2019.

Rest in Peace, friend.

Difference between revisions of "Template:Protected"

From OpenUru
Jump to navigation Jump to search
(Remove border)
m (Adjust margins)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{clear}}<div style="background-color: #ffff99; border: none; text-align: left; margin-right: 50px; margin-left: 50px; padding: 2px"><div style="float: left; padding-left: 5px; padding-right: 10px;">http://assets.openuru.org/wiki/icons/lock-48x48.png</div>'''This page has been protected against edits'''<br>This page can only be edited by administrators. If you think protection is inappropriate then please contact the site administrators, stating the page name and giving reasons.{{clear}}</div>
+
<noinclude>'''Example:'''</noinclude>
</includeonly><noinclude>
+
{{clear}}<div style="background-color: #ffffcc; border: 1px solid yellow; text-align: left; margin: 5px 50px 5px 50px; padding: 4px 2px 2px 2px; font-size: 8pt;"><div style="float: left; padding-left: 5px; padding-right: 10px;">http://assets.openuru.org/wiki/icons/lock-48x48.png</div>'''This page has been protected against edits'''<br>This page can only be edited by administrators. If you think protection is inappropriate then please contact the site administrators, stating the page name and giving reasons.{{clear}}</div>
{{Protected/doc}}
+
<noinclude>
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:42, 30 March 2011

Example:

This page has been protected against edits
This page can only be edited by administrators. If you think protection is inappropriate then please contact the site administrators, stating the page name and giving reasons.

This template creates a banner indicating that the page is protected against edits.

Note: Do not use this as a "bluff". Only include this template on pages that are protected.

Usage

{{protected}}

This should normally be placed at the top of the page, preferably before the Table of Contents if present (use the __TOC__ or __NOTOC__ magic words on the following line if necessary). However, when used on sub-documents beginning with a heading, the template should be inserted immediately after the heading to ensure that the banner is included within the edit link of the heading:

=== Heading 3 ===
{{protected}}

On very long documents, it is also advisable to include the template at the bottom of the document too, but in this case add commentary to help ensure that both templates are removed if protection is removed at a later date, eg:

{{protected}} <!-- duplicated at bottom -->
__TOC__
...
...
...
{{protected}} <!-- duplicated at top -->