Wikia Developers Wiki

Global Lua Modules/Pageinfo

< Global Lua Modules

846pages on
this wiki
Add New Page
Talk3 Share
Gets information about a page, e.g. if it has a category or list of cats in page.


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


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


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

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.