Template:Markup/testcases
![]() | This is the template test cases page for the sandbox of Template:Markup. 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 and parsers with these links: |
__EXPECTUNUSEDTEMPLATE__
Comparisons
{{Markup}}
Markup | Output |
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Markup/sandbox}}
Markup | Output
|
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth
|
{{Markup}}
Markup | Output |
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Markup/sandbox}}
Markup | Output
|
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth
|
{{Markup}}
Markup | Output |
---|---|
<syntaxhighlight lang="wikitext" inline="1" style="margin:0; border:none; padding:0; word-wrap:break-word; white-space:-moz-pre-wrap; white-space:-o-pre-wrap; white-space:-pre-wrap; white-space:pre-wrap; ">{{Ordinal to word|-999999}}</syntaxhighlight> | negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Markup/sandbox}}
Markup | Output
|
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth
|
{{Markup}}
Markup | Output |
---|---|
{{Ordinal to word|-999999}}
|
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Markup/sandbox}}
Markup | Output
|
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth
|
{{Markup}}
Markup | Output |
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Markup/sandbox}}
Markup | Output
|
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth
|
{{Markup}}
Markup | Output |
---|---|
{{Ordinal to word|-999999}} | negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Markup/sandbox}}
Markup | Output
|
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth
|
Sandbox
(Backgrounds added here, not by or via template)
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}} |
|
Row-height examples
No style changes
<syntaxhighlight lang="text" class="" style="" inline="1">{{markup|col2=Output</syntaxhighlight>
Markup | Output |
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Ordinal to word|-1001|us=on}} |
negative one thousand first |
{{Ordinal to word|-100}} |
negative one hundredth |
{{Ordinal to word|-30}} |
negative thirtieth |
{{Ordinal to word|0|zeroth=not a sausage}} |
not a sausage |
{{Ordinal to word|30}} |
thirtieth |
{{Ordinal to word|100}} |
one hundredth |
{{Ordinal to word|1001|us=on}} |
one thousand first |
{{Ordinal to word|999999}} |
nine hundred ninety-nine thousand nine hundred and ninety-ninth |
Reduced padding
<syntaxhighlight lang="text" class="" style="" inline="1">{{markup|col2=Output|col1style=padding:0|col2style=padding:0</syntaxhighlight>
Markup | Output |
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Ordinal to word|-1001|us=on}} |
negative one thousand first |
{{Ordinal to word|-100}} |
negative one hundredth |
{{Ordinal to word|-30}} |
negative thirtieth |
{{Ordinal to word|0|zeroth=not a sausage}} |
not a sausage |
{{Ordinal to word|30}} |
thirtieth |
{{Ordinal to word|100}} |
one hundredth |
{{Ordinal to word|1001|us=on}} |
one thousand first |
{{Ordinal to word|999999}} |
nine hundred ninety-nine thousand nine hundred and ninety-ninth |
All the style parameters I can think to set
<syntaxhighlight lang="text" class="" style="" inline="1">{{markup|col2=Output|col1style=padding:0;margin=0;line-height=1|col2style=padding:0;margin=0;line-height=1|c1style=padding:0;margin=0;line-height=1|c2style=padding:0;margin=0;line-height=1|codestyle=padding:0;margin=0;line-height=1|outputstyle=padding:0;margin=0;line-height=1|style=padding:0;margin=0;line-height=1</syntaxhighlight>
Markup | Output |
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Ordinal to word|-1001|us=on}} |
negative one thousand first |
{{Ordinal to word|-100}} |
negative one hundredth |
{{Ordinal to word|-30}} |
negative thirtieth |
{{Ordinal to word|0|zeroth=not a sausage}} |
not a sausage |
{{Ordinal to word|30}} |
thirtieth |
{{Ordinal to word|100}} |
one hundredth |
{{Ordinal to word|1001|us=on}} |
one thousand first |
{{Ordinal to word|999999}} |
nine hundred ninety-nine thousand nine hundred and ninety-ninth |
Simple table
<syntaxhighlight lang="text" class="" style="" inline="1">{| class="wikitable"</syntaxhighlight>
Markup | Output |
---|---|
{{Ordinal to word|-999999}} |
negative nine hundred ninety-nine thousand nine hundred and ninety-ninth |
{{Ordinal to word|-1001|us=on}} |
negative one thousand first |
{{Ordinal to word|-100}} |
negative one hundredth |
{{Ordinal to word|-30}} |
negative thirtieth |
{{Ordinal to word|0|zeroth=not a sausage}} |
not a sausage |
{{Ordinal to word|30}} |
thirtieth |
{{Ordinal to word|100}} |
one hundredth |
{{Ordinal to word|1001|us=on}} |
one thousand first |
{{Ordinal to word|999999}} |
nine hundred ninety-nine thousand nine hundred and ninety-ninth |
With a table-generating template in the second parameter
<syntaxhighlight lang=wikitext>
Markup | Renders as | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{payoff matrix | UL = 5 | UR = 7 | DL = 2 | DR = 9 | Name = Example usage }} |
| ||||||||||||
</syntaxhighlight>
{{Markup}} | ||||||||||||||||||
| ||||||||||||||||||
{{Markup/sandbox}} | ||||||||||||||||||
|- |style="border-width:1px;border-style: none none none;border-color:#ddd; padding:5px; vertical-align:top;"| |style="border-width:1px;border-style: none none none;border-color:#ddd; padding:5px; vertical-align:top;"| |} |