Jump to content

Module:Transclusion count/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
high-use
add notice
Line 13: Line 13:


* Used to generate [[Wikipedia:Database reports/Templates transcluded on the most pages]].
* Used to generate [[Wikipedia:Database reports/Templates transcluded on the most pages]].

== Notices ==
* The number of transclusion count is generated via subpages of [[Special:PrefixIndex/Module:Transclusion count/data/|Module:Transclusion count/data]] when is avaliable and is automatically updated via a bot.
* This data, in turn is generated via the [https://templatecount.toolforge.org/index.php tool] and as of June 2022, LUA transclusions are not counted by that tool, for example, the "Don't edit this line XXX" templates used in [[Wikipedia:Automated taxobox system|automated taxobox system]]


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 08:57, 3 June 2022

Fetches usage data for highly-transcluded templates. Uses bot-updated values from subpages of Module:Transclusion_count/data/ when available.

Usage

{{#invoke:Transclusion count|fetch|number of transclusions|use + notation|all-pages=|demo=}}

  • number of transclusions: is a static number of times the template has been transcluded, to use when values cannot be read from the database. This value will be ignored if transclusion data is available for the current page.
  • demo=Template_name: will use the transclusion count for the template at Template:Template_name instead of detecting what template it is being used on. Capitalization must exactly match the value used in Special:PrefixIndex/Module:Transclusion_count/data/.

{{#invoke:Transclusion count|tabulate}}

Notices

  • The number of transclusion count is generated via subpages of Module:Transclusion count/data when is avaliable and is automatically updated via a bot.
  • This data, in turn is generated via the tool and as of June 2022, LUA transclusions are not counted by that tool, for example, the "Don't edit this line XXX" templates used in automated taxobox system