Difference between revisions of "Template:Markup/testcases"
imported>Gadget850 |
imported>Petr Matas (+ Multiline paragraphs) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
===No parameters=== | ===No parameters=== | ||
| − | <div style="background: | + | <div style="background:papayawhip;"> |
{{Markup/sandbox | {{Markup/sandbox | ||
| <s>xxxxx</s> | | <s>xxxxx</s> | ||
| Line 14: | Line 14: | ||
===''title''=title=== | ===''title''=title=== | ||
| − | <div style="background: | + | <div style="background:papayawhip;"> |
{{Markup/sandbox | {{Markup/sandbox | ||
|title=title | |title=title | ||
| Line 23: | Line 23: | ||
===''margin-left''=5.0em=== | ===''margin-left''=5.0em=== | ||
| − | <div style="background: | + | <div style="background:papayawhip;"> |
{{Markup/sandbox | {{Markup/sandbox | ||
|margin-left=5.0em | |margin-left=5.0em | ||
| Line 31: | Line 31: | ||
</div> | </div> | ||
====''margin''=5.0em==== | ====''margin''=5.0em==== | ||
| − | <div style="background: | + | <div style="background:papayawhip;"> |
{{Markup/sandbox | {{Markup/sandbox | ||
|margin=5.0em | |margin=5.0em | ||
| Line 40: | Line 40: | ||
===Linewrapping=== | ===Linewrapping=== | ||
| − | <div style="background: | + | <div style="background:papayawhip;"> |
{{Markup/sandbox | {{Markup/sandbox | ||
| xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
| xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | ||
| + | }} | ||
| + | </div> | ||
| + | |||
| + | ===Multiline paragraphs=== | ||
| + | <div style="background:papayawhip;"> | ||
| + | {{Markup/sandbox | ||
| + | | A single newline here | ||
| + | has no effect on the layout. | ||
| + | | A single newline here | ||
| + | has no effect on the layout. | ||
}} | }} | ||
</div> | </div> | ||
===''codestyle''=font-size:95%;=== | ===''codestyle''=font-size:95%;=== | ||
| − | <div style="background: | + | <div style="background:papayawhip;"> |
{{Markup/sandbox | {{Markup/sandbox | ||
|codestyle=font-size:95%; | |codestyle=font-size:95%; | ||
| Line 57: | Line 67: | ||
===''noheaders''=== | ===''noheaders''=== | ||
| − | <div style="background: | + | <div style="background:papayawhip;"> |
{{Markup/sandbox | {{Markup/sandbox | ||
|noheaders=on | |noheaders=on | ||
| Line 66: | Line 76: | ||
===''col1''=col1 ''col2''=col2=== | ===''col1''=col1 ''col2''=col2=== | ||
| − | <div style="background: | + | <div style="background:papayawhip;"> |
{{Markup/sandbox | {{Markup/sandbox | ||
|col1=col1 |col2=col2 | |col1=col1 |col2=col2 | ||
| Line 73: | Line 83: | ||
}} | }} | ||
</div> | </div> | ||
| + | |||
| + | ===''col1/2headerstyle'', ''markupstyle''=== | ||
| + | <div style="background:papayawhip;"> | ||
| + | {{Markup/sandbox | ||
| + | |col1headerstyle=text-align:left; |col2headerstyle=font-variant:small-caps; | ||
| + | | <nowiki>{{strike|is geocentric}}</nowiki> | ||
| + | | {{strike|is geocentric}} | ||
| + | }} | ||
| + | </div> | ||
| + | {{clear}} | ||
| + | <!-- | ||
| + | == [[Template:Markup|Current]] and [[Template:Markup/sandbox|sandbox]] == | ||
===Table=== | ===Table=== | ||
| − | {{ | + | {{Markup |
| + | |title=current | ||
|1=<nowiki> | |1=<nowiki> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 100: | Line 123: | ||
}} | }} | ||
| − | {{ | + | {{Markup/sandbox |
| + | |title=sandbox | ||
|1=<nowiki> | |1=<nowiki> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 124: | Line 148: | ||
|} | |} | ||
}} | }} | ||
| + | --> | ||
Latest revision as of 22:13, 15 December 2015
| 42px | This is the template test cases page for the sandbox of Template:Markup. 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: |
(Backgrounds added here, not by or via template)
Contents
Sandbox
No parameters
| Markup | Renders as |
|---|---|
<s>xxxxx</s> |
|
title=title
| Markup | Renders as |
|---|---|
x |
x |
margin-left=5.0em
| Markup | Renders as |
|---|---|
x |
x |
margin=5.0em
| Markup | Renders as |
|---|---|
x |
x |
Linewrapping
| Markup | Renders as |
|---|---|
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
Multiline paragraphs
| Markup | Renders as |
|---|---|
A single newline here has no effect on the layout. |
A single newline here has no effect on the layout. |
codestyle=font-size:95%;
| Markup | Renders as |
|---|---|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
noheaders
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
col1=col1 col2=col2
| col1 | col2 |
|---|---|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. |
col1/2headerstyle, markupstyle
| Markup | Renders as |
|---|---|
{{strike|is geocentric}}
|
|