Template:Bracket/doc

Revision as of 10:36, 21 April 2022 by wikipedia>CapnZapp (→‎Function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template provides way to wrap wiki markup in (single) square brackets. More importantly, it helps to keep the markup free of line noise and thus easier to edit.

Usage

  • {{bracket|[[Wikipedia:Example]]}} → [Wikipedia:Example]
  • {{bracket}} → [

Function

This template is a simple wrapper around the [ and ] HTML entities that produce starting and ending brackets, respectively.

The template cannot output just an ending bracket. You will have to use ] to produce the "]" ending bracket.

See also


No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified