Module:If in category/doc: Difference between revisions
Appearance
Content deleted Content added
HouseBlaster (talk | contribs) improve doc |
HouseBlaster (talk | contribs) high use |
||
Line 1: | Line 1: | ||
{{Module rating|beta}} |
{{Module rating|beta}} |
||
{{High-use}} |
|||
{{Expensive}} |
{{Expensive}} |
||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
Revision as of 22:32, 5 September 2024
![]() | This Lua module is used on approximately 170,000 pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages, or in your own module sandbox. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
![]() | Due to a server limit of 500 "expensive parser function" calls (e.g. #ifexist:, PAGESIZE:, and PAGESINCATEGORY:), this module will only work properly if the page using it has not already exceeded the limit. When the limit is exceeded, the page using this template or module is categorised in Category:Pages with too many expensive parser function calls. (further information) |
This module implements {{if in category}}
Usage
{{if in category | [category] | [result if true] | [result if false] | page = [page] }}
If |page=
is omitted, the current page is used. If both the second and third unnamed parameters are omitted, the second unnamed parameter defaults to yes.