<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wonkpedia.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3APp%2Fdoc</id>
	<title>Template:Pp/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wonkpedia.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3APp%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Template:Pp/doc&amp;action=history"/>
	<updated>2026-04-15T04:41:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wonkpedia.org/mediawiki/index.php?title=Template:Pp/doc&amp;diff=790&amp;oldid=prev</id>
		<title>Bmueller: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Template:Pp/doc&amp;diff=790&amp;oldid=prev"/>
		<updated>2021-11-23T23:19:54Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:19, 23 November 2021&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key lets_get_wonky-mediawiki-:diff:wikidiff2:1.12:old-789:rev-790:1.11.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Bmueller</name></author>
	</entry>
	<entry>
		<id>https://wonkpedia.org/mediawiki/index.php?title=Template:Pp/doc&amp;diff=789&amp;oldid=prev</id>
		<title>Wikipedia&gt;Shellwood: Reverted edits by 2001:44C8:418A:210A:B019:A50C:70D4:FED8 (talk) to last version by Nehme1499</title>
		<link rel="alternate" type="text/html" href="https://wonkpedia.org/mediawiki/index.php?title=Template:Pp/doc&amp;diff=789&amp;oldid=prev"/>
		<updated>2021-10-17T23:49:33Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/mediawiki/index.php/Special:Contributions/2001:44C8:418A:210A:B019:A50C:70D4:FED8&quot; title=&quot;Special:Contributions/2001:44C8:418A:210A:B019:A50C:70D4:FED8&quot;&gt;2001:44C8:418A:210A:B019:A50C:70D4:FED8&lt;/a&gt; (&lt;a href=&quot;/mediawiki/index.php?title=User_talk:2001:44C8:418A:210A:B019:A50C:70D4:FED8&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:2001:44C8:418A:210A:B019:A50C:70D4:FED8 (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last version by Nehme1499&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use| 7450 }}&lt;br /&gt;
{{Twinkle standard installation}}&lt;br /&gt;
{{lua|Module:Protection banner}}&lt;br /&gt;
&amp;lt;!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a general template for producing protection banners and padlock icons. It can be used with any protection reason, any protection action, and any protection level.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;#123;{pp&lt;br /&gt;
 | 1        = ''reason''&lt;br /&gt;
 | small    = ''yes''&lt;br /&gt;
 | action   = ''action''&lt;br /&gt;
 | date     = ''protection date''&lt;br /&gt;
 | user     = ''username''&lt;br /&gt;
 | section  = ''talk page section name''&lt;br /&gt;
 | category = ''no''&lt;br /&gt;
 }&amp;amp;#125;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
All parameters are optional:&lt;br /&gt;
* '''1''' – The reason that the page was protected. If set, this must be one of the values listed in the [[#Reasons|reasons table]].&lt;br /&gt;
* '''small''' – If set to &amp;quot;yes&amp;quot;, &amp;quot;y&amp;quot;, &amp;quot;1&amp;quot;, or &amp;quot;true&amp;quot;, a padlock icon is generated instead of a full protection banner.&lt;br /&gt;
* '''action''' – The protection action. Must be one of &amp;quot;edit&amp;quot; (for normal protection), &amp;quot;move&amp;quot; (for move-protection) or &amp;quot;autoreview&amp;quot; (for pending changes). The default value is &amp;quot;edit&amp;quot;.&lt;br /&gt;
* '''date''' – The protection date. This must be valid input to the second parameter of the [[mw:Help:Extension:ParserFunctions##time|#time parser function]]. This argument only has an effect for the &amp;quot;office&amp;quot; and &amp;quot;reset&amp;quot; reasons.&lt;br /&gt;
* '''user''' – The username of the user to generate links for. As of July 2014, this only has an effect when the &amp;quot;usertalk&amp;quot; reason is specified.&lt;br /&gt;
* '''section''' – The section name of the protected page's talk page where discussion is taking place. This works for most, but not all, values of ''reason''.&lt;br /&gt;
* '''category''' – Categories are suppressed if this is set to &amp;quot;no&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;0&amp;quot;, or &amp;quot;false&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Reasons ==&lt;br /&gt;
The following table contains the available reasons, plus the actions for which they are available.&lt;br /&gt;
&lt;br /&gt;
{{#invoke:Protection banner/documentation|reasonTable}}&lt;br /&gt;
&lt;br /&gt;
== Syntax examples ==&lt;br /&gt;
'''Padlock icons'''&lt;br /&gt;
&lt;br /&gt;
Padlock icon for a page protected due to vandalism:&lt;br /&gt;
 &amp;amp;#123;{pp|vandalism|small=yes}&amp;amp;#125;&lt;br /&gt;
&lt;br /&gt;
Padlock icon for a page temporarily protected due to editing disputes:&lt;br /&gt;
 &amp;amp;#123;{pp|dispute|small=yes}&amp;amp;#125;&lt;br /&gt;
&lt;br /&gt;
'''Banners'''&lt;br /&gt;
&lt;br /&gt;
Banner for a page protected due to sockpuppetry, with a link to a talk page discussion:&lt;br /&gt;
 &amp;amp;#123;{pp|sock|section=Sockpuppetry concerns}&amp;amp;#125;&lt;br /&gt;
&lt;br /&gt;
Banner for a page temporarily move-protected due to page-move vandalism:&lt;br /&gt;
 &amp;amp;#123;{pp|vandalism|action=move}&amp;amp;#125;&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Produces banners to describe why a page is protected and padlock icons&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Reason&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Reason for protection, may be one of: blp, dispute, dmca, mainpage, office, reset, sock, template, usertalk, vandalism&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;blp&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;small&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies whether the small format is used. If set to \&amp;quot;yes\&amp;quot;, \&amp;quot;y\&amp;quot;, \&amp;quot;1\&amp;quot;, or \&amp;quot;true\&amp;quot;, a padlock icon is generated instead of a full protection banner.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;yes&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;no&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;action&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Protection action. Must be one of \&amp;quot;edit\&amp;quot; (for normal protection), \&amp;quot;move\&amp;quot; (for move-protection) or \&amp;quot;autoreview\&amp;quot; (for pending changes). The default value is \&amp;quot;edit\&amp;quot;.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;edit&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;edit&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;date&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Protection date. This must be valid input to the second parameter of the #time parser function. This argument only has an effect for the \&amp;quot;office\&amp;quot; and \&amp;quot;reset\&amp;quot; reasons.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;date&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;user&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Username of the user to generate links for. This only has an effect when the \&amp;quot;usertalk\&amp;quot; reason is specified.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-user-name&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;section&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Section name of the protected page's talk page where discussion is taking place. This works for most, but not all, values of reason.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;category&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Categories are suppressed if this is set to \&amp;quot;no\&amp;quot;, \&amp;quot;n\&amp;quot;, \&amp;quot;0\&amp;quot;, or \&amp;quot;false\&amp;quot;.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Protection templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!--Categories below this line, please; interwikis at Wikidata--&amp;gt;&lt;br /&gt;
[[Category:Protection templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Shellwood</name></author>
	</entry>
</feed>