Template:Cl/doc

From Angelina Jordan Wiki
Revision as of 22:32, 21 August 2025 by Most2dot0 (talk | contribs) (Usage: updated for use of U+2063)

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.

cl (ConditionalLink) Template

Overview

Creates a wikilink when both a target page and display text are provided. If the display text contains the invisible sentinel (U+2063), it outputs nothing.

The short name is {{cl}}. It is sometimes referred to as ConditionalLink.

Usage

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