Template:GetHonorLandingPage
From Pathfinder Wiki
Revision as of 18:45, 5 September 2021 by DesignerThan (talk | contribs) (- removed linebreak after the result and updated example to fit the new honor structure)
This template returns the page title of an honor's main landing page. It accepts a page argument which can be any subpage of an honor, and it can also be any variant of an honor. If no page argument is given, it can accept an honor instead. If neither a page nor an honor argument is supplied, the template will assume it is being invoked from an honor page or subpage.
The page the template returns is the master source of metadata for the honor.
- {{GetHonorLandingPage}} → GetHonorLandingPage
- {{GetHonorLandingPage|page=AY Honors/Cycling/Requirements}} → AY Honors/Cycling
- {{GetHonorLandingPage|page=AY Honors/Cycling/Requirements/es}} → AY Honors/Cycling
- {{GetHonorLandingPage|page=AY Honors/Currency/Answer Key 2}} → AY Honors/Currency
- {{GetHonorLandingPage|honor=Camping Skills III}} → AY Honors/Camping Skills III
- {{GetHonorLandingPage|honor=Animal Tracking}} → AY Honors/Animal Tracking