Jump to content

Module:If in category/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Usage: expand
calls an expensive function
Line 1: Line 1:
{{Module rating|beta}}
{{Module rating|beta}}
{{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 -->
This module implements {{t|if in category}}
This module implements {{t|if in category}}

Revision as of 16:06, 5 September 2024

This module implements {{if in category}}

Usage

{{#invoke:If in category| main | [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.