Search results
Results from the WOW.Com Content Network
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.
{} prevents wraps unless the space is too narrow to display the text on one line. {{ inline block }} does the same and allows further style customization, but does not automatically add the "avoidwrap" CSS class.
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 ...
This code generates "page C‑2" just like the plain code "page C-2", but prevents a line break at the hyphen. However, like , the use of ‑ instead of "-" renders the source text harder to read and edit. Don't use it unless it is really necessary to avoid a line break.
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:
Tables Generator, a WYSIWYG table generator for Mediawiki markup; Wikitable Editor, a table editor of wiki code that outputs visual preview quickly; HTML2Wiki Converter at toolforge.org; HTML-WikiConverter, various versions and languages; pywikipediabot, can convert HTML tables to wiki; Table of CSS color names and HEX codes
This template can be used to cause an indentation after a linebreak, in unbulleted lists inside infoboxes and in tables with constrained cell widths, by using {{wbr}} between words in an entry, so that when they wrap they are not mistaken for separate entries.