Template:Cl/doc
From Angelina Jordan Wiki
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)