Search results
Results From The WOW.Com Content Network
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.
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.
Interlanguage links are NOT visible within the formatted article, but instead appear as language links on the sidebar (to the left) under the menu section "languages". NOTE: To create an inline link (a clickable link within the text) to any foreign language article, see Help:Interlanguage links#Inline interlanguage links and consider the usage ...
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 content from a template titled Template:foo can be added into a Wikipedia page by editing a page and typing {{foo}} into it. When then viewing the page, {{foo}} is automatically replaced by the content of the page "Template:foo". If the page "Template:foo" is later altered, all the pages with {{foo}} in them will change automatically.
The code inside this file will be executed as if it was inside your personal script. You can edit your wikipediatest.js file with any text editor, perhaps with syntax highlighting and other convenient features, save the file and simply reload any Wikipedia page to see the results.
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: