Difference between revisions of "Template:GetHonorAuthority"

From Pathfinder Wiki
(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...")
(No difference)

Revision as of 04:32, 24 November 2020

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