Search results
Results from the WOW.Com Content Network
{{inline block}} does the same and allows further style customization, but does not automatically add the "avoidwrap" CSS class. {{ spaces }} produces multiple non-breaking spaces (or a single one). {{ wrap }} can be used to provide a (brief) exception within a no-wrapping area.
The actual code that does the job is this CSS code in Common.css. . nowraplinks a , . nowraplinks . selflink { white-space : nowrap ; } It simply means that any white-space inside links (HTML A tags) and bold "links" to the page itself are not allowed to wrap.
The nowrap behaviour implemented by the {{nowrap}} set has been made ambient, while hlist provides a more appropriate structure and improved accessibility. Helper templates This template has a number of helper templates which allows you to tell the web browser exactly where line breaks may occur:
Using the CSS display property, the container can be defined as either flex or inline-flex. Flex item Any direct child element held within the flex container is considered a flex item. Any text within the container element is wrapped in an unknown flex item. Axes Each flex box contains two axes: the main and cross axes.
The actual code that does the job is this CSS code in Common.css. . nowraplinks a , . nowraplinks . selflink { white-space : nowrap ; } It simply means that any white-space inside links (HTML A tags) and bold "links" to the page itself are not allowed to wrap.
Template:Nowrap is permanently protected from editing because it is a heavily used or highly visible template.Substantial changes should first be proposed and discussed here on this page.
Prevents word wraps (line breaks) within text or inside a link which contains spaces or hyphens (-). Template parameters [Edit template data] Parameter Description Type Status Text 1 Text or link to be protected. String required See also view talk edit {{ nowrap }} prevents wrapping within a single template (i.e. not suitable for relatively complex or lengthy content). {{ nowraplinks ...
In particular, to avoid line wrapping when quoting a passage such as a poem or computer code, see Template:Quote § Line breaks – e.g. Template:Blockquote with "poem" tag. The above documentation is transcluded from Template:Wrap/doc .