Difference between revisions of "Template:Markup/testcases"
Jump to navigation
Jump to search
imported>Sardanaphalus (→Sandbox: headings; added margin-left, noheaders and col1/col2 tests) |
imported>Gadget850 (table) |
||
| Line 3: | Line 3: | ||
(Backgrounds added here, not by or via template) | (Backgrounds added here, not by or via template) | ||
| − | == [[Template:Markup/sandbox|Sandbox]] == | + | ==[[Template:Markup/sandbox|Sandbox]]== |
===No parameters=== | ===No parameters=== | ||
| Line 73: | Line 73: | ||
}} | }} | ||
</div> | </div> | ||
| + | |||
| + | ===Table=== | ||
| + | {{markup|title=current | ||
| + | |1=<nowiki> | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Header text !! Header text !! Header text | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |}</nowiki> | ||
| + | |2= | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Header text !! Header text !! Header text | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |} | ||
| + | }} | ||
| + | |||
| + | {{markup/sandbox|title=sandbox | ||
| + | |1=<nowiki> | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Header text !! Header text !! Header text | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |}</nowiki> | ||
| + | |2= | ||
| + | {| class="wikitable" | ||
| + | |- | ||
| + | ! Header text !! Header text !! Header text | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |- | ||
| + | | Example || Example || Example | ||
| + | |} | ||
| + | }} | ||
Revision as of 12:43, 14 December 2014
| 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 |
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. |
Table
| Markup | Renders as |
|---|---|
- ! Header text !! Header text !! Header text |
- |
Example |
|
Example |
|
Example |
- |
Example |
|
Example |
|
Example |
- |
Example |
|
Example |
|
Example |
} |
| Markup | Renders as |
|---|---|
- ! Header text !! Header text !! Header text |
- |
Example |
|
Example |
|
Example |
- |
Example |
|
Example |
|
Example |
- |
Example |
|
Example |
|
Example |
} |