Fandom

Wikia Developers Wiki

Global Lua Modules/Pagestats

< Global Lua Modules

909pages on
this wiki
Add New Page
Talk0 Share
Shows some stats about a page.

Syntax

  • {{#invoke:pagestats|main|page=pagename|stats=option}}

Where option can be any or all of following (separated by commas):

  • templates
  • words
  • tables
  • references
  • links


Example

{{#invoke:pagestats|main|stats=words}} ->
StatsCount
words84

Notes

  • This is expensive ONLY if the {{{page}}} parameter refers to another page.
  • If the {{{page}}} parameter is omited 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.