<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AWPBannerMeta%2Fistemplate%2Fdoc</id>
	<title>Template:WPBannerMeta/istemplate/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AWPBannerMeta%2Fistemplate%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:WPBannerMeta/istemplate/doc&amp;action=history"/>
	<updated>2026-05-14T00:31:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:WPBannerMeta/istemplate/doc&amp;diff=42111&amp;oldid=prev</id>
		<title>imported&gt;MSGJ: +cat</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:WPBannerMeta/istemplate/doc&amp;diff=42111&amp;oldid=prev"/>
		<updated>2020-12-05T21:57:33Z</updated>

		<summary type="html">&lt;p&gt;+cat&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;
&amp;lt;!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
{{high-use|all-pages=yes}}&lt;br /&gt;
==Usage==&lt;br /&gt;
This {{tlx|WPBannerMeta}} subtemplate decides what kind of page and mode of use the template is being on. It performs two checks:&lt;br /&gt;
# Is the page name the {{para|BANNER_NAME}}, or is the page a subpage of that page?&lt;br /&gt;
# Is {{para|category|yes}}, {{para|category}} (blank), {{para|category|¬}} or {{para|category|banana}} (anything not explicity negative)?&lt;br /&gt;
&lt;br /&gt;
And then combines them together either with logical operator &amp;quot;&amp;#039;&amp;#039;&amp;#039;and&amp;#039;&amp;#039;&amp;#039;&amp;quot; (default) or another logical operator, e.g. &amp;quot;&amp;#039;&amp;#039;&amp;#039;or&amp;#039;&amp;#039;&amp;#039;&amp;quot;; this can be specified in the first unnamed parameter.&lt;br /&gt;
&lt;br /&gt;
===Logical operator: and (default behaviour)===&lt;br /&gt;
This is used by the main template and some hooks. It will return &amp;quot;yes&amp;quot; only if it is on the template page and is not being used as an example (e.g. on its documentation page). In this case the banner will appear in its &amp;#039;demo&amp;#039; version with all options demonstrated.&lt;br /&gt;
{| class=wikitable style=&amp;quot;float:right; width:0; text-align:center;&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;text-align: left;&amp;quot; | Logical operation &amp;quot;and&amp;quot; (default)&lt;br /&gt;
| colspan=2 rowspan=2 | &lt;br /&gt;
! colspan=4 style=&amp;quot;white-space:nowrap;&amp;quot; | Is the current page&amp;lt;br/&amp;gt;BANNER_NAME or a subpage?&lt;br /&gt;
|-&lt;br /&gt;
! Yes !! No&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=2 | Is &amp;#039;&amp;#039;category&amp;#039;&amp;#039; blank or anything apart from &amp;quot;no&amp;quot;?&lt;br /&gt;
! Yes&lt;br /&gt;
| yes&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
! No&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
===Logical operator: and not===&lt;br /&gt;
This is used by some hooks. It will return &amp;quot;yes&amp;quot; only if it is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; on the template page and is not being used as an example. This is suitable for non-visual output such as categories.&lt;br /&gt;
{| class=wikitable style=&amp;quot;float:right; width:0; text-align:center;&amp;quot;&lt;br /&gt;
|+ style=&amp;quot;text-align: left;&amp;quot; | Logical operation &amp;quot;and not&amp;quot;&lt;br /&gt;
| colspan=2 rowspan=2 | &lt;br /&gt;
! colspan=2 style=&amp;quot;white-space:nowrap;&amp;quot; | Is the current page&amp;lt;br/&amp;gt;BANNER_NAME or a subpage?&lt;br /&gt;
|-&lt;br /&gt;
! Yes !! No&lt;br /&gt;
|-&lt;br /&gt;
! rowspan=2 | Is &amp;#039;&amp;#039;category&amp;#039;&amp;#039; blank or anything apart from &amp;quot;no&amp;quot;?&lt;br /&gt;
! Yes&lt;br /&gt;
| &lt;br /&gt;
| yes&lt;br /&gt;
|-&lt;br /&gt;
! No&lt;br /&gt;
| &lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Subtemplates of WPBannerMeta]]&lt;br /&gt;
[[Category:WikiProject banner documentation templates|{{SUBPAGENAME}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;MSGJ</name></author>
	</entry>
</feed>