<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.shadowrunwiki.com/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://www.shadowrunwiki.com/index.php?action=history&amp;feed=atom&amp;title=Template%3APp%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.shadowrunwiki.com/index.php?title=Template:Pp/doc&amp;action=history"/>
	<updated>2026-06-04T08:01:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://www.shadowrunwiki.com/index.php?title=Template:Pp/doc&amp;diff=138&amp;oldid=prev</id>
		<title>Catrone3: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.shadowrunwiki.com/index.php?title=Template:Pp/doc&amp;diff=138&amp;oldid=prev"/>
		<updated>2024-03-05T16:01:59Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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 11:01, 5 March 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key shadowrun:diff:1.41:old-137:rev-138 --&gt;
&lt;/table&gt;</summary>
		<author><name>Catrone3</name></author>
	</entry>
	<entry>
		<id>https://www.shadowrunwiki.com/index.php?title=Template:Pp/doc&amp;diff=137&amp;oldid=prev</id>
		<title>Template&gt;Deadfire: Creation (as this is needed)</title>
		<link rel="alternate" type="text/html" href="https://www.shadowrunwiki.com/index.php?title=Template:Pp/doc&amp;diff=137&amp;oldid=prev"/>
		<updated>2023-05-14T17:24:03Z</updated>

		<summary type="html">&lt;p&gt;Creation (as this is needed)&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;
{{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 &amp;#039;&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;#039;rotection banners and &amp;#039;&amp;#039;&amp;#039;p&amp;#039;&amp;#039;&amp;#039;adlock 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        = &amp;#039;&amp;#039;reason&amp;#039;&amp;#039;&lt;br /&gt;
 | small    = &amp;#039;&amp;#039;yes&amp;#039;&amp;#039;&lt;br /&gt;
 | action   = &amp;#039;&amp;#039;action&amp;#039;&amp;#039;&lt;br /&gt;
 | date     = &amp;#039;&amp;#039;protection date&amp;#039;&amp;#039;&lt;br /&gt;
 | user     = &amp;#039;&amp;#039;username&amp;#039;&amp;#039;&lt;br /&gt;
 | section  = &amp;#039;&amp;#039;talk page section name&amp;#039;&amp;#039;&lt;br /&gt;
 | category = &amp;#039;&amp;#039;no&amp;#039;&amp;#039;&lt;br /&gt;
 }&amp;amp;#125;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
All parameters are optional:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039; – 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;
* &amp;#039;&amp;#039;&amp;#039;small&amp;#039;&amp;#039;&amp;#039; – 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;
* &amp;#039;&amp;#039;&amp;#039;action&amp;#039;&amp;#039;&amp;#039; – 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;
* &amp;#039;&amp;#039;&amp;#039;date&amp;#039;&amp;#039;&amp;#039; – 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;
* &amp;#039;&amp;#039;&amp;#039;user&amp;#039;&amp;#039;&amp;#039; – 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;
* &amp;#039;&amp;#039;&amp;#039;section&amp;#039;&amp;#039;&amp;#039; – The section name of the protected page&amp;#039;s talk page where discussion is taking place. This works for most, but not all, values of &amp;#039;&amp;#039;reason&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;category&amp;#039;&amp;#039;&amp;#039; – 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. Reasons are used to customize the banner text, to place articles in more specific hidden categories such as [[:Category:Pages semi-protected against vandalism]], and sometimes to change the icon of the banner.&lt;br /&gt;
&lt;br /&gt;
{{#invoke:Protection banner/documentation|reasonTable}}&lt;br /&gt;
&lt;br /&gt;
== Syntax examples ==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Padlock icons&amp;#039;&amp;#039;&amp;#039;&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;
&amp;#039;&amp;#039;&amp;#039;Banners&amp;#039;&amp;#039;&amp;#039;&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;
== Visibility ==&lt;br /&gt;
This template will hide itself (not display a padlock icon) if it is used on a page that is not currently protected.&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&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&amp;#039;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>Template&gt;Deadfire</name></author>
	</entry>
</feed>