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>...") |
|||
| 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 | ||
| + | ;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: | + | |rowspan="2"|[[File:{{GetHonorInsignia|page={{{page|{{BASEPAGENAME}}}}}}}|200px]] |
| − | |style="text-align:right" |<b><big><big> | + | |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" | | ||
| − | + | {{{reqs|}}} | |
| − | < | + | <b><big>Skill Level {{GetSkillLevel|page={{{page|{{BASEPAGENAME}}}}}}}</big></b><br /> |
| − | + | <b>Original Honor {{GetHonorYear|page={{{page|{{BASEPAGENAME}}}}}}}</b> | |
| − | |||
| − | |||
| − | |||
| − | <b>Original Honor | ||
|- | |- | ||
| − | |<b><big> | + | |<b><big>{{GetHonorCategory|page={{{page|{{BASEPAGENAME}}}}}}}</big></b><br /> |
| − | <b> | + | <b>{{GetHonorAuthority|page={{{page|{{BASEPAGENAME}}}}}}}</b><br /> |
|} | |} | ||
| + | </includeonly> | ||
Revision as of 20:30, 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
- 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 />
}}
