Template:Markup/testcases

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
{{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

{{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

(Backgrounds added here, not by or via template)

No parameters

Markup Renders as
<s>xxxxx</s>

xxxxx

title=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}}

is geocentric

Row-height examples

No style changes

{{markup|col2=Output

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

{{markup|col2=Output|col1style=padding:0|col2style=padding:0

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

{{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

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

{| class="wikitable"

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

{{Markup|<nowiki>{{payoff matrix | UL = 5 | UR = 7 | DL = 2 | DR = 9 | Name = Example usage }}</nowiki>|{{payoff matrix | UL = 5 | UR = 7 | DL = 2 | DR = 9 | Name = Example usage }}}}
{{Markup}}
Markup Renders as
{{payoff matrix | UL = 5 | UR = 7 | DL = 2 | DR = 9 | Name = Example usage }}
Left Right
Up 5 7
Down 2 9
Example usage
{{Markup/sandbox}}
Markup Renders as
{{payoff matrix | UL = 5 | UR = 7 | DL = 2 | DR = 9 | Name = Example usage }}
Left Right
Up 5 7
Down 2 9
Example usage

With nowiki tags inside the code example, syntaxhighlight on

{{Markup|1=
{| class="wikitable"
|+ Most-commonly-used parameters in horizontal format
|- style="vertical-align:top;"
|
:<code>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}</code>

|}
 |tag=syntaxhighlight}}

{{Markup}}

Markup Renders as
{| class="wikitable"
|+ Most-commonly-used parameters in horizontal format
|- style="vertical-align:top;"
|
:<code>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}</code>

|}

{{Markup/sandbox}}

Markup Renders as
{| class="wikitable" |+ Most-commonly-used parameters in horizontal format |- style="vertical-align:top;" | :<code>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}</code> |}

Old version using internal syntaxhighlight tags, to show that the legacy pre-Parsoid parser works

{{Markup|
{{csdoc|usage common}}
:<code><nowiki>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}</nowiki></code>
{{end}}
|2= {| class="wikitable" |+ Most-commonly-used parameters in horizontal format |- style="vertical-align:top;" | :<code>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}</code> |} |tag=div}}

{{Markup}}

Markup Renders as
{{csdoc|usage common}}
:<code><nowiki>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}</nowiki></code>
{{end}}
Most-commonly-used parameters in horizontal format
{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}

{{Markup/sandbox}}

Markup Renders as
{{csdoc|usage common}}
:<code><nowiki>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}</nowiki></code>
{{end}}
Most-commonly-used parameters in horizontal format
{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.