<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pathfindersonline.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATTreq</id>
	<title>Template:TTreq - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pathfindersonline.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ATTreq"/>
	<link rel="alternate" type="text/html" href="https://wiki.pathfindersonline.org/index.php?title=Template:TTreq&amp;action=history"/>
	<updated>2026-05-27T10:23:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://wiki.pathfindersonline.org/index.php?title=Template:TTreq&amp;diff=567161&amp;oldid=prev</id>
		<title>Jomegat: cut-n-paste from ansreq</title>
		<link rel="alternate" type="text/html" href="https://wiki.pathfindersonline.org/index.php?title=Template:TTreq&amp;diff=567161&amp;oldid=prev"/>
		<updated>2022-02-19T00:46:18Z</updated>

		<summary type="html">&lt;p&gt;cut-n-paste from ansreq&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;
This template is used to add an honor requirement to a teaching tips page. The answerbox needs to be closed by using the [[Template:CloseReq|CloseReq]]-Template.&amp;lt;br&amp;gt;&lt;br /&gt;
For example like that:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours&amp;quot;&amp;gt;&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;{{TTreq|num=1|page={{PAGENAME}}}}&amp;lt;nowiki /&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;Here you can write your teaching tip. Any MediaWiki-Content is possible.&amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:&amp;lt;nowiki&amp;gt;{{CloseReq}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
The &amp;lt;nowiki&amp;gt;&amp;lt;nowiki /&amp;gt;&amp;lt;/nowiki&amp;gt; tag is needed so there is no unnecessary line break at the beginning of the tip.&lt;br /&gt;
For the Example the &amp;lt;nowiki&amp;gt;{{PAGENAME}}&amp;lt;/nowiki&amp;gt; was replaced with a fixed name, but at an honor page the template will get the needed information out of the pagename.&lt;br /&gt;
&lt;br /&gt;
If the page argument contains the word &amp;quot;Requirement&amp;quot; then the requirements are fetched directly from that page.  If it doesn't, then we construct the requirements page by extracting the first two elements of the page (assumed to be &amp;quot;AY Honors/''honor''&amp;quot;) and appending &amp;quot;/Requirements&amp;quot; to it.  We need this to support variant requirements, as it allows us to specify &lt;br /&gt;
&amp;lt;pre&amp;gt;page=AY Honors/''honor''/Requirements_2&amp;lt;/pre&amp;gt;&lt;br /&gt;
in the honor landing template.&lt;br /&gt;
&lt;br /&gt;
{{TTreq|num=1|page=AY Honors/Aboriginal Lore}}&amp;lt;nowiki /&amp;gt;&lt;br /&gt;
This is the example teaching tip. Any MediaWiki-Content is possible (Tables, Templates, ...).&lt;br /&gt;
{{CloseReq}}&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;includeonly&amp;gt;&amp;lt;div class=&amp;quot;req-container&amp;quot;&amp;gt;&amp;lt;div class=&amp;quot;req-head&amp;quot;&amp;gt;&amp;lt;p class=&amp;quot;req-num&amp;quot;&amp;gt;&lt;br /&gt;
{{#if:{{#pos:{{{page|}}}&lt;br /&gt;
            |Requirements}}&lt;br /&gt;
     |{{#vardefine:reqpage|{{{page}}}}}&lt;br /&gt;
     |{{#vardefine:reqpage|{{#titleparts:{{{page}}}|2|1}}/Requirements}}&lt;br /&gt;
}}{{{dispreq|{{{num}}}}}}&amp;lt;/p&amp;gt;&amp;lt;div class=&amp;quot;req-text&amp;quot;&amp;gt;{{#lst:{{#var:reqpage}}{{GetLangSuffix}}|req{{{num}}} }}&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class=&amp;quot;req-answer&amp;quot;&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;[[Category:Requirements Template]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jomegat</name></author>
	</entry>
</feed>