Difference between revisions of "Template:Protection templates"
Wikipedia>Wbm1058 (template renamed) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
| navbar = plain | | navbar = plain | ||
| title = {{c|Protection templates}} | | title = {{c|Protection templates}} | ||
− | | image<!--left--> = <!--[[File: | + | | image<!--left--> = <!--[[File:TTSCpedia protection icon.svg|40px|link=|alt=]]--> |
| tracking = no <!-- keep all the documented templates out of the hlist tracking category --> | | tracking = no <!-- keep all the documented templates out of the hlist tracking category --> | ||
Line 10: | Line 10: | ||
|cols=5 |style=border:1px solid #aaa;font-size:110%;margin:0 auto<!-- 0.2em-->; | |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; | |colstyle=vertical-align:middle;padding-left:1.0em;<!--font-family:monospace;-->padding-right:1.0em; | ||
− | |col1class=navbox-group |col1style= | + | |col1class=navbox-group |col1style=font-family:sans-serif; |
<!--row#--> | <!--row#--> | ||
|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| | + | <!-- 1 --> | | {{sans-serif|Edit}} | {{sans-serif|Move}} | {{sans-serif|Pending changes}} | {{sans-serif|Upload}} |
<!-- 2 --> | Generic | <!-- 2 --> | Generic | ||
Line 21: | Line 21: | ||
| {{tlf|pp}} {{tl|pp-pc}} | | {{tlf|pp}} {{tl|pp-pc}} | ||
| {{tlf|pp}} {{tl|pp-upload}} | | {{tlf|pp}} {{tl|pp-upload}} | ||
− | |||
− | + | <!-- 5 --> | Extended confirmed protection | {{tl|pp-30-500}} | {{tl|pp-30-500}} | – | – | |
− | |||
− | |||
− | |||
− | |||
− | <!-- 5 --> | ||
<!-- 6 --> | [[Main Page]] | {{tl|pp-main-page}} | – | – | – | <!-- 6 --> | [[Main Page]] | {{tl|pp-main-page}} | – | – | – | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<!-- 8 --> | Sockpuppetry | {{tl|pp-sock}} | – | – | – | <!-- 8 --> | Sockpuppetry | {{tl|pp-sock}} | – | – | – | ||
− | |||
<!-- 9 --> | High-visibility | {{tl|pp-template}} | – | – | – | <!-- 9 --> | High-visibility | {{tl|pp-template}} | – | – | – | ||
<!-- 10 --> | Blocked user's talk | {{tl|pp-usertalk}} | – | – | – | <!-- 10 --> | Blocked user's talk | {{tl|pp-usertalk}} | – | – | – | ||
− | |||
<!-- 11 --> | Vandalism | {{tl|pp-vandalism}} | {{tl|pp-move-vandalism}} | – | – | <!-- 11 --> | Vandalism | {{tl|pp-vandalism}} | {{tl|pp-move-vandalism}} | – | – | ||
<!-- 12 --> | Talk page | {{tl|permanently protected}} {{tl|temporarily protected}} | – | – | – | <!-- 12 --> | Talk page | {{tl|permanently protected}} {{tl|temporarily protected}} | – | – | – | ||
− | |||
<!-- 13 --> | Long-term | {{tl|pp-semi-indef}} | {{tl|pp-move-indef}} | – | – | <!-- 13 --> | Long-term | {{tl|pp-semi-indef}} | {{tl|pp-move-indef}} | – | – | ||
Line 62: | Line 46: | ||
{{Collapsible option |statename=optional |default=collapsed}} | {{Collapsible option |statename=optional |default=collapsed}} | ||
− | [[Category: | + | [[Category:Administration templates]] |
[[Category:Documentation see also templates]] | [[Category:Documentation see also templates]] | ||
}}<!--(end Documentation)--> | }}<!--(end Documentation)--> | ||
</noinclude> | </noinclude> |
Latest revision as of 07:06, 3 March 2019
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
.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |