Toggle menu
15
236
73
27.6K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Transclusion count/doc: Difference between revisions

From Kenshi Wiki
Created page with "{{Module rating |beta}} {{high-use}} Fetches usage data for highly-transcluded templates. Uses bot-updated values from subpages of Module:Transclusion_count/data/ when available. == Usage == <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|fetch|''number of transclusions''|''use + notation''|all-pages=|demo=}}</code> * ''<code>number of transclusions</code>'': is a static number of times the template has been tr..."
 
No edit summary
Line 1: Line 1:
{{Module rating |beta}}
{{doc sub}}
{{high-use}}
Fetches usage data for highly-transcluded templates. Uses bot-updated values from [[Special:PrefixIndex/Module:Transclusion_count/data/|subpages of Module:Transclusion_count/data/]] when available.
Fetches usage data for highly-transcluded templates. Uses bot-updated values from [[Special:PrefixIndex/Module:Transclusion_count/data/|subpages of Module:Transclusion_count/data/]] when available.


Line 18: Line 17:
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Modules]]
}}</includeonly>
}}</includeonly><noinclude>
[[Category:Module documentation pages]]
</noinclude>

Revision as of 04:21, 25 February 2025

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.