Template:Bracket/doc: Difference between revisions

From Black Cat Studios
Jump to navigationJump to search
(Created page with "{{Documentation subpage}} {{COinS safe|n}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> 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=== * {{tlc|bracket|<nowiki>Wikipedia:Example</nowiki>}} → {{bracket|Wikipedia:Example}} * {{tlc|bracket}} → {{brac...")
 
(No difference)

Latest revision as of 16:07, 19 June 2023

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

Function

This template is a simple wrapper around the &#91; and &#93; HTML entities that produce starting and ending brackets, respectively.

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

This template is not necessary in Citation Style 1 templates. You can simply use square brackets, and they will be treated as ordinary text (and not wiki markup) when it constructs links.

See also


No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified