Difference between revisions of "Module:Protection templates"

From blackwiki
Jump to navigation Jump to search
blackwiki>Renesis
(Removing duplicates (redirects) and moving the edit link)
m (244 revisions imported)
 
(198 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
<noinclude>{{shortcut|[[WP:Pt]]}}</noinclude>
+
{{Navbox
{| class="messagebox protected" style="width:auto; border:1px solid #88A; padding:0px; font-size:0.9em;"
+
| state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}}
|{{vat}}|[[Image:Padlock.svg|40px]]
+
| class = <!--ombox ombox-protection-->
|'''[[:Category:Protection templates|Protection templates]]'''<br />Articles: [[Template:Protected|Dispute]] {{!}} [[Template:Protected2|Dispute 2]] {{!}} [[Template:Vprotected|Vandalism]] {{!}} [[Template:P-protected|High traffic]] {{!}} [[Template:Deletedpage|Deleted (permanent)]]<br />Templates: [[Template:Protected template|High-use (permanent)]]<br />User talk: [[Template:Usertalk-vprotect|Vandalism]] {{!}} [[Template:Usertalk-sprotect|Vandalism (semi)]] {{!}} [[Template:IPtalkblanking|Vandalism (IP)]] {{!}} [[Template:Unblockabuse|<nowiki>{{unblock}}</nowiki> abuse]]<br />General: [[Template:Sprotected|Semi]] {{!}} [[Template:Sprotected2|Semi 2]] {{!}} [[Template:Privacy protection|Privacy]] {{!}} [[Template:Office|Office action]] <br />Main page images: [[Template:Mprotected|General]] {{!}} [[Template:C-uploaded|Temp from Commons]] {{!}} [[Template:M-cropped|Temporary cropped thumbnail]]<br />Other: [[Template:Moveprotected|Page moves]] {{!}} [[Template:SBprotected|Talk (spambot)]] {{!}} [[Template:Uprotected|User]] {{!}} [[Template:ProtectBU|Blocked user]]<br />{{edi|Protection templates}}
+
| title = {{c|Protection templates}}
|}<noinclude>
+
| image<!--left--> = <!--[[File:Padlock.svg|40px|link=|alt=]]-->
[[Category:Protection templates|*]]
+
| tracking = no <!-- keep all the documented templates out of the hlist tracking category -->
 +
 
 +
| list1 =  {{Aligned table
 +
            |cols=5 |style=border:1px solid #aaa;font-size:110%;margin:0 auto<!-- 0.2em-->;
 +
            |colstyle=vertical-align:middle;padding-left:1.0em;<!--font-family:monospace;-->padding-right:1.0em;
 +
            |col1class=navbox-group |col1style=background:#ddf;font-family:sans-serif;
 +
<!--row#-->
 +
            |row1header=on |row1style=background:none;padding-bottom:0.25em;border-bottom:1px solid #bbf;
 +
            |style1.1=background:none;border-bottom:1px solid #bbf;
 +
<!--  1 --> | | {{sans-serif|Edit}} | {{sans-serif|Move}} | {{sans-serif|[[Wikipedia:Pending changes|Pending changes]]}} | {{sans-serif|Upload}}
 +
 
 +
<!--  2 --> | Generic
 +
            | {{tl|pp}} {{tl|pp-protected}}
 +
            | {{tlf|pp}} {{tl|pp-move}}
 +
            | {{tlf|pp}} {{tl|pp-pc}}
 +
            | {{tlf|pp}} {{tl|pp-upload}}
 +
            |row2style=background:whitesmoke;
 +
 
 +
<!--  3 --> | [[Wikipedia:Biographies of living persons|BLP]] | {{tl|pp-blp}} | – | – | –
 +
 
 +
<!--  4 --> | Dispute            | {{tl|pp-dispute}}   | {{tl|pp-move-dispute}} | – | –
 +
            |row4style=background:whitesmoke;
 +
 
 +
<!--  5 --> | [[Wikipedia:Protection_policy#Extended_confirmed_protection|Extended confirmed protection]]           | {{tl|pp-30-500}}   | {{tl|pp-30-500}} | – | –
 +
           
 +
<!--  6 --> | [[Main Page]] Image      | {{tl|pp-main-page}}  | – | – | –
 +
            |row6style=background:whitesmoke;
 +
 
 +
<!--  7 --> | [[Wikipedia:Office actions|Office]]
 +
            | {{tl|pp-office}}&nbsp;{{tl|pp-reset}} {{tl|pp-office-dmca}}
 +
            | {{tlf|pp-office}}&nbsp;{{tlf|pp-reset}} {{tlf|pp-office-dmca}}
 +
            | {{tlf|pp-office}}&nbsp;{{tlf|pp-reset}} {{tlf|pp-office-dmca}}
 +
            | –
 +
 
 +
<!--  8 --> | Sockpuppetry        | {{tl|pp-sock}}       | – | – | –
 +
            |row8style=background:whitesmoke;
 +
 
 +
<!--  9 --> | High-visibility    | {{tl|pp-template}}   | – | – |
 +
           
 +
<!-- 10 --> | Blocked user's talk | {{tl|pp-usertalk}}   | – | – | –
 +
            |row10style=background:whitesmoke;
 +
 
 +
<!-- 11 --> | Vandalism          | {{tl|pp-vandalism}} | {{tl|pp-move-vandalism}} | – | –
 +
 
 +
<!-- 12 --> | Talk page          | {{tl|permanently protected}} {{tl|temporarily protected}} | – | – | –
 +
            |row12style=background:whitesmoke;
 +
 
 +
<!-- 13 --> | Long-term          | {{tl|pp-semi-indef}} | {{tl|pp-move-indef}} | – | –
 +
          }}
 +
 
 +
| below = [[Module:Protection banner]]
 +
 
 +
}}<noinclude>
 +
{{Documentation
 +
| content =
 +
{{Collapsible option |statename=optional |default=collapsed}}
 +
 
 +
[[Category:Wikipedia administration templates]]
 +
[[Category:Documentation see also templates]]
 +
}}<!--(end Documentation)-->
 
</noinclude>
 
</noinclude>

Latest revision as of 11:18, 22 September 2020

Module documentation

Initial visibility: currently defaults to collapsed

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Protection templates|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Protection templates|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Protection templates|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to collapsed.