Jump to content

Template:Pp: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{{type|}}}
<includeonly>{{#switch:{{{type|}}}
| semi = <div style="text-align:right; margin-bottom:5px;">[[File:Semi-protection-shackle.png|20px|link=|Semi-protected]] <small>'''Semi-protected'''</small></div>[[Category:Semi-protected pages]]
| semi = [[File:Semi-protection-shackle.png|20px|link=Project:Protection policy|This page is semi-protected.|alt=Semi-protected page]]<span style="display:none;">[[Category:Semi-protected pages]]</span>
| move = <div style="text-align:right; margin-bottom:5px;">[[File:Move-protection-shackle.png|20px|link=|Move-protected]] <small>'''Move-protected'''</small></div>[[Category:Move-protected pages]]
| move = [[File:Move-protection-shackle.png|20px|link=Project:Protection policy|This page is protected from being moved.|alt=Move-protected page]]<span style="display:none;">[[Category:Move-protected pages]]</span>
| template = <div style="text-align:right; margin-bottom:5px;">[[File:Template-protection-shackle.png|20px|link=|Template-protected]] <small>'''Template-protected'''</small></div>[[Category:Protected templates]]
| template = [[File:Template-protection-shackle.png|20px|link=Project:Protection policy|This template is protected from editing.|alt=Protected template]]<span style="display:none;">[[Category:Protected templates]]</span>
| extended = <div style="text-align:right; margin-bottom:5px;">[[File:Extended-protection-shackle.png|20px|link=|Extended-protected]] <small>'''Extended-protected'''</small></div>[[Category:Extended-protected pages]]
| extended = [[File:Extended-protection-shackle.png|20px|link=Project:Protection policy|This page is extended-confirmed protected.|alt=Extended-protected page]]<span style="display:none;">[[Category:Extended-protected pages]]</span>
| vandalism = <div style="text-align:right; margin-bottom:5px;">[[File:Full-protection-shackle.png|20px|link=|Protected from vandalism]] <small>'''Protected from vandalism'''</small></div>[[Category:Pages protected against vandalism]]
| vandalism = [[File:Full-protection-shackle.png|20px|link=Project:Protection policy|This page is protected against vandalism.|alt=Protected page]]<span style="display:none;">[[Category:Pages protected against vandalism]]</span>
| dispute = <div style="text-align:right; margin-bottom:5px;">[[File:Full-protection-shackle.png|20px|link=|Protected due to dispute]] <small>'''Protected due to dispute'''</small></div>[[Category:Pages protected due to dispute]]
| dispute = [[File:Full-protection-shackle.png|20px|link=Project:Protection policy|This page is protected due to editing disputes.|alt=Protected page]]<span style="display:none;">[[Category:Pages protected due to dispute]]</span>
| full = <div style="text-align:right; margin-bottom:5px;">[[File:Full-protection-shackle.svg|20px|link=|Fully protected]] <small>'''Protected'''</small></div>[[Category:Protected pages]]
| full = [[File:Full-protection-shackle.png|20px|link=Project:Protection policy|This page is fully protected.|alt=Protected page]]<span style="display:none;">[[Category:Protected pages]]</span>
| #default = <div style="text-align:right; margin-bottom:5px;">[[File:Full-protection-shackle.png|20px|link=|Protected]] <small>'''Protected'''</small></div>[[Category:Protected pages]]
| office = [[File:Office-protection-shackle.png|20px|link=Project:Protection policy|This page is under Wikimedia Foundation office action.|alt=Office-protected page]]<span style="display:none;">[[Category:Office-protected pages]]</span>
| create = [[File:Create-protection-shackle.png|20px|link=Project:Protection policy|This page is protected from creation.|alt=Create-protected page]]<span style="display:none;">[[Category:Create-protected pages]]</span>
| #default = [[File:Full-protection-shackle.png|20px|link=Project:Protection policy|This page is protected.|alt=Protected page]]<span style="display:none;">[[Category:Protected pages]]</span>
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation|content=
{{Documentation}}
== Usage ==
<pre>{{pp|type=semi}}</pre>
<pre>{{pp|type=move}}</pre>
<pre>{{pp|type=template}}</pre>
<pre>{{pp|type=extended}}</pre>
<pre>{{pp|type=vandalism}}</pre>
<pre>{{pp|type=dispute}}</pre>
<pre>{{pp|type=full}}</pre>
 
== Parameters ==
* '''type''' – Protection type: semi, move, template, extended, vandalism, dispute, full
}}
</noinclude>
</noinclude>

Revision as of 12:37, 15 May 2026

   📄 Template documentation
Original content on DGR Wiki is © DGR Entertainment & Multimedia Ltd.