Search results
Results from the WOW.Com Content Network
packed-hover Like packed-overlay, but caption is only visible on hover (degrades gracefully on screen readers, and falls back to packed-overlay if a touch screen is used) slideshow Slideshow caption= Adds an overall caption (or title) above the gallery; for multiple words, enclose in double quotes
See Wikipedia:Catalogue of CSS classes. dir: text direction— "ltr" (left-to-right), "rtl" (right-to-left) or "auto". id: unique identifier for the element. lang: primary language for the contents of the element per BCP 47. style: applies CSS styling to the contents of the element. title: advisory information associated with the element.
This template takes two parameters, and creates underlined text with a hover box for many modern browsers supporting CSS: {{Tooltip | Hover your mouse over this text | This is the hover text}} Go to this page to see the Tooltip template itself: {{tl | Tooltip}}
For lines of CSS which should be different on different MediaWiki projects, e.g. for a different background color for easy distinction, clearly the local CSS cannot be used; at least these lines should be put in the user subpages.
MediaWiki:Common.css, MediaWiki:Print.css (hidden when printed from articles) {} meta-template that is used to create most article message boxes. autocomment Used for the section bits in edit summaries, i.e. the part between /* and */ on watchlist and rc pages. common/shared.css: includes/Linker.php: autonumber
Style may be chosen specifically for a piece of content, see e.g., color; scope of parameters Alternatively, style is specified for CSS selectors, expressed in terms of elements, classes, and ID's.
{{CSS and JS MediaWiki messages | state = expanded}} will show the template expanded, i.e. fully visible. {{ CSS and JS MediaWiki messages | state = autocollapse }} will show the template autocollapsed, i.e. if there is another collapsible item on the page (a navbox, sidebar , or table with the collapsible attribute ), it is hidden apart from ...
These are typically built into browsers, in their DevTools window. Debuggers allow you to step debug (go through your JavaScript code line-by-line, hover over variables to see their values, etc.) Firefox - use Tools → JavaScript Console showing all JavaScript and CSS errors. Chrome and Edge - use Tools → Developer Tools.