Template:Protection templates: Difference between revisions

Created page with "{{Navbox | state = {{{state|{{{1|<includeonly>collapsed</includeonly>}}}}}} | class = <!--ombox ombox-protection--> | title = {{c|Protection templates}} | image<!--left--> = <..."
 
WikiDwarfBOT (talk | contribs)
m top: clean up
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
             |row1header=on |row1style=background:none;padding-bottom:0.25em;border-bottom:1px solid #bbf;
             |row1header=on |row1style=background:none;padding-bottom:0.25em;border-bottom:1px solid #bbf;
             |style1.1=background:none;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}}
<!--  1 --> | | {{sans-serif|Edit}} | {{sans-serif|Move}} | {{sans-serif|[[Bharatpedia:Pending changes|Pending changes]]}} | {{sans-serif|Upload}}


<!--  2 --> | Generic
<!--  2 --> | Generic
Line 22: Line 22:
             |row2style=background:whitesmoke;
             |row2style=background:whitesmoke;


<!--  3 --> | [[Wikipedia:Biographies of living persons|BLP]] | {{tl|pp-blp}} | – | – | –
<!--  3 --> | [[Bharatpedia:Biographies of living persons|BLP]] | {{tl|pp-blp}} | – | – | –


<!--  4 --> | Dispute            | {{tl|pp-dispute}}    | {{tl|pp-move-dispute}} | – | –
<!--  4 --> | Dispute            | {{tl|pp-dispute}}    | {{tl|pp-move-dispute}} | – | –
             |row4style=background:whitesmoke;
             |row4style=background:whitesmoke;


<!--  5 --> | [[Wikipedia:Protection_policy#Extended_confirmed_protection|Extended confirmed protection]]          | {{tl|pp-extended}}    | {{tl|pp-extended}} | – | –
<!--  5 --> | [[Bharatpedia:Protection_policy#Extended_confirmed_protection|Extended confirmed protection]]          | {{tl|pp-extended}}    | {{tl|pp-extended}} | – | –
              
              
<!--  6 --> | [[Main Page]] Image      | {{tl|pp-main-page}}  | – | – | –
<!--  6 --> | [[Main Page]] Image      | {{tl|pp-main-page}}  | – | – | –
             |row6style=background:whitesmoke;
             |row6style=background:whitesmoke;


<!--  7 --> | [[Wikipedia:Office actions|Office]]
<!--  7 --> | [[Bharatpedia:Office actions|Office]]
             | {{tl|pp-office}}&nbsp;{{tl|pp-reset}} {{tl|pp-office-dmca}}
             | {{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}}
Line 61: Line 61:
{{Collapsible option |statename=optional |default=collapsed}}
{{Collapsible option |statename=optional |default=collapsed}}


[[Category:Wikipedia administration templates]]
[[Category:Bharatpedia administration templates]]
[[Category:Documentation see also templates]]
[[Category:Documentation see also templates]]
}}<!--(end Documentation)-->
}}<!--(end Documentation)-->
</noinclude>
</noinclude>

Latest revision as of 16:26, 6 June 2021

Template 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.