Template:Allow wrap

From Nordic Larp Wiki
Revision as of 12:57, 13 December 2015 by en>Graeme Bartlett (Changed protection level of Template:Allow wrap: Highly visible template ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only administrators] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{1}}}

Template documentation[view] [edit] [history] [purge]
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Allow wrap

Template to allow an exception to the ambient nowrap in navboxes; idea is that list items over, say, 60 characters warrant an exception to prevent page widening.
Test of raw TemplateData output:

Template to allow an exception to the ambient nowrap in navboxes; idea is that list items over, say, 60 characters warrant an exception to prevent page widening.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

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.
  • {{Allow 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.
  • Wikipedia: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.