Difference between revisions of "Template:GetHonorLandingPage"
From Pathfinder Wiki
DesignerThan (talk | contribs) m (DesignerThan moved page Template:GetLandingPage to Template:GetHonorLandingPage without leaving a redirect: This name is better fitting) |
DesignerThan (talk | contribs) |
||
Line 6: | Line 6: | ||
The page the template returns is the master source of metadata for the honor. | The page the template returns is the master source of metadata for the honor. | ||
− | *<nowiki>{{</nowiki> | + | *<nowiki>{{</nowiki>GetHonorLandingPage}} → {{GetHonorLandingPage}} |
− | *<nowiki>{{</nowiki> | + | *<nowiki>{{</nowiki>GetHonorLandingPage|page=AY Honors/Cycling/Requirements}} → {{GetHonorLandingPage|page=AY Honors/Cycling/Requirements}} |
− | *<nowiki>{{</nowiki> | + | *<nowiki>{{</nowiki>GetHonorLandingPage|page=AY Honors/Cycling/Requirements/es}} → {{GetHonorLandingPage|page=AY Honors/Cycling/Requirements/es}} |
− | *<nowiki>{{</nowiki> | + | *<nowiki>{{</nowiki>GetHonorLandingPage|page=AY Honors/Currency (United States)/Answer Key}} → {{GetHonorLandingPage|page=AY Honors/Currency (United States)/Answer Key}} |
− | *<nowiki>{{</nowiki> | + | *<nowiki>{{</nowiki>GetHonorLandingPage|honor=Camping Skills III}} → {{GetHonorLandingPage|honor=Camping Skills III}} |
− | *<nowiki>{{</nowiki> | + | *<nowiki>{{</nowiki>GetHonorLandingPage|honor=Animal Tracking (General Conference)}} → {{GetHonorLandingPage|honor=Animal Tracking (General Conference)}} |
</noinclude> | </noinclude> |
Revision as of 22:43, 23 March 2021
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 (United States)/Answer Key}} → AY Honors/Currency
- {{GetHonorLandingPage|honor=Camping Skills III}} → AY Honors/Camping Skills III
- {{GetHonorLandingPage|honor=Animal Tracking (General Conference)}} → AY Honors/Animal Tracking