Difference between revisions of "Template:Code/testcases"
Jump to navigation
Jump to search
imported>Matt Fitzpatrick (id test) |
imported>Edokter |
||
| Line 5: | Line 5: | ||
<small>[[Template:Code]]</small> | <small>[[Template:Code]]</small> | ||
| − | {{code|lang=html|id=html-summary|style=font-size:120%;| | + | {{code|lang=html|class=generic-class|id=html-summary|style=font-size:120%;| |
<html> <head> <title>...</title> </head> <body>...</body> </html> | <html> <head> <title>...</title> </head> <body>...</body> </html> | ||
}} | }} | ||
| Line 16: | Line 16: | ||
<small>[[Template:Code/sandbox]]</small> | <small>[[Template:Code/sandbox]]</small> | ||
| − | {{code/sandbox|lang=html|id=html-summary|style=font-size:120%;| | + | {{code/sandbox|lang=html|class=generic-class|id=html-summary|style=font-size:120%;| |
<html> <head> <title>...</title> </head> <body>...</body> </html> | <html> <head> <title>...</title> </head> <body>...</body> </html> | ||
}} | }} | ||
Revision as of 10:55, 8 April 2016
| This is the template test cases page for the sandbox of Template:Code. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Live version
<html> <head> <title>...</title> </head> <body>...</body> </html>
Most HTML elements are enclosed between a start tag and an end tag, such as <p>...</p>. Some are not, such as <br>.
Sandbox version
<html> <head> <title>...</title> </head> <body>...</body> </html>
Most HTML elements are enclosed between a start tag and an end tag, such as <p>...</p>. Some are not, such as <br>.
Testing sandbox version
Fontsize in FF:
- Plain
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- {{code}}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<code>...</code>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- syntaxhighlight
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- source
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- font-family:monospace; only
- Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.