Module:If in category/doc explained

This module implements

Usage

If is omitted, the current page is used. If both the second and third unnamed parameters are omitted, the second unnamed parameter defaults to yes.