Template:GetHonorAuthority

From Pathfinder Wiki
Revision as of 04:32, 24 November 2020 by Jomegat (talk | contribs) (Created page with "<noinclude> This template will return the approval authority of an honor page or if it can't tell, then returns Unknown. It relies on the CategoryTests extension, which also h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template will return the approval authority of an honor page or if it can't tell, then returns Unknown. It relies on the CategoryTests extension, which also has a #switchcategory parser, and supposedly, that parser function will let you specify a page other than the one from which it is invoked - but the documentation on how to specify that is woefully inadequate. Instead, this just uses nested if statements. Note that the number of {{{page}}} tags at the end has to equal the number of #ifcategory statements. Yes... it's ugly.

Unknown