Template:Cl/doc

From Angelina Jordan Wiki
Revision as of 21:49, 21 August 2025 by Most2dot0 (talk | contribs) (update)

Purpose

This template conditionally creates a wikilink only when both a target page and display text are provided. If either parameter is missing or empty, it outputs nothing.

The short name is {{cl}}, but it is sometimes referred to in documentation as ConditionalLink.

Usage

  • {{cl|Page|Text}} → Text
  • {{cl|Page}} → (nothing)
  • {{cl|Page|}} → (nothing)