Template:Normalwraplink

[[{{{1}}}|{{{1}}}]]

Template documentation[view] [edit] [history] [purge]

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Normalwraplink

This template can be used within {{sidebar}} to wrap links which are normally not broken by whitespace, such as in the title.

{{wraplink|link|title}}
ParameterDescriptionTypeStatus
Link1
The target page
Pagerequired
Display text2
The text displayed as the link. Defaults to the page name (i.e. like normal piping).
Lineoptional
Test of raw TemplateData output:

This template can be used within {{sidebar}} to wrap links which are normally not broken by whitespace, such as in the title.,

Template parameters

ParameterDescriptionTypeStatus
Link1

The target page

Pagerequired
Display text2

The text displayed as the link. Defaults to the page name (i.e. like normal piping).

Lineoptional

See also

  • {{nowrap}} prevents wrapping within a single template (i.e. not suitable for relatively complex or lengthy content).
  • {{nowraplinks}}...{{nowraplinks end}} prevents wraps inside links while allowing wraps between links and in normal text. Very useful for link lists and easy to use.
  • {{nowrap begin}}...{{nowrap end}} prevents wraps in both text and links. For the trickier wrapping cases when you need full control, for instance in very complex link lists.
  • {{spaces}} to produce multiple non-breaking spaces (or a single one).
  • {{inline block}} affects, but does not entirely prevent, line wrapping.
  • {{wrap}} can be used to provide a (brief) exception within a no-wrapping area.
    • {{normalwraplink}} allows links to wrap when they otherwise would not.
  • {{·}} and {{•}}, spaced and wrap-sensitive interpunct (dot) and bullet.
  • Help:Line-break handling, the how-to guide about word/line-wrapping/breaks at Wikipedia.
    • In particular, to avoid line wrapping when quoting a passage such as a poem or computer code, see {{Quote#Line breaks}} - e.g. Template:Blockquote with "poem" tag.