FANDOM


Gets information about a page, e.g. if it has a category or list of cats in page.

Syntax

  • {{#invoke:pageinfo|hascat|<categoryname>|true|false|<page=pagename>}}
  • {{#invoke:pageinfo|hastemplate|<templatename>|true|false|<page=pagename>}}
  • {{#invoke:pageinfo|getcategories|<pagename>}}

Example

{{#invoke:pageinfo|hascat|stub|yes|no}} ->no

Notes

  • This is expensive ONLY if the {{{page}}} parameter refers to another page.
  • If the {{{page}}} parameter is ommited it will assume current page.