Difference between revisions of "Template:Requirement pdf"

From Pathfinder Wiki
(Created page with "{| |- style="vertical-align:top;" |rowspan="2"|200px |style="text-align:right" |<b><big><big>Backpacking</big></big><hr style="height:5px"/></b>...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
<noinclude>
 +
This template formats a requirements page to make it look like one of the PDF's produced by Advent''Source''.
 +
==Parameters==
 +
;page: Page title of the honor's landing page.  If omitted, the template will assume the landing page is the first two elements of the page invoking it.
 +
;honorname: Name of the honor.  If omitted, the template will assume the second element of the page name is the honorname.
 +
;reqs: Requirements body - use the
 +
 +
<nowiki>{{reqreq|page=Landing Page Name|num=<requirement number>}}</nowiki>
 +
 +
To display the requirements correctly (listing all the requirements and indenting them as necessary).
 +
 +
Example:<br />
 +
 +
<nowiki>{{Requirement pdf|page=AY Honors/Amphibians|reqs=</nowiki><br />
 +
<nowiki>{{reqreq|page=AY Honors/Amphibians|num=1}}<br /></nowiki><br />
 +
<nowiki>{{reqreq|page=AY Honors/Amphibians|num=2}}<br /></nowiki><br />
 +
<nowiki>{{reqreq|page=AY Honors/Amphibians|num=3}}<br /></nowiki><br />
 +
<nowiki>{{reqreq|page=AY Honors/Amphibians|num=4}}<br /></nowiki><br />
 +
<nowiki>}}</nowiki>
 +
 +
{{Requirement pdf|page=AY Honors/Amphibians|reqs=
 +
{{reqreq|page=AY Honors/Amphibians|num=1}}<br />
 +
{{reqreq|page=AY Honors/Amphibians|num=2}}<br />
 +
{{reqreq|page=AY Honors/Amphibians|num=3}}<br />
 +
{{reqreq|page=AY Honors/Amphibians|num=4}}<br />
 +
}}
 +
</noinclude>
 +
<includeonly>
 
{|
 
{|
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
|rowspan="2"|[[File:Amphibians_Honor.png|200px]]
+
|rowspan="2"|[[File:{{GetHonorInsignia|page={{{page|{{BASEPAGENAME}}}}}}}|200px]]
|style="text-align:right" |<b><big><big>Backpacking</big></big><hr style="height:5px"/></b>
+
|style="text-align:right" |<b><big><big>{{#if:{{{honorname|}}}|{{{honorname}}}|{{#titleparts:{{{page|{{PAGENAME}}}}}|1|2}}}}</big></big><hr style="height:5px"/></b>
 
|-
 
|-
 
|style="text-align:left" |
 
|style="text-align:left" |
<b>{{reqreq|page=AY Honors/Amphibians|num=1}}<br />
+
{{{reqs|}}}
<b>{{reqreq|page=AY Honors/Amphibians|num=2}}<br />
+
<b><big>Skill Level {{GetSkillLevel|page={{{page|{{BASEPAGENAME}}}}}}}</big></b><br />
<b>{{reqreq|page=AY Honors/Amphibians|num=3}}<br />
+
<b>Original Honor {{GetHonorYear|page={{{page|{{BASEPAGENAME}}}}}}}</b>
<b>{{reqreq|page=AY Honors/Amphibians|num=4}}<br />
 
<br/>
 
<b><big>Skill Level 1</big></b><br />
 
<b>Original Honor 1976</b>
 
 
|-
 
|-
|<b><big>Recreation</big></b><br />
+
|<b><big>{{GetHonorCategory|page={{{page|{{BASEPAGENAME}}}}}}}</big></b><br />
<b>General Conference</b><br />
+
<b>{{GetHonorAuthority|page={{{page|{{BASEPAGENAME}}}}}}}</b><br />
 
|}
 
|}
 +
</includeonly>

Latest revision as of 20:51, 25 December 2020

This template formats a requirements page to make it look like one of the PDF's produced by AdventSource.

Parameters

page
Page title of the honor's landing page. If omitted, the template will assume the landing page is the first two elements of the page invoking it.
honorname
Name of the honor. If omitted, the template will assume the second element of the page name is the honorname.
reqs
Requirements body - use the

{{reqreq|page=Landing Page Name|num=<requirement number>}}

To display the requirements correctly (listing all the requirements and indenting them as necessary).

Example:

{{Requirement pdf|page=AY Honors/Amphibians|reqs=
{{reqreq|page=AY Honors/Amphibians|num=1}}<br />
{{reqreq|page=AY Honors/Amphibians|num=2}}<br />
{{reqreq|page=AY Honors/Amphibians|num=3}}<br />
{{reqreq|page=AY Honors/Amphibians|num=4}}<br />
}}


Amphibians AY Honor.png Amphibians

1. What are the characteristics of amphibians?
2. Name the two main orders of amphibia and tell how to distinguish between them.
3. Distinguish between toads and frogs.
4. How do amphibians protect themselves?
Skill Level
Original Honor