Template:Bracket/doc

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search

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