<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.infra-repository.org/oiar-2013/index.php?action=history&amp;feed=atom&amp;title=Template%3APatternscomposedof</id>
	<title>Template:Patternscomposedof - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.infra-repository.org/oiar-2013/index.php?action=history&amp;feed=atom&amp;title=Template%3APatternscomposedof"/>
	<link rel="alternate" type="text/html" href="https://www.infra-repository.org/oiar-2013/index.php?title=Template:Patternscomposedof&amp;action=history"/>
	<updated>2026-05-06T13:56:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://www.infra-repository.org/oiar-2013/index.php?title=Template:Patternscomposedof&amp;diff=147&amp;oldid=prev</id>
		<title>Jan Schoonderbeek: start</title>
		<link rel="alternate" type="text/html" href="https://www.infra-repository.org/oiar-2013/index.php?title=Template:Patternscomposedof&amp;diff=147&amp;oldid=prev"/>
		<updated>2012-11-11T23:22:21Z</updated>

		<summary type="html">&lt;p&gt;start&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Templates]]&lt;br /&gt;
This query should be on every Building Block Type and Building Block Variant page. It has its own heading, under which directly follows the semantic query.&lt;br /&gt;
It takes one (optional) named parameter: &lt;br /&gt;
* &amp;#039;&amp;#039;page&amp;#039;&amp;#039; should be a Building Block Type or Variant page for which you want to find the Patterns (Types or Variants) that use it. If empty, the template will assume &amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt;.&amp;lt;br&amp;gt;&lt;br /&gt;
Note that within the template, a lot of calculations go on to find out if we need &amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt; or not, and if that page is a Building Block Type or Variant. Note also, that if you call this template with a page that is neither, a Building Block Variant is assumed, and none are found.&lt;br /&gt;
&lt;br /&gt;
To use the template, cut and paste the following code:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{Patternscomposedof&lt;br /&gt;
|page=&lt;br /&gt;
}} &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An impression of the result of using this template can be seen below:&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
{{#vardefine:pagename|{{PAGENAME}}}}{{#if:{{{page|}}}|{{#vardefine:pagename|{{{page}}}}}}}{{#vardefine:typetest|{{#ask:[[{{#var:pagename}}]] [[Category:Building Block Type]]|format=list|link=none}}}}{{#vardefine:kind|{{#ifexist:{{#var:typetest}} | Type | Variant }}}}[[Image:Doc inspect.png|left|24px|Semantic query]]{{#ask:&lt;br /&gt;
[[Category:Pattern]][[Must contain::{{#var:pagename}}]] OR&lt;br /&gt;
[[Category:Pattern]][[May contain::{{#var:pagename}}]]&lt;br /&gt;
|mainlabel=Pattern {{#var:kind}}&lt;br /&gt;
|?Brief description=Brief Description&lt;br /&gt;
|?Owner&lt;br /&gt;
|?Page maturity=Maturity&lt;br /&gt;
|format=table&lt;br /&gt;
|order=ascending&lt;br /&gt;
|default = &amp;#039;&amp;#039;No Pattern {{#var:kind}} based on this Building Block {{#var:kind}} (yet)&amp;#039;&amp;#039;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Jan Schoonderbeek</name></author>
	</entry>
</feed>