Difference between revisions of "Template:Requirement pdf"
From Pathfinder Wiki
Line 2: | Line 2: | ||
This template formats a requirements page to make it look like one of the PDF's produced by Advent''Source''. | This template formats a requirements page to make it look like one of the PDF's produced by Advent''Source''. | ||
==Parameters== | ==Parameters== | ||
− | ;page: Page title of the honor's landing page | + | ;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 | ;reqs: Requirements body - use the | ||
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 />
}}