Search results
Results From The WOW.Com Content Network
This template is used on approximately 650,000 pages, or roughly 1% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage.
As seen on page C‑2 of the newspaper. 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.
bodyContent – the main page content within the content box; The portlet class is the style used by all the div blocks around the main content. Identified blocks using that class: p-cactions – id for the list of page-related tabs above the main content (page, talk, edit, etc.), top.
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 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 ...
Template:Columns-list turns a list into a list with columns. It is a wrapper for {{ div col }} , except it wraps the template by allowing for the content to be in the template rather than above and below.
Here, linebreaks still cannot occur inside the list item, even if they are inside <pre>, and the HTML comment trick does not work inside <pre>, which is why this technique is only suitable for short code examples. For longer ones, see the <syntaxhighlight> MediaWiki tag. The HTML comment trick does work between elements inside the same list item:
The "What links here" page body has selector body.page-Special_Whatlinkshere, so for example we can use the CSS body.page-Special_Whatlinkshere ul { list-style: decimal } to number the backlinks. It is possible to obtain the list of backlinks (with additional information) programmatically using the MediaWiki API.