Template:Debug/doc
Jump to navigation
Jump to search
Usage
{{Debug}}
is a debugging template for testing how things (eg; Templates and Magic Words) will render on a live page version. By default the content is hidden using display: none
.
This is just a simple template that wraps content into a <div class="debug-content">...</div>
. It does not hide content from prying eyes that can look at the HTML.
The .debug-content
class is hidden by default, but can be seen in many ways:
- Using the Console Dev tools
- Interface admins will see it by default
- Users can copy the CSS below to their custom User css.
.debug-content {
display: block !important;
}
Syntax
{{Debug|debug-content}}
Examples
Hello there!
Heading 1 | Heading 2 |
---|---|
Column 1 | Column 2 |